on 02-20-2006 9:11 AM
Hi Guys,
I have scenario where i call a BAPI and get return parameter as a table. I want to loop through this table in XI/BPM. Can i get some help on how to loop thorugh table in XI?
Hi,
you can for example use step "block" with mode "for each".
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi yashpal,
Bloack Step in a BPM is used to process a sequence of steps repeatedly for different information.
The block step can be processed using FOR EACH and PAR FOR EACH. For each will process the info one after the other and PAR FOR EACH will do it in parallel.
For more info on the Block Step Type in particular and the BPM in XI , check these links,
http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
Hope this helps,
Regards,
Bhavesh
Hi yashpal,
Your bapi table will come as XML to Integration Engine. Now you create one data type like a line of that table, create next a message type of that data type and then a abstract interface of that message type.
At your business process create a single line and a multiline containter of that abstr interface.
Create a block with mode "for each".
Reference the multi line element (the table) and the current line (the actual line of that table) and work with the current line.
http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm
Regards,
Udo
Hello Yashpal,
If the replies help, please consider rewarding.
Here is the link to the Contributor Recognition Program FAQ.
https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/e7b06b5c-0501-0010-3c80-f82a07c9838a [original link is broken]
Thx,
Homiar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
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.