on 06-24-2015 9:57 PM
Hello All
In my Interface receiver side is JDBC.
My Receiver Structure is as below:
I wanted to DELETE particular rows from Oracle database first and then INSERT some rows.
In Statement1 --> row --> action : I have written query DELETE FROM ABC WHERE NAME <> 'XYZ'
In Statement2 --> row --> action : I have written INSERT
Kindly help me if DELETE query can be written with where clause in message mapping.
I am getting error "Unsupported action attribute value 'DELETE FROM ABC WHERE NAME <> 'XYZ' found in XML document"
Kindly help
Regards
Dheeraj Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer to statement 3 structure to define where clause for DELETE transactions
http://help.sap.com/saphelp_srm40/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.html
<StatementName3>
<dbTableName action=”DELETE”>
<key1>
<col2>val2old</col2>
<col4>val4</col4>
</key1>
<key2>
<col2>val2old2</col2>
</key2>
</dbTableName>
</StatementName3>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.