SAP Knowledge Base Article - Public

3599339 - Error "You are not authorized to change the data" when approving a custom object

Symptom

You are facing the error "You are not authorized to change the data" While approving a custom object.

Environment

  • SAP Cloud for Customer 
  • SAP Cloud Applications Studio

Reproducing the Issue

  1. Go to the Custom Work Center View
  2. Open the custom object and click at approval. 
  3. You can see the following error: "You are not authorized to change the data"

Cause

Customer needs to review the modeling for the Work Center View in the UI Designer.

Resolution

  1. Go to UI Designer and open the custom WCVIEW
  2. In the Property Explorer, under RBAMData, select AssignedObjects.

  3. Click the ... button.
  4. The Add AssignedObjects dialog opens, where you proceed as follows:

    1. Click the Add Row button.

    2. In the new row, under AssignedObject Type, click the down arrow button and select TaskListView.

    3. In the same row, under ComponentID, click the ... button.

      The Select Component dialog opens.

    4. In the folder for your solution ([solution name]_MAIN   SRC), select the .approval file and click OK.

      Repeat steps a) to d) for the .notification and .revision files, if there are any.

    5. If you have created a notification and/or revision task, click the Add Row button again.

    6. In the new row, under AssignedObject Type, do not change the Navigation Target option.

    7. In the same row, under ComponentID, click the ... button.

      The Select Component dialog opens.

    8. In the folder for your solution ([solution name]_MAIN   SRC), select the ApprovalUI (APP1.QA.uicomponent) file and click OK.

      Repeat steps e) to h) for the NotificationUI and RevisionUI file and close the UI designer.

Keywords

SDK, UI Designer, Custom Object, PDI, approval, process, You are not authorized to change the data , KBA , AP-RC-BDS-BTM , ByDesign Studio Business Task Management , Problem

Product

SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions