Here I'm going to cover Test cases.
Input IDoC XML payload: PI received 2 IDocs in a package
Output Mail generated :
While doing this scenario a common doubt will be raised ,i.e "What if the length of the text is more ,does it gets skipped or will be populated ?"
Here is the answer:It automatically gets adjusted and populates the text .
Here is the link for navigation to Part1