Symptom
- When attempting to edit a cost center hierarchy in Parallel Customizing system, the application reports it is locked by a user who does not exist in the current environment.
- Selecting the option to cancel the lock results in an error and the lock remains in place.
- The issue persists even after discarding drafts and performing a Rebase from Main line to Parallel line.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open Manage Global Hierarchies and select the Cost Center Hierarchy.
- Click Edit; the app indicates the hierarchy is locked by an unknown user.
- Choose Cancel Lock; error "Cannot cancel editing because this hierarchy is locked by " appears and the lock is not removed.
Cause
When a Cost Center Hierarchy is copied from Main line to Parallel line, the Edit lock and Last Changed time is also replicated. It is possible to cancel edit two hours after the Last Changed Time.
A recent rebase can update the hierarchy’s last edit time. The system requires both the lock time and the last edit time to be older than two hours before it allows cancelling the lock. Because the last edit time was within two hours, cancelling the lock failed and the “locked by” information (copied during rebase) persisted.
Resolution
- Wait until at least two hours have elapsed since the last edit to the hierarchy (for example, after a recent rebase).
- Open the hierarchy, choose Edit, and when prompted, select the option to cancel the lock.
See Also
Keywords
cost center hierarchy, manage global hierarchies, edit lock, cancel lock, locked by user, unknown user, rebase, last edit time, lock time, two-hour limit, cannot edit hierarchy, hierarchy locked, customizing line, parallel line, sap s/4hana cloud , KBA , FI-FIO-GL-HIE-2CL , Hierarchy Applications in General Ledger (Public Cloud) , Problem
SAP Knowledge Base Article - Public