Symptom
You require to add the Country Code in the activity Countries in Business Configuration work center. But you receive the below error:
ISO Code is still in use and not unique
Save failed
Environment
SAP Hybris Cloud for Customer
Reproducing the Issue
- Go to Business Configuration work center
- Select Implementation Projects view or Overview
- Search and Open the activity Countries
- Select Add Row
- Fill the required details
- Example as below:
- Country: XXX (where XXX represents Country)
Long Description: Unknown (Conversion) - In the General Attributes tab fill the below:
Language: EN – English
Numeric: 000
Currency: EUR - Euro - Select Save
- System shows the error
Cause
The error is with a missing Two Letter ISO Country Code entry. The implemented check makes sure that no duplicate ISO Codes are entered.
Consider the field Two Letter ISO Country. At the time of creating a Country Code, if this field is empty for more than one entry, the error comes up.
In the system, Country XK (where XK represents Country) already has empty Two Letter ISO Country Code. Hence when you try to create Country XXX with empty Two Letter ISO Country, the system throws error.
Resolution
Use any dummy but unique Two letter ISO Country Code and add the Country.
Keywords
ISO Code is still in use and not unique, Countries , KBA , iso code is still in use and not unique , countries , AP-RC-CTY , Countries , How To