SAP Knowledge Base Article - Public

3508458 - "This external code [xxxxxx] already exists. Try another" error happen when importing business rule in Configuration Transport Center

Symptom

When importing business rule in target instance, validation failed with error like "This external code [xxxxxx] already exists. Try another".

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP SuccessFactors HCM Suite b2105 and above

Reproducing the Issue

1. Create a Business Rule in Source instance with ID "sap_test_same_ID_liu".

2. Create a Business Rule in Target instance with ID "SAP_TEST_SAME_ID_LIU".

3. Generate a new bundle in Source instance with Business Rule "sap_test_same_ID_liu" in Configuration Transport Center.

4. Transport that new bundle to Target instance via pre-define pair.

5. Login Target instance and navigate to Configuration Transport Center.

6. When importing the transported bundle, a validation error happened.

7. Download the log file and find the error message "Errors encountered for key [Rule ID : sap_test_same_ID_liu, Start Date : 01/01/1900 ]. Errors: [ {This external code [SAP_TEST_SAME_ID_LIU] already exists. Try another.}]".

Cause

The error occurred because the Rule ID entity is non-case-sensitive. Therefore, two Rule IDs with different casing cannot exist in the same instance at the same time for a Business Rule.

During the transportation of entities via the Configuration Transport Center, the system operates in full purge mode. This means that it matches all the entities in a case-sensitive manner, as some entities in the Configuration Transport Center are case-sensitive.

In this case, the tool is unable to find the Rule ID "sap_test_same_ID_liu" in the Target instance, so it creates a new Rule ID.
However, during the creation of the new Rule ID, it validates again in a non-case-sensitive mode. Since the Rule ID "SAP_TEST_SAME_ID_LIU" already exists in the Target instance, the validation process throws an error.

Resolution

Go to the Target instance and delete the Rule ID as "SAP_TEST_SAME_ID_LIU". After that, it will be possible to transport that rule to Target instance.

See Also

3047688 - Configuration Transport Center - SAP SuccessFactors

Keywords

Configuration Transport Center, validation error, This external code already exists. Try another, case-sensitive, business rule, full purge , KBA , LOD-SF-PLT-CGC , Configuration Center , Problem

Product

SAP SuccessFactors HCM Suite all versions