Symptom
You receive following error messages: 'Please use another role. does not exist.' and 'Initial party instance detected. Please enter an ID or delete.' and can no longer edit your opportunities.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to the Sales work centre.
- Go to the Opportunities view.
- Open the effected opportunity ABC (ABC represents the opportunity name).
You get the error messages 'Please use another role. does not exist.' and 'Initial party instance detected. Please enter an ID or delete.' are displayed.
Cause
A party role maintained on this object (visible or not) is either no longer active or was created as empty entry.
The Opportunity object is designed to be error tolerant. The objective is that a user is able to do as much data entry as possible and save it in an inconsistent state even with errors to be finished or corrected at a later point.
However, when it is replicated to a backend system, it is expected to be consistent to avoid failures in that system. The errors shown in an opportunity are exposed to let the user know of the inconsistency.
Resolution
Delete the empty/invalid entry/entries:
-
Go to the Sales work centre.
- Go to the Opportunities view.
- Open the effected opportunity ABC (ABC represents the opportunity name).
- Go to the Involved Parties facet - if necessary, add the facet to your UI using Adapt > Edit Master Layout or Personalize (if available).
- Delete the empty (no longer valid) entry.
It is possible, that the empty role is a Product - Involved Party.
- Go to the Products facet.
- Select each Product.
- In the Invovled Parties section below, you can check per product if an emtpy line got added or if an invalid entry is maintained.
To avoid the error from happening again, make the Role field mandatory using KUT (adaptation).
See Also
KBAs:
Keywords
'Please use another role. does not exist.' and 'Initial party instance detected. Please enter an ID or delete.' opportunity, error, edit opportunity, Opportunities , KBA , LOD-CRM-OPP , Opportunity Management , LOD-CRM-PM-SLS , C4C Product Management - Sales , Problem