SAP Knowledge Base Article - Public

3022847 - Error 'You are not authorized for Display document with document type ZYX' appears when using API API_CV_ATTACHMENT_SRV or API_DMS_PROCESS_SRV and method POST

Symptom

  • Error 'You are not authorized for Display document with document type ZYX' appears when using API API_CV_ATTACHMENT_SRV and method POST
  • Error 'You are not authorized for Display document with document type ZYX' appears when using API API_DMS_PROCESS_SRV  and method POST
  • Not possible to update Custom Document Types using API API API_CV_ATTACHMENT_SRV due to authorization error 'You are not authorized for Display document with document type &'

Environment

  • SAP S/4HANA, Cloud
  • Document Management ( DMS )

Reproducing the Issue

Create an API call ( Method POST ) for API API_CV_ATTACHMENT_SRV or API_DMS_PROCESS_SRV

Cause

Missing Functionality

The update of Custom Document Types is currently not available through API_CV_ATTACHMENT_SRV or API_DMS_PROCESS_SRV

Resolution

Development are aware of the issue and are trying to implement the functionality in a future Quarterly Releases.

Keywords

A_DocumentInfoRecordAttch ,  CX_ODATA_CV_ATTACH_EXCEPTION , MSGID='26',MSGNO='036',MESSAGE_V1 , 26036 , 'An exception was raised' , KBA , PLM-FIO-DMS , Fiori UI for Document management , CA-DMS , Document management , Problem

Product

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