How To Fix FC322 - Company code & contains customers, cannot therefore be deleted


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FC - FI configuration error messages

  • Message number: 322

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

  • Show details Hide details
  • What causes this issue?

    Customer master records have already been created 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 customer master records 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 FC322 - Company code & contains customers, cannot therefore be deleted ?

    The SAP error message FC322 indicates that a company code cannot be deleted because it contains customer master records. This is a safeguard in SAP to prevent the deletion of company codes that are still in use, as it could lead to data integrity issues.

    Cause:

    The error occurs when you attempt to delete a company code that has associated customer master records. This means that there are still customers linked to that company code, and SAP does not allow the deletion of a company code while it is still in use.

    Solution:

    To resolve this error, you need to follow these steps:

    1. Identify Customer Records:

      • Use transaction code FD03 (Display Customer) or SE16 (Data Browser) to check for existing customer records associated with the company code you are trying to delete.
      • You can also use transaction KNA1 to view customer master data.
    2. Delete or Archive Customer Records:

      • If the customer records are no longer needed, you can delete them using transaction code FD02 (Change Customer) and then mark them for deletion.
      • Alternatively, if you want to keep the customer data for historical purposes, consider archiving the customer records instead of deleting them.
    3. Check for Other Dependencies:

      • Ensure that there are no other dependencies or records (like vendor records, open items, etc.) associated with the company code that might prevent deletion.
    4. Delete the Company Code:

      • Once all customer records and any other dependencies have been addressed, you can proceed to delete the company code using transaction code OX02 (Edit Company Code).

    Related Information:

    • Transaction Codes:

      • FD03: Display Customer
      • FD02: Change Customer
      • KNA1: Customer Master Data
      • OX02: Edit Company Code
      • SE16: Data Browser
    • Data Integrity: Always ensure that you have backups and that you understand the implications of deleting master data in SAP, as it can affect reporting and historical data.

    • Authorization: Ensure you have the necessary authorizations to delete customer records and company codes.

    • Consult Documentation: Refer to SAP documentation or consult with your SAP administrator for specific guidelines and best practices related to data deletion in your organization.

    By following these steps, you should be able to resolve the FC322 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. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker