How To Fix M8009 - Posting key & not defined for account type 'K'


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M8 - Invoice Verification/Valuation

  • Message number: 009

  • Message text: Posting key & not defined for account type 'K'

  • Show details Hide details
  • What causes this issue?

    You have entered a posting key that is not allowed for the account type
    "Supplier".

    How to fix this error?

    Change the posting key.
    If you do not know the correct posting key, you can position the cursor
    on the input field and press F4. You will then obtain a list of all
    posting keys from which you can choose the correct posting key directly.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M8009 - Posting key & not defined for account type 'K' ?

    The SAP error message M8009 indicates that there is an issue with the posting key being used for a transaction involving an account type 'K', which typically refers to vendor accounts in SAP. This error occurs when the posting key specified in the transaction is not defined for the account type in question.

    Cause:

    1. Undefined Posting Key: The posting key you are trying to use is not configured for the account type 'K' (vendor accounts) in the system.
    2. Configuration Issues: There may be a configuration issue in the Financial Accounting (FI) module where the posting keys are not properly set up for the specific account type.
    3. Transaction Type: The transaction you are trying to perform may not be compatible with the posting key you are using.

    Solution:

    1. Check Posting Key Configuration:

      • Go to the SAP transaction code OB41 (for defining posting keys).
      • Verify that the posting key you are using is defined for account type 'K'.
      • If it is not defined, you may need to create or modify the posting key to include the account type 'K'.
    2. Use Correct Posting Key:

      • Ensure that you are using the correct posting key for the transaction you are trying to perform. For vendor accounts, common posting keys include 31 (for vendor invoices) and 21 (for vendor credit memos).
    3. Consult with SAP Administrator:

      • If you do not have the necessary permissions to change the configuration, consult with your SAP administrator or the finance team to ensure that the posting keys are set up correctly.
    4. Review Transaction Type:

      • Make sure that the transaction type you are trying to execute is appropriate for the posting key you are using. For example, if you are trying to post a payment, ensure that the posting key is suitable for that type of transaction.

    Related Information:

    • Posting Keys: Posting keys are two-digit numbers that control the type of transaction being posted (debit or credit) and the type of account (e.g., customer, vendor, general ledger).
    • Account Types: In SAP, account types are designated by letters, such as 'K' for vendor accounts, 'D' for customer accounts, and 'S' for general ledger accounts.
    • SAP Documentation: For more detailed information, refer to the SAP Help Portal or the specific documentation related to Financial Accounting configuration.

    By following these steps, you should be able to resolve the M8009 error and successfully post your transaction.

    • 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