Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix FC321 - Company code & contains documents, cannot therefore be deleted


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FC - FI configuration error messages

  • Message number: 321

  • Message text: Company code & contains documents, cannot therefore be deleted

  • Show details Hide details
  • What causes this issue?

    Accounting documents have already been posted for company code &V1&.
    It is therefore not possible to delete this company code.

    System Response

    Messsage saying that company code &V1& will not be deleted.

    How to fix this error?

    If you really want to delete company code &V1&, you must first delete
    the transaction data in this company code.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FC321 - Company code & contains documents, cannot therefore be deleted ?

    The SAP error message FC321 indicates that a specific company code contains documents, which prevents it from being deleted. This is a common issue when trying to delete a company code in SAP, as the system requires that all associated financial documents and transactions be cleared before a company code can be removed.

    Cause:

    1. Existing Documents: The company code has financial documents (like invoices, payments, etc.) that are still active or posted in the system.
    2. Open Periods: There may be open accounting periods that contain transactions related to the company code.
    3. Dependencies: Other modules or components (like Asset Accounting, Controlling, etc.) may have dependencies on the company code.

    Solution:

    To resolve the FC321 error and successfully delete the company code, follow these steps:

    1. 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.
      • Run reports to identify any open items or transactions.
    2. Clear Open Items:

      • Clear any open items associated with the company code. This may involve posting clearing entries or reversing transactions.
      • Ensure that all invoices, payments, and other financial documents are either cleared or archived.
    3. Close Open Periods:

      • Ensure that all accounting periods related to the company code are closed. This can be done through transaction OB52 (Open and Close Posting Periods).
    4. Check Dependencies:

      • Review any dependencies in other modules (like Asset Accounting) that may be linked to the company code. Ensure that all related transactions are also cleared.
    5. Use Transaction Code OX19:

      • After clearing all documents and dependencies, you can attempt to delete the company code using transaction code OX19 (Edit Company Code).
    6. Consult Documentation:

      • Refer to SAP documentation or consult with your SAP support team for specific procedures related to your organization's configuration.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as:
      • FB03: Display Document
      • FBL1N: Vendor Line Item Display
      • OB52: Open and Close Posting Periods
      • OX19: Edit Company Code
    • SAP Notes: Check SAP Notes for any specific guidance or updates related to the error message FC321.
    • Backup: Always ensure that you have a backup of your data before making significant changes like deleting a company code.

    By following these steps, you should be able to resolve the FC321 error and successfully delete the company code if it is no longer needed.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author