How To Fix M8007 - G/L account & blocked/flagged for deletion


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M8 - Invoice Verification/Valuation

  • Message number: 007

  • Message text: G/L account & blocked/flagged for deletion

  • Show details Hide details
  • What causes this issue?

    You have attempted to make a posting to a G/L account that is flagged
    for deletion or blocked for posting in the chart of accounts or in
    the company code.

    How to fix this error?

    Check your entry. If necessary, contact the person responsible for the
    chart of accounts.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M8007 - G/L account & blocked/flagged for deletion ?

    The SAP error message M8007 indicates that a General Ledger (G/L) account is blocked or flagged for deletion. This typically occurs when you attempt to post a transaction to a G/L account that has been marked as inactive or is in the process of being deleted. Here’s a breakdown of the cause, potential solutions, and related information:

    Cause:

    1. Blocked G/L Account: The G/L account has been set to "blocked" status, which prevents any postings to it.
    2. Flagged for Deletion: The account is marked for deletion, indicating that it is no longer in use and should not be posted to.
    3. Configuration Issues: There may be configuration settings in the chart of accounts or company code that restrict the use of certain accounts.
    4. User Permissions: The user may not have the necessary permissions to post to the account.

    Solution:

    1. Check Account Status:

      • Go to the G/L account master data (transaction code FS00).
      • Enter the account number and check the status. If it is blocked or flagged for deletion, you will need to change its status.
    2. Unblock the Account:

      • If the account is blocked, you can remove the block by editing the account master data. Make sure to save the changes.
    3. Remove Deletion Flag:

      • If the account is flagged for deletion, you can remove the deletion flag in the account master data. This will allow postings to the account again.
    4. Consult with Finance Team:

      • If you are unsure about unblocking or removing the deletion flag, consult with your finance or accounting team to ensure that it is appropriate to do so.
    5. Check User Permissions:

      • Ensure that the user attempting to post has the necessary permissions to post to the G/L account. This may involve checking user roles and authorizations.
    6. Review Configuration:

      • If the issue persists, review the configuration settings in the chart of accounts and company code to ensure that there are no restrictions on the account.

    Related Information:

    • Transaction Codes:

      • FS00: G/L Account Master Data
      • FBL3N: G/L Account Line Item Display (to check postings)
    • Documentation: Refer to SAP Help documentation for more details on G/L account management and error handling.

    • Support: If the issue cannot be resolved internally, consider reaching out to SAP support for further assistance.

    By following these steps, you should be able to resolve the M8007 error and continue with your postings.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant