SAP Knowledge Base Article - Public

2709026 - Wrong Pre-set of Partner Role in Visit Facette Email Recipient : Error "Save Failed. Entry 123456 for Party Role Field not Consistent as per Code List Restriction"

Symptom

Wrong Pre-set of Partner Role in Visit Facette Email Recipient : Error "Save failed. Entry 123456 for party role field not consistent as per code list restriction"

Environment

SAP HYBRIS CLOUD FOR CUSTOMER

Reproducing the Issue

  1. Go to the Visit workcenter.
  2. Go to the Visits view.
  3. Create an new Visit open an existing Visit.
  4. Go to the E-mail recipients tab.
  5. Click Add.

In the pop-up window designed for Involved Party addition, the drop down list is incorrect.

   6. Proceed to Add an Involved Party.

Result: An error message is displayed: "Save failed. Entry <123456> for party role field not consistent as per code list restriction".

Cause

Currently, it is the standard behaviour : When one of the value is set as default and Code List Restriction takes place further down.

This defaulting behaviour can be overwritten by using the default value option in Code List Restriction section of the Administrator workcenter.

Resolution

If you want one valid value to be defaulted all the time for ROLE, you could do that by creating new CLR on ROLE (without any control field) and set a default value so that its applicable to all the cases irrespective of control field values.

Or you could also set defaulting behaviour based on control fields as well.

Keywords

Partner Role in Visit, Save failed. Entry for party role field not consistent as per code list restriction, , KBA , LOD-CRM-ACT-VST , Visit Planning , Problem

Product

SAP Cloud for Customer all versions