on 11-06-2014 7:48 AM
Hi All,
I am working on RFC to JDBC scenario. My requirement is, when i am sending data using RFC, if particular line with same primary key, is already available in SQL database table, it should update otherwise insert the record. (Like modify statement with internal table in SAP ABAP).
I tried using UPDATE_INSERT but it is not giving desired result.
Please suggest hpw to do the mapping in ESR.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How did you define your structure in PI?update_insert should work..
Please check below blog and validate your strcture.
Document Formats for the Receiver JDBC Adapter - SAP XI: Runtime - SAP Library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hareesh,
Can you please suggest hot to make data type for JDBC message. I tried in following manner, but KEY tag is starting after all the ACCESS tag.
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_BMB_AREAS xmlns:ns1="http://area_client.com">
<AREAS>
<DB_TABLENAME action="UPDATE_INSERT">
<table>Areas</table>
<ACCESS>
<Area_Code>12</Area_Code>
<Area_Description>w42</Area_Description>
</ACCESS>
<ACCESS>
<Area_Code>23</Area_Code>
<Area_Description>w42</Area_Description>
</ACCESS>
<KEY1>
<Area_Code>12</Area_Code>
</KEY1>
<KEY1>
<Area_Code>23</Area_Code>
</KEY1>
</DB_TABLENAME>
</AREAS>
</ns1:MT_BMB_AREAS>
Hello,
Are you receiving any error? Which of the operations is failing insert/update or both?
BR,
Diptee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.