SAP Knowledge Base Article - Public

2780957 - Wrongly created company code in S/4HANA CLOUD

Symptom

An unwanted company code was created in one of your country solutions and it is not possible to delete or reassign it to another country.

Environment

  • S/4HANA Cloud 

Cause

A company code can only be created for the country solution within which it is activated. There is a lot of content that is activated for a company code and these settings may vary between country solutions, not least because of legal requirements. Therefore the country of the company code must match the country solution, and it is not possible to move a company code between country solutions, as this could very possibly lead to data inconsistencies.

Furthermore, once a company code has been activated there is no possibility to delete the record.

Resolution

In case a company code has been created and activated in the wrong country the only solution is to mark the wrongly created company code with something like "DO NOT USE" and create the company code using the correct country solution.

Keywords

Flex-org, not able to edit company code, mistakenly created , KBA , SV-CLD-FRM-APP , Flexorg, CCF, Foreign Key Check , How To

Product

SAP S/4HANA Cloud all versions