SAP Knowledge Base Article - Public

2995859 - User has no authorization for operation DISPLAY on object QMQMEL

Symptom

Returned with error "User has no authorization for operation DISPLAY on object QMQMEL" when trying to display an original from Fiori app "Manage Documents", Same original can be displayed from back end CV03n transaction

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely
coincidental."

Environment

SAP S/4HANA, Cloud

Reproducing the Issue

  1. Open Fiori APP "Manage Documents
  2. Search and open Document Number "XXXX"
  3. Go to Originals tab then click the attachment file url
  4. Returned with mentioned error "User has no authorization for operation DISPLAY on object QMQMEL"

Resolution

  1. The BAdI implementation method IF_EX_CV_ODATA_ATTACHMENT_AUTH~CHECK_AUTHORIZATION must be implemented to handle authorization check for the object types "QMQMEL
  2. If the BAdI BADI_CV_ODATA_ATTACHMENTS_AUTH is not implemented, the system by default does not provide the authorization. Kindly implement the BAdI method IF_EX_CV_ODATA_ATTACHMENT_AUTH~CHECK_AUTHORIZATION and add a filter for object type "QMQMEL"
  3. The customizing SPRO path is: Cross-Application Components > Document Management > Additional Settings - Simplification > BusinessAdd-ins (BAdIs) > BAdI: Attachment Service - Authorization Check.
  4. BADI_CV_ODATA_ATTACHMENTS_AUTH

    method IF_EX_CV_ODATA_ATTACHMENT_AUTH~CHECK_AUTHORIZATION.
          CV_NO_AUTHORIZATION = ''.
     endmethod.

  5. Below screen shot is sample of filter settings

BAdI BADI_CV_ODATA_ATTACHMENTS_AUTH  filter setting.png

6. Please note that the described behavior is not limited to the object type QMQMEL . 

 

Keywords

CV_ODATA_ATTACHMENTS_AUTH , KBA , CA-DMS , Document management , PLM-WUI-OBJ-DMS , Document , Problem

Product

SAP S/4HANA Cloud all versions