SAP Knowledge Base Article - Public

2908039 - Business Action Restrictions on Deletion of Lead is not Working

Symptom

You have defined a business action restriction on lead deletion, but you see that the users are able to delete leads.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Sales Work center.
  2. Go to the Leads View.
  3. In the OWL (object worklist), select the lead you want to delete.
  4. Select More.

You expect the button 'Initiate Deletion' to be grayed out.

Cause

You have selected DELETE_LEAD instead of LEAN_LEAD_DELETE. Lead is still the business object where information is persisted. LEAN_LEAD is a wrapper on top (transformed object) which also shows additional business partner data along with lead data. This does not have persistency. So while the UI is built on LEAN_LEAD, the lead data is finally stored in LEAD.

Resolution

  1. Go to the Administrator workcenter.
  2. Go to the General Settings view.
  3. Go to the Business Roles Section under Users.
  4. Select the business role ABC (ABC represents the id of the role).
  5. Select View all.
  6. Go to the Fields & Actions facet.
  7. Under the section Business Action Restrictions, you have to define the below restriction and Save:
  • Name: LEAN_LEAD_DELETE
  • Business Context: Lead
  • UI text: Delete
  • Access Restriction: Disabled

Keywords

Lead, Lean Lead, Deletion, Initiate Deletion, UI , KBA , ui , access restriction , delete , business role , lead owl , lean lead , LOD-CRM-LM , Lead Management , How To

Product

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