cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization Error When Accessing Product Group API in S/4HANA Public System

rahuljain257
Participant
0 Kudos
269
Dear Everyone,

I am trying to GET all items of the Product Group from the S/4HANA Public System, but I encounter an error:
"You do not have start authorization for R3TR IWSV API_PRODUCTGROUP_SRV 0001, return code 4."

When I call the Base URL, I receive a response that returns the list of Entity Sets:

rahuljain257_1-1722851986998.png

However, when I call the URL for A_ProductGroup: URL: https://xxx/sap/opu/odata/sap/API_PRODUCTGROUP_SRV/A_ProductGroup

I get an authorization issue with the same error message: "You do not have start authorization for R3TR IWSV API_PRODUCTGROUP_SRV 0001, return code 4."

rahuljain257_3-1722852163195.png

 Thanks for your consideration.

Regards

Rahul Jain


 

OwenLiu
Product and Topic Expert
Product and Topic Expert
0 Kudos
Added R&D tag.
View Entire Topic
Enda
Product and Topic Expert
Product and Topic Expert

Hello @rahuljain257 

 

Please sure that the communication user calling the API has either the communication scenarios below assigned which should resolve the authorization error


SAP Analytics Cloud for Planning Integration (SAP_COM_0087)
Excise Tax Integration (SAP_COM_0568)
Procurement - Supplier Quotation Management Integration (Deprecated) (SAP_COM_0760)

 

This information is available at 

https://api.sap.com/api/API_PRODUCTGROUP_SRV/overview

 

Best Regards

Enda

 

rahuljain257
Participant
0 Kudos
Due to some reason, The communication scenario which you have high-lighted is not visible in the S/4HANA System --> SAP Analytics Cloud for Planning Integration (SAP_COM_0087), Excise Tax Integration (SAP_COM_0568) & Procurement - Supplier Quotation Management Integration (Deprecated) (SAP_COM_0760)
iceyshi
Product and Topic Expert
Product and Topic Expert
In order to use Scenario SAP_COM_0568, it is necessary to activate Scope Item 4LO.