on 07-31-2008 12:27 PM
Hi all,
Following specification:
I get a message into my business process that contains u201Citemsu201D with occurrence 0..unbounded.
For every u201Citemu201D I need to call an RFC and insert data into several DB tables.
Thought about handling all that in a loop. As long as there are items there would be a loop and inside the loop there is a message mapping that maps the next item. Then there are the send steps in a certain order and so on.
Unfortunately that doesnu2019t work.
I get an infinite loop even though the condition is an element inside u201Citemu201D and itu2019s marked as multiline.
The mapping doesnu2019t work as well because it always maps the first item. (Of course it does and I don't know how to force it to map the next item.)
Maybe my approach is generally wrong?
How would you guys solve this problem?
Thanks in advance!
Karsten
>>For every u201Citemu201D I need to call an RFC and insert data into several DB tables.
Why do you need to call the RFC for every single item...I suggst u to pass all the "item" details to the RFC at a single call and update the same in the DB table with the ABAP code looping in these items.
Thanks
SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sãnthosh Kûmãr V,
The RFC can handle just one item at a time.
After I get data back from the RFC I have to send item data and RFC data to several oracle tables (JDBC adapter) and then trigger another process. And I have to make shure that all or nothing is done for every item. Therefore I thought a loop could be a good idea...
Karsten
Is you requirement is to
post the item data to RFC> get the RFC Response-> Send the item data and RFC response to JDBC.
Also the same should be done to all the items.
>>The RFC can handle just one item at a time.
You can modify the RFC to import multiple items using Tables and export multiple items.
Thanks
SaNv...
Hi Karsten,
best it to have a look at the patterns SAP deliveres by default in your integration repository.
I guess there is a BPM pattern that exactly solves your problem.
Regards Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.