We have a requirement, where after goods issue, an email in HTML format will be triggered to customer with the list of all items and relevant batch details.
Do we need to define the fields in the container as what fields needs to be displayed in the email? Since I don't know the number of items or batches that my delivery can have, how can I pre define the number of items or batches?
HTML mail will be difficult with Alert Framework.
There is a Badi available with that you can try it. Search in the forum here.
You can use a Control or Info Parameter with Indexed Values and in the Alert Framework config set the flag for Multiline. Then you can have a table of your batch numbers.