on 11-26-2014 9:56 AM
Hi All,
I need to update multiple records in JDBC. I have created the message type and corresponding payload is given below. For single record, it is working fine but when i try to send multiple records, I am getting error that primary key violation. Please suggest how to achieve updating multiple records.
<?xml version="1.0" encoding="UTF-8" ?>
</ControlRecord>
</ns1:MT_PO_Closure_Response>
Thanks
Hi, your structure is not correct,
structure shouls be like this:
<controlrecord>
<dbtablename>
<access>
<key>
</dbtablename>
</controlrecord>
<controlrecored>
dbtablename>
access>
key>
</dbtablename>
</controlrecord>
regards....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Mohammad,
the right structure is described in help http://help.sap.com/saphelp_nwpi711/helpdata/en/44/7b85050e6c3675e10000000a114a6b/content.htm
what is the problem in creating data type of that structure?
access tag should occur only once at every statement, I think you should change your mapping, map every new row data to ControlRecord node, then target structure will be changed
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.