on 09-06-2012 9:57 AM
Hi All,
I am trying to design a synchronous interface. I need a structure which is equivalent to the following query
"select ORDER_ID, STAT from HDR where ORDER_ID in ('123','456')"
I tried with the below structure.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Output xmlns:ns0="Namespace"><StatementName1><CV action="SQL_QUERY"><access>select ORDER_ID, STAT from HDR where ORDER_ID in ('$ORDER_ID$')</access><Key><ORDER_ID>123</ORDER_ID><ORDER_ID>456</ORDER_ID></Key></CV></StatementName1></ns0:MT_Output>
But we are getting reponse for the first value only. Please tell me how to change this structure accordingly, so that i need to get response for all the values of the field ORDER_ID
Thanks
Dinesh M
You have multiple key values for ORDER_ID.
I guess it is not possible to have multiple key values for same placeholder.
Refer the below thread which has the same question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try select statement from this link:
http://help.sap.com/saphelp_nw70ehp2/helpdata/EN/2e/96fd3f2d14e869e10000000a155106/content.htm
Regards,
Michal Krawczyk
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.