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 - Sales
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
First, 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.
To avoid the error from happening again, make the Role field mandatory using KUT (adaptation).
See Also
KBAs:
- 2633592 - The Role Competitor Is Not Displayed When the User Is Adding a Competitor in an Opportunity
- 2630993 - Updates of Opportunities Whose Assigned Account is Inactive are not Replicated to the Target Backend System
Keywords
'Please use another role. does not exist.' and 'Initial party instance detected. Please enter an ID or delete.' opportunity, error, edit opportunity, Opportunities, cannot edit , KBA , LOD-CRM-OPP , Opportunity Management , LOD-CRM-PM-SLS , C4C Product Management - Sales , Problem