on 08-05-2009 4:20 PM
Hi Experts,
In RFC to JDBC(Insert) async scenario we are getting the the response from JDBC as <insert_count>1</insert_count> after inserting in to DB . Is there any way to stop getting response?
Regards,
Raj
<insert_count>1</insert_count>
Firstly this is not an error but an acknowledgement from the JDBC that the Insert for the corresponding Statement node is successful. The count 1 represents that you have made just one Insert-Statement call to the JDBC......had there been no Insert in the DB then you could have got 0 insetad of 1.
Normally happens when the sender requests for an acknowledgement. Don have knowledge on the ABAP-front so cant comment on the blog given by Prateek, but seems that because of the sync nature of RFC you are getting this ack from JDBC...
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you set your message interface has inbound asynchronous right ?
make sure that is async
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
If you have the inbound interface as asynchronous then you will not get the response. Please reverify once again and check the interface mapping whether do you have any response mapping?
Also check the receiver and interface determination whether you are using the same interface or not.
Regards,
---Satish
The problem in your scenario is that the RFC sender QOS is Sync by default. Therefore when you use your interface, it will always send a response. In case you need to avoid this, you need to make an explicit async RFC call as shown in the blog
/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
Regards,
Prateek
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.