on 05-14-2008 6:02 AM
Probably a simple answer that I'm not seeing.....
I receive a file with multiple records.
For each record I want to call a BAPI (and then maybe fire an IDOC, but that's not my question)
A loop in a BPM seems the obvious way, but I can't seem to pick up records in succession. I get the first record each time (thankfully I thought to put a counter in the loop condition!)
Any help gratefully received.
Guy
You have to split the 1 message into n messages using transformation ( 1 to n ..multimapping ) and then use block step (mode : foreach).Put the send step (call to the BAPI or IDOC) in the block.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that Sekhar,
I ended up reading about a 1000 blogs, but you gave me the clue. SplitbyValue is the key to the thing, and setting the target message cardinality. Points awarded.
This blog really helped
[url]https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3765[ [original link is broken] [original link is broken] [original link is broken];url]
User | Count |
---|---|
86 | |
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.