Showing results for 
Search instead for 
Did you mean: 

play with workflow container data

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use FM



to play around with this elements.



Former Member
0 Kudos

Thanks Argha, but where do I write the code ?

Do i need to write a method or attributes in the BO ?

Can't it be done in the standard BO itself ?

Please guide me, Thanks a lot, Argha,

bear with me !

~ Abaper

Active Contributor
0 Kudos


Check if the following [link1|] [link2|] helps you!



Answers (2)

Answers (2)

Active Contributor
0 Kudos

[Check this Blog too|] [original link is broken] [original link is broken] [original link is broken];

Active Contributor
0 Kudos

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.


Edited by: Aditya Varrier on Nov 23, 2009 4:32 PM