Skip to Content
0
Former Member
Oct 18, 2019 at 02:40 AM

s4 hana cloud api authorization error

1143 Views

Dear Experts,

when we use the App delpoyed on S/4 HANA cloud to retrieve data from api API_MATERIAL_DOCUMENT,

( SAP_COM_0108 https://api.sap.com/api/API_MATERIAL_DOCUMENT_SRV/resource)

we got en error with"No authorization to access Service".

but there is no problem when we deploy App on sap cloud platform and retrieve data from api by communication user,

we find " Only authorized roles can be used to retrieve, create, and cancel material documents via API calls." in api help document,

https://help.sap.com/viewer/7760de6f44074d4994c4da9832f7bfca/1908.500/en-US/d4c919581bc30a02e10000000a44147b.html

but whitch role should we assign to user to solve this problem?

Thanks!

Attachments

32146-image.png (101.6 kB)