on 06-26-2009 6:09 AM
Hi everyone, i use task sendmail, I want pass the contents of internal table MB_ITAB into body of message. In the property of task Mail, I wrote &MB_ITAB& but in output I have only the first line of internal table; naturally if write
&mb_itab[1]&,
&mb_itab[2]&,
&mb_itab[3]&,
&mb_itab[4]&,
&mb_itab[5]&,
&mb_itab[6]&,
in output I have the contents of internal table.
How can bind the complete contents ?
Thanks a lot,
Hi,
Check the properties container element ' MB_ITAB ' as Multiline or not
and also refere container element like &mb_itab[]& check.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Barry,
To display the contents of the internal table MB_ITAB in the mail, create a multiline container element same as that in the workflow container in the sendmail step. As you must be familiar, a task is created in the template when you insert a sendmail step. Open the task in tcode PFTC or PFTC_CHG, create a multiline container which is of type MB_ITAB in the task container and save it. Then open the template and bind the table elements of workflow container and task container of the sendmail step.
Once everything is fine, insert the table in the body of the mail. While inserting a multiline container element, the system will ask to as to how do you want to display the contents. Select the option of displaying all the entries with a line separator. This will display the contents of MB_ITAB line by line.
Hope this will help.
Thanks,
Samson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
try using &mb_itab[]& .
Whn u try to edit any task description, you wil get 3 options for dispalying the table content .So try this.
Hope it works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I hope the container element in the task container that yo have binded from workflow to Task container is multiline. Please check that and test after refreshing the buffer from SWU_OBUF.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.