Message type: E = Error
Message class:  G01 - SAP Consolidation 
Message number: 151
Message text: Item &1 still being used - can not be deleted
Transaction data still exists in the database for FS item &V1& in cons
chart of accounts &V2&.
Item &V1& cannot be deleted.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message G01151 ("Item &1 still being used - cannot be deleted") typically occurs when you attempt to delete an item (such as a line item in a document) that is still being referenced or used in the system. This can happen in various contexts, such as when dealing with purchase orders, sales orders, or other transactional documents.
Cause:
Active References: The item you are trying to delete is still linked to other documents or processes. For example, it may be part of an open purchase order, sales order, or invoice.
Dependencies: There may be dependencies on the item in other modules or transactions, such as inventory management, accounting, or logistics.
Status of Document: The document containing the item may be in a status that does not allow for deletion (e.g., it is already processed or completed).
Custom Logic: There may be custom validations or logic implemented in the system that prevent deletion
Get instant SAP help. Sign up for our Free Essentials Plan. 
G01150 * 150-179 Consistency Check *********************************************
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
G01118 &1 is not included in the selection for characteristic &2
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
G01152 Breakdown category &1 still being used - cannot be deleted
What causes this issue?  Breakdown category &V1& is still being used by one or more items in cons chart of accounts &V2&.System Respon...
G01153 Upper-level item &3 has a different fixed value for subassignment &4
What causes this issue?  Breakdown category &V1& of the current item and breakdown category &V2& of item &V3&, which is in the...
Click on this link to search all SAP messages.