Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to remove 'd' wrapper from odata json response ?

Hello,

from example request :

/sap/opu/odata/sap/ZQM_CONFIRMATION_SRV/Check_batch_and_cust?$format=json&WERK='ASJV'&PDATUM=''&CHARGE='140005'&MENGE=''&VORG=''

response json looks like this:

{"d":{"__metadata":{"id":"http://x:8000/sap/opu/odata/sap/ZQM_CONFIRMATION_SRV/CHECK_BATCH_AND_CUSTOMERSet(Charge='',Menge='',Pdatum='',Vorg='',Werk='')","uri":"http://x:8000/sap/opu/odata/sap/ZQM_CONFIRMATION_SRV/CHECK_BATCH_AND_CUSTOMERSet(Charge='',Menge='',Pdatum='',Vorg='',Werk='')","type":"ZQM_CONFIRMATION_SRV.CHECK_BATCH_AND_CUSTOMER"},"Charge":"","Menge":"","Pdatum":"","Vorg":"","Werk":"","Msg":"OK","Name1":"WIN-Warth GmbH","Name2":"","Status":"0"}}

I want to remove wrapper 'd'

Any ideas ?

regards

Lucas

Former Member
Not what you were looking for? View more on this topic or Ask a question