SAP Knowledge Base Article - Public

3421507 - 'User has no authorization for operation 03 on object BUS2037' when calling API API_CV_ATTACHMENT_SRV , Entity GetAllOriginals

Symptom

Error 'User has no authorization for operation 03 on object BUS2037' when calling API API_CV_ATTACHMENT_SRV , Entity GetAllOriginals in a GET Request to return Billing Document Attachments

Environment

  • SAP S/4HANA, Cloud
  • Document Management

Reproducing the Issue

Call the API with a Sample Payload like below using a GET request 

/sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/GetAllOriginals?BusinessObjectTypeName='BUS2037'&LinkedSAPObjectKey='90000300'

Cause

The BusinessObjectTypeName BUS2037 is incorrect.

The LinkedSAPObjectKey is in the wrong format . 

Resolution

Please use BusinessObjectTypeName VBRK instead of BUS2037 .

The LinkedSAPObjectKey format for VBRK is made up of 10 characters .

Leading zeros need to be appended to make up the length.

/sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/GetAllOriginals?BusinessObjectTypeName='VBRK'&LinkedSAPObjectKey='0090000300'

Keywords

KBA , PLM-FIO-DMS , Fiori UI for Document management , CA-DMS , Document management , How To

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions