on 10-25-2008 9:20 AM
Hi all,
I have a scenario which XI will get data from database (using jdbc adpater) then send data to execute in RFC. This is an asynchronous call. My question is that.
1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
Any suggestion from expert?
Thanks,
Pavin
Hi
1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
Yes you can do multi mapping 1:N without BPM
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
You can queue to process one by one. Response can be obtained with or without BPM
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file(Without%2bBPM)
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Example source message contain Statement1, Statement2, ,,,,, Statementn
make the target message with occurance 0..1 and map it. So whenever there is a Statement occur it will execute the mapping and message will be passed to RFC
Now you have n Statement coming from JDBC so Mapping will execute N times and you can pass this message to RFC one by one.
In case your requirement is pass one message and wait for response from RFC then you need to use BPM.
Thanks
Gaurav
Thank you very much for your help. Point rewarded.
Pavin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Pavin
Without BPM , huh ....it all depends upon how message mapping is done between the input data and the output data structure.....and enhanced interface determination can be helpful.....
For more details can refer the blog , think it will helpful as it was for me
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
This is also good the basic of messge split
http://help.sap.com/saphelp_nw04/helpdata/en/42/f3b31d48fb1bc8e10000000a11466f/content.htm
Enjoy
Abhishek
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.