Symptom
Error message: "Cannot delete a node with leaves in an active standard hierarchy" encountered during the import of standard cost center hierarchy in Manage Global Hierarchies app.
Environment
SAP S/4HANA Cloud Public edition.
Reproducing the Issue
- Access the Manage Global Hierarchies (ID: F2918).
- Export the cost center hierarchy from Standard cost center hierarchy (Hierarchy ID: 0001 or 1) in the Customizing system.
- Import the exported hierarchy nodes file into the Test system.
- Observe the error message: "Cannot delete a node with leaves in an active standard hierarchy."
Cause
This error arises due to restrictions on the standard cost center hierarchy (Hierarchy ID 0001 or 1). The system does not allow deletion or modification of primary nodes within the active standard hierarchy, which is a pre-delivered SAP object and protected by design.
During the import process, the system attempts to reconcile the imported hierarchy with the existing one, which may involve actions such as deleting or restructuring nodes. However, these actions are not permitted for the standard hierarchy if nodes have cost centers assigned.
Resolution
- Cost Center Standard Hierarchy 0001 is created automatically when creating the first cost center.
- Create an alternative hierarchy according to business needs, see Manage Global Hierarchies | SAP Help Portal
See Also
Keywords
cost center hierarchy, standard hierarchy, sap s/4hana cloud public edition, hierarchy import error, cannot delete node, active standard hierarchy, manage global hierarchy, hierarchy ID 0001, import spreadsheet, hierarchy restrictions, hierarchy reconciliation, F2918 , KBA , FI-FIO-GL-HIE-2CL , Hierarchy Applications in General Ledger (Public Cloud) , How To
SAP Knowledge Base Article - Public