SAP Knowledge Base Article - Public

2931414 - Custom Approval Task cannot be Assigned

Symptom

You see the below error when checking the Application Log of an Unassigned Approval Task in Business Task Management for your Custom Approval Process:

"Employees without sufficient access rights for the item:"
"Employee:Joe Bloggs (E0123)"
"Info: Work Center Views granting access"
"View: Custom BO"

Environment

  • SAP Cloud Application Studio
  • SAP Business ByDesign
  • SAP Cloud for Customer

Reproducing the Issue

Prerequisites:

  • You have created a Custom Business Object.
  • You have created a Custom Approval Process for your Business Object.
  • You have assigned E0123 (where E0123 is the Employee ID) as the Approver of the Approval Process.
  • You have created an instance of you Custom Business Object.
  • You have successfully submitted the instance for Approval and the status is "In Approval".

Steps to Reproduce:

  1. Go to the Application and User Management work center.
  2. In Task Distribution, select Business Task Management (Administrator > Business Task Management in Cloud for Customer).
  3. Select dropdown Unassigned Items.
  4. Select the Approval Task that has not been assigned to a user and open the most recent Application Log.

You have checked further and could see that Employee E0123 has the View for your Custom Business Object assigned.

Cause

You have not assigned the Approval Views to you Custom Work Center View. This assignment is required as Access Rights are generated from the Work Center Views. If a screen is not assigned to a View, the access cannot be generated for that screen.

Resolution

  1. Open the Custom Work Center View in the UI Designer.
  2. In the Property Explorer, under RBAMData, select AssignedObjects.
  3. Click the ... button.
  4. Click the Add Row button in the Add AssignedObjects dialog.
  5. Add all relevant Approval views.

See Also

See Approval Process > Tasks > Assign Approval Process Tasks to UI in the Cloud Application Studio Documentation.

Keywords

Approve, RBAM, SDK, PDI, AssignedObjects, Approver, Requester, fail, failed, BTM, In Approval, View, Work Center , KBA , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , AP-RC-BDS-BTM , ByDesign Studio Business Task Management , Problem

Product

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