on 07-23-2008 5:46 PM
Hi experts,
from a soap client post the data to RFC1,based on the response of RFC1, RFC2 has to be invoked and the response send to the calling webservice. how do we do this ?
Thanks
Hi Ravi,
Thanks for the inputs. can i use lookup to post the data into RFC1 and get the response. Based on this response i need to choose the mapping program and call the RFC2. and response from RFC2 would go to Webservce . Is that possible?
Thanks,
Aju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are creating data in SAP using RFC lookup then its a bad idea because
The accessors do not support transactional behaviour. Therefore, they should not be used to change the state in the accessed system; writing data to the accessed system can lead to inconsistencies. The accessors should only be used to read data from the accessed system.
http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/lookup/LookupService.html
Is your web service synchronous? First RFC synchronous? Then simply call the first 2nd RFC inside the first one if change is allowed. IT will be a simple soap to rfc sync scenario. If not, you have to go with BPM.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On the high level,
Your scenario would be a synchronous
WEB SERVICE to RFC scenario.
In the response mapping, you have to wrute a RFC look up for your second RFC. and send that as response to your webservice.
Regards,
Ravi Kanth Talagana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
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.