How To Fix M7160 - G/L account & flagged for deletion in company code &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M7 - Inventory Management and Physical Inventory

  • Message number: 160

  • Message text: G/L account & flagged for deletion in company code &

  • Show details Hide details
  • INCLUDE NA_SKTO_LOESCH

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M7160 - G/L account & flagged for deletion in company code & ?

    The SAP error message M7160 indicates that a General Ledger (G/L) account is flagged for deletion in a specific company code. This means that the account is marked as inactive and cannot be used for transactions in that company code.

    Cause:

    The error occurs when you attempt to post a transaction to a G/L account that has been flagged for deletion. This flag is typically set when the account is no longer needed for financial reporting or transactions, and it is a part of the account management process in SAP.

    Solution:

    To resolve this error, you have a few options:

    1. Check the Account Status:

      • Go to the G/L account master data in SAP (Transaction Code: FS00).
      • Enter the G/L account number and the company code.
      • Check if the "Flag for Deletion" checkbox is selected. If it is, you will need to remove this flag if the account is still needed.
    2. Remove the Deletion Flag:

      • If the account is still required, you can remove the deletion flag:
        • In the G/L account master data screen, uncheck the "Flag for Deletion" checkbox.
        • Save the changes.
    3. Use an Alternative Account:

      • If the account is indeed no longer needed, you should use an alternative G/L account that is active and not flagged for deletion for your transactions.
    4. Consult with Finance Team:

      • If you are unsure whether to remove the deletion flag or not, consult with your finance or accounting team to ensure that the account management policies are followed.

    Related Information:

    • Transaction Codes:

      • FS00: G/L Account Master Data
      • FBL3N: G/L Account Line Item Display (to check transactions related to the account)
    • Account Management:

      • It's important to regularly review G/L accounts to ensure that they are properly maintained and that any accounts that are no longer needed are flagged for deletion to keep the chart of accounts clean.
    • Documentation:

      • Refer to SAP documentation or your organization's internal guidelines for managing G/L accounts for more detailed procedures and policies.

    By following these steps, you should be able to resolve the M7160 error and continue with your financial transactions in SAP.

    • 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