SAP Message /BEV2/EDMESS1216 - Stock ledger grp &1 cannot be deleted as still a reference in group &2

Diagnosis
The stock ledger group &v1& has been entered asstock ledger reference group in the stock ledger group &V2&.
As long as there are references to a stock ledger group, it cannot bedeleted.

System Response
Deleting the stock ledger group &v1& is denied.

Procedure
Erase all references to the stock ledger group.