Do you have any question about this error?
Message type: E = Error
Message class: CZ - Customizing messages
Message number: 253
Message text: CoCode & still has accounting documents. Cannot be deleted.
You want to delete Company code &V1& but it still has accounting
documents.
You cannot delete the Company code.
If you are sure you want to delete the Company code, you should first
delete its accounting documents.
Error message extract from SAP system. Copyright SAP SE.
CZ253
- CoCode & still has accounting documents. Cannot be deleted. ?The SAP error message CZ253 indicates that a company code (CoCode) still has accounting documents associated with it, which prevents the deletion of the company code. This is a common issue when trying to delete a company code in SAP, as the system enforces data integrity by ensuring that all related financial documents are cleared before allowing deletion.
Cause:
The primary cause of this error is that there are existing accounting documents (such as invoices, journal entries, etc.) linked to the company code you are trying to delete. SAP does not allow the deletion of a company code that has any financial transactions recorded against it to maintain the integrity of financial data.
Solution:
To resolve this issue, you need to follow these steps:
Identify Existing Documents:
- Use transaction codes like FB03 (Display Document) or FBL1N (Vendor Line Item Display) to check for any existing accounting documents related to the company code.
- You can also use transaction S_E6B_50000003 (List of Accounting Documents) to get a comprehensive list of documents.
Clear or Archive Documents:
- If you find documents that are no longer needed, you can either:
- Reverse the documents if they are not required anymore.
- Archive the documents if they need to be retained for historical purposes but do not need to be active in the system.
- Use transaction FB08 to reverse documents or SARA for archiving.
Check for Other Dependencies:
- Ensure that there are no other dependencies such as open items in accounts payable or receivable, or any other related financial transactions that might be preventing the deletion.
Delete Company Code:
- Once all accounting documents and dependencies are cleared, you can proceed to delete the company code using transaction OX19 (Edit Company Code).
Related Information:
Transaction Codes:
Documentation: Refer to SAP Help documentation for detailed steps on managing company codes and handling accounting documents.
Consulting with SAP Support: If you are unable to identify the documents or if the issue persists, consider reaching out to your SAP support team or consulting with SAP experts for further assistance.
By following these steps, you should be able to resolve the CZ253 error and successfully delete the company code if it is no longer needed.
Get instant SAP help. Start your 7-day free trial now.
CZ252
Determination of jurisdiction code is not necessary for plant &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
CZ251
Jurisdiction code cannot be determined externally for plant &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
CZ254
Structure & does not exist
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
CZ255
CoCode & still has customer master records. Cannot be deleted.
What causes this issue? You want to delete Company code &V1& but it still has customer master records.System Response You cannot delete the ...
Click on this link to search all SAP messages.