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
- Go to the Custom Work Center View
- Open the custom object and click at approval.
- 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
- Go to UI Designer and open the custom WCVIEW
-
In the Property Explorer, under RBAMData, select AssignedObjects.
- Click the ... button.
-
The Add AssignedObjects dialog opens, where you proceed as follows:
-
Click the Add Row button.
-
In the new row, under AssignedObject Type, click the down arrow button and select TaskListView.
-
In the same row, under ComponentID, click the ... button.
The Select Component dialog opens.
-
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.
-
If you have created a notification and/or revision task, click the Add Row button again.
-
In the new row, under AssignedObject Type, do not change the Navigation Target option.
-
In the same row, under ComponentID, click the ... button.
The Select Component dialog opens.
-
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