Do you have any question about this error?
Message type: E = Error
Message class: 881 - Recycling Administration
Message number: 037
Message text: Company code is still used for documents. Cannot delete.
The company code is still assigned to at least one document.
The company code cannot be deleted.
Check all of the recycling partner's documents in the detail screen and
delete the company code from the assignment.
Instead of deleting, you can also suppress the use of the company code
by <DS:DE.J_7LRESTAT>deactivating</> it.
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.
881037
- Company code is still used for documents. Cannot delete. ?The SAP error message 881037, which states "Company code is still used for documents. Cannot delete," typically occurs when you attempt to delete a company code that is still associated with existing financial documents or transactions in the system. This is a safeguard to prevent the loss of important financial data.
Cause:
- Existing Documents: The company code has financial documents (like invoices, journal entries, etc.) that are still active or have not been archived.
- Open Periods: There may be open accounting periods that are still linked to the company code.
- Dependencies: Other objects (like cost centers, profit centers, etc.) may still reference the company code.
Solution:
To resolve this error and successfully delete the company code, follow these steps:
Identify Existing Documents:
- Use transaction codes like FB03 (Display Document) or FBL1N (Vendor Line Item Display) to check for any existing documents related to the company code.
- You can also use the report S_ALR_87012357 (Document Overview) to find documents associated with the company code.
Clear Open Items:
- If there are open items, you may need to clear them by processing payments, clearing accounts, or reversing transactions.
Close Open Periods:
- Ensure that all accounting periods are closed. You can check this in the OB52 transaction (Maintain Table T001B) to see if there are any open periods.
Check for Dependencies:
- Review related objects like cost centers, profit centers, and other master data that may still reference the company code. You may need to delete or change these references before you can delete the company code.
Archiving:
- If the documents are no longer needed, consider archiving them. This can be done through the archiving process in SAP, which will remove the documents from the active database but keep them accessible for reporting.
Use Transaction OX19:
- After ensuring that there are no dependencies, you can attempt to delete the company code again using transaction OX19 (Edit Company Code).
Related Information:
Documentation: Refer to SAP Help documentation for detailed steps on managing company codes and financial documents.
Transaction Codes: Familiarize yourself with relevant transaction codes such as:
Consulting SAP Notes: Check SAP Notes for any specific patches or updates related to this error message.
If you continue to face issues, it may be beneficial to consult with your SAP Basis or Finance team for further assistance.
Get instant SAP help. Start your 7-day free trial now.
881036
Company code is still used. Cannot delete.
What causes this issue? The selected company code is still used for the recycling partner/country in the REA master data.System Response The company...
881035
Packaging category is still used. Cannot delete.
What causes this issue? The selected <DS:DE.J_7LVRPKT>packaging category</> is still used in the REA master data.System Response The pac...
881038
Trade level is still used in Customizing
What causes this issue? The trade level is still used as a default value in <DS:TRAN.J7LRRE711000113>REA Customizing -> General Control ->...
881039
Assign a unique value to the selection criterion "&1"
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.