on 07-31-2007 1:28 PM
Hi, Dear Friends!
I have asynchronous scenario File to RFC(BAPI).
File contains raws. For each raw I need to execute BAPI.
With the help of each raw I need to construct one document in R/3 database with the help of BAPI.
But now my scenario provide only one document (only one BAPI is executed).
I read file to xml structure. This structure contains elements. The elements represent raws of file. But BAPI is executed only for the first element.
How to explain to XI that I want it impement BAPI <b>N times</b> - as number of raws in file (or elements in xml structure).
So how to implement multiple BAPI calls. Have you any idea?
Thank you in advance.
Natalia Maslova.
Hi Natalia
have a look on these links
http://help.sap.com/saphelp_nw04/helpdata/en/43/b46c4253c111d395fa00a0c94260a5/frameset.htm
may be helpful
Thanks !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Natalia
Did you resolve the issue? What approach did you take?
Thanks
Dilip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dilip/Natalia,
If I understood your problem correclty, you want to call the BAP as many times as the number of lines in your input file. If I am correct, you have 2 ways.
1. Use multimapping without BPM and map every line to root of your RFC. This will create as many RFC calls as the no. of lines in the file.
2. Use a wrapper RFC in R/3 and pass all the parameters to the wrapper RFC. Within the wrapper RFC, call the original RFC as many times you wish.
Regards,
Jai Shankar
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.