Symptom
After created an Organizational entitie by mistake, like a Company Code or Plant you want to delete this.
Environment
- SAP S/4HANA Cloud Public Edition
- Central Business Configuration
Resolution
SAP do not have provision to physically delete any Organizational Structure Entity for an activated SAP S/4HANA Cloud Public Edition system. Once an organizational unit or assignment is confirmed, it cannot be deleted or unassigned. Our suggestion is to maintain description of the unwanted record as DO NOT USE.
This is also valid to any of the organizational units (Service Structure, for instance) that are covered by the app: once activated, deletion is not possible, and any org unit relationship created by SAP best practice content scoping bundles.
Once the org unit or relationship has been activated this may be being used in several other tables and transactions, so any attempt to delete this entry could potentially lead to system inconsistencies.
What IS possible is the deprecation of certain org units. This requires an SAP expert configuration which needs to be requested by the customer and signed off, because an SAP service employee will do the requested changes within the customers SAP S/4HANA Cloud Public Edition system. Currently we can deprecate these org units:
Storage Location, Purchasing Organization, Shipping Point, Sales Group, Sales Office.
The deprecation can be revoked, this has the consequence that the name of the deprecated org unit cannot be used again or twice.
Pre- requisites the customer MUST perform before a deprecation takes place:
· All the in transit documents related to the Storage Locations needs to be closed. Otherwise, an error will show in deprecation.
· All the related material stock needs to be cleared. Otherwise, an error will show in deprecation. What steps should be done for the clean-up.
· The Storage location must not be referenced by any Kanban Control cycle or Handling Unit
· The Storage location must not be Warehouse managed, so please delete all assignments here.
· The Storage location must not be referenced in any QM customizing, Inspection Lots, Material Samples, Quality Notifications or Defects
For MRP (material requirements planning) related issues please unassign the MRP area to SLOC/Plant using SSCUI 103068.
· All tasks must be done in all systems (Productive, Test, Development)
See Also
KBA 2780957 - Wrongly created company code in SAP S/4HANA Cloud Public Edition
KBA 3138435 - Deactivate or Closure of a Productive Company Code
Keywords
Org Structure, SSCUI, Manage your solution, Configure your solution, delete, CBC , KBA , SV-CLD-FRM-APP , Flexorg, Foreign Key Check , How To