on 02-18-2004 9:50 PM
Hello everyone,
I am trying a scenario where a flat file, in which each line represents a purchase order, is sent to XI through File Adapter, and then XI creates one RFC for each line to call a purchase order creation BAPI in a SAP system. This BAPI only has a structure as input parameter.
The line structure can be easily mapped to the BAPI input structure using XI provided mapping tool.
My question is: how can I loop through all the lines in the file to generate multiple RFC calls within XI? Is there an easy way to make this happen?
One workaround solution might be: create a BAPI wrapper in the target system so that it can accept an input table (a row corresponding to a line in the file) and then loop through the table to call the PO Creation BAPI for each row. However, this needs a little bit of coding.
Any comment / help is appreciated!
Regards, Hart
Hart,
In XI 2.0, I've built this type of scenario by having the flat file adapter split the file into multiple "recordsets" where each line would be a separate message in the XI integration engine. The messages are processed in EOIO mode so that order is maintained.
In XI 3.0, the mapping tool will have the ability to split a source message into multiple messages.
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.