on 11-20-2009 5:42 PM
Hello experts,
I have one workflow element ( multiline ) inside workflow container.
The multiline element gets populated after a method call in a previous step.
Now I want to play around with the data of this multiline element.
Say, I want to create a step of email with this data.
How do I ---
1. access only say 2nd and 4th column of this multiline element (which has say 10 columns and 10 rows of data populated from previous step ) and send it in mail ? In mail I see only the first row or the whole
body of the multiline element as variables in 'insert expression'.
2. access the last two rows of the table ( multilne element ) and send only these two lines in mail?
3. add the numerical values of all the rows ? or specific rows ?
I know there is a 'Container operation' step but it does n't seem to help the above requirements( or at best the mathematical calcs.)
Thanks for all the help,
~ abaper
You can use FM
SAP_WAPI_READ_CONTAINER
SAP_WAPI_WRITE_CONTAINER
to play around with this elements.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
[Check this Blog too|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16579] [original link is broken] [original link is broken] [original link is broken];
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi TA,
probably create an Activity step before the SendMail Step, and inside the Activity step use a method, which in turn uses macros like SWC_GET_ELEMENT, SWC_SET_ELEMENT, SWC_GET_TABLE, SWC_SET_TABLE and manipulate the data, along with the FM's Arghadip suggested.
Hope it helps.
Aditya
Edited by: Aditya Varrier on Nov 23, 2009 4:32 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.