on 05-29-2019 2:46 PM
Hi Everyone!
I tried to get details of business document with this request through Postman :
https://my30XXXX.s4hana.ondemand.com/sap/opu/odata/sap/CUAN_BUSINESS_DOCUMENT_IMP_SRV/ImportHeaders('9C1E0130377C52AA160050FA69E6321D')/BusinessDocuments
Use valid X-CSRF-Token and Content-Type = application/json
But an error appears:
I want to get details of SALES ORDER with Product information.
Where is my mistake? Maybe request's not correct.
Hi,
CUAN_BUSINESS_DOCUMENT_IMP_SRV do not support the read operations as stated in the HELP as well as response of your request. "Method **** is not implemented in data provider class".
If you want to read the sales order details with product please use API_MKT_INTERACTION_SRV. More details here: https://help.sap.com/viewer/0f9408e4921e4ba3bb4a7a1f75f837a7/1905.500/en-US/b16a5be0aa124056af391fb8...
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
InteractionProducts is child entity to Interactions, hence you will not find as a "field/element" property it in response of your interaction but it will be available as Navigation Property. Hence you need to expand the products entity to see the products details of a sales order.
Sample URL could be as follow where i passed a valid interaction GUID in URL.
https://my30XXXX.s4hana.ondemand.com/sap/opu/odata/SAP/API_MKT_INTERACTION_SRV/Interactions(guid'14f53280-f97d-e061-1600-3700f411b9a7')?$expand=InteractionProducts
In response you will see products attributes.
Thanks
Saurabh
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.