on 04-16-2007 12:30 PM
Hi all,
I want to make a loop in my business process. But I don't know how to do it.
I have the following request structure. Now I want call a BAPI for each <number>.
Can someone help me?
<test>
<object>
<number>123<number>
</object>
<object>
<number>125<number>
</object>
<object>
<number>126<number>
</object>
<object>
<number>127<number>
</object>
</test>
regards
Alex
Hi,
as explained above
You can do in BPM , see in the below link similar
http://help.sap.com/saphelp_nw2004s/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You will need a split mapping in your BPm, .ie. 1 : N mapping that will split your message into N messages for each number.
Next use a Block with FOR EACH mode to handle this.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you will have to have a target message type , create one one on the basis of requiremet as I guess you would need everyu Number indiavidually in your Business Process.
In your message mapping use this as the target messagetype and change the occurence as 0 to unbounded. Do the same for the target interface in the interface mapping.
Use this interface mapping inside the BPM in the transformation step. the output of the interface mapping will be stored in a multline container element and then use this in the block to define the for each.
Regards
Bhavesh
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.