Symptom
- The API "API_BUSINESS_PARTNER" is not allowing to Read the data via the CB User Id via the Display Catalog "SAP_CMD_BC_BP_DISP_PC"
- It is possible to read/fetch the data via the same CB User using the Maintenance Catalog "SAP_CMD_BC_BP_MAINT_PC"
- The Error encountered when trying to fetch the data via the Display Catalog is "[{\"ContentID\":\"\",\"code\":\"CX_NO_AUTHORIZATION\",\"message\":\"Ei käynnistysoikeutta: API_BUSINESS_PARTNER 0001, palautusarvo 4\",\"propertyref\":\"\",\"severity\":\"error\",\"transition\":false,\"target\":\"\"},{\"ContentID\":\"\",\"code\":\"/IWBEP/CX_MGW_TECH_EXCEPTION\",\"message\":\"User does not have the sufficient authorizations\",\"propertyref\":\"\",\"severity\":\"error\",\"transition\":false,\"target\":\"\"}]}}}"}"
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Sign in with a user that has access to custom side-by-side applications and only display access for Business Partner master data.
- Start a relevant app that invokes API_BUSINESS_PARTNER.
- Observe 403/authorization errors indicating missing start or service-group authorizations for the OData service.
Cause
- This is as per the SAP Standard Framework design.
- The BP Display Catalog doesn’t access to API_BUSINESS_PARTNER while the BP Maintenance Catalog has the required access. That’s why it is not possible to invoke the ODATA API using Maintain catalog but not via Display Catalog.
- There is no Read Only APIs for the API_BUSINESS_PARTNER.
Resolution
- This issue can be resolved by assigning the Maintenance Catalog to the CB User which is trying to invoke the API "API_BUSINESS_PARTNER" via the side by side extensibility.
- If the assignment of the Maintenance Catalog is not possible, then they can use C1 released BP CDS (CDS Views for Business Partner) views to only Read the data.
See Also
Keywords
api_business_partner, api_product, r3tr iwsv, 0001, 403 forbidden, insufficient authorizations, display catalog, maintain catalog, sap_cmd_bc_bp_disp_pc, sap_cmd_bc_bp_maint_pc, sap_cmd_bc_pr_maint_pc, cds c1, read-only, side-by-side, btp, odata, API_BUSINESS_PARTNER, Side - , KBA , LO-MD-BP-2CL , Business Partners for Public Cloud , LO-MD-BP-ODT , OData Service for Business Partner , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public