cancel
Showing results for 
Search instead for 
Did you mean: 

GET /BusinessDocuments

0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member226
Employee
Employee

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

0 Kudos

Hi,

I tried the method with sort by InteractionUUID, but it doesn't display me info about product in my sales order.

Best Regards,

Ekaterina

former_member226
Employee
Employee

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

Answers (0)