How To Fix M8161 - Account type & is not permitted with document type &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: M8 - Invoice Verification/Valuation

  • Message number: 161

  • Message text: Account type & is not permitted with document type &

  • Show details Hide details
  • What causes this issue?

    In MM Customizing (Invoice verification), permitted account types are
    defined for each document type. In this case, you tried to make a
    posting that your system configuration does not allow.

    How to fix this error?

    Check whether the document type &V2& is correct
    If the document type is not correct, you must end the processing.
    Reselect <LS>Create invoice</> and enter the correct document type on
    the initial screen.
    This document type is checked according to the system configuration

    <DS:TRAN.OMB0>Proceed</>


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message M8161 - Account type & is not permitted with document type & ?

    The SAP error message M8161 indicates that there is a mismatch between the account type and the document type in a transaction. This error typically occurs during the posting of a material document, such as a goods movement or inventory adjustment, where the system checks the compatibility of the account type with the specified document type.

    Cause:

    The error is caused by the following reasons:

    1. Account Type Restrictions: The account type being used in the transaction is not allowed for the specified document type. For example, certain document types may only allow specific account types (e.g., asset accounts, expense accounts, etc.).
    2. Configuration Issues: The configuration settings in the SAP system may not allow the combination of the account type and document type being used. This can happen if the settings in the Financial Accounting (FI) or Materials Management (MM) modules are not aligned.
    3. Incorrect Document Type: The document type being used may not be appropriate for the transaction being performed, leading to the error.

    Solution:

    To resolve the M8161 error, you can take the following steps:

    1. Check Document Type and Account Type:

      • Verify the document type you are using in the transaction and ensure it is appropriate for the account type you are trying to post to.
      • Review the account type settings in the configuration to ensure they are compatible with the document type.
    2. Review Configuration Settings:

      • Go to the configuration settings in SAP (Transaction code SPRO) and navigate to the relevant sections for Financial Accounting (FI) and Materials Management (MM).
      • Check the settings for document types and account types to ensure that the combinations you are using are allowed.
    3. Consult with SAP Support or Functional Consultant:

      • If you are unable to resolve the issue through configuration changes, consult with your SAP support team or a functional consultant who can provide insights into the specific settings and help you adjust them as needed.
    4. Testing:

      • After making any changes, perform a test transaction to ensure that the error has been resolved and that the posting can be completed successfully.

    Related Information:

    • Transaction Codes: You may need to use transaction codes such as OBY6 (for document types) or OBA7 (for account types) to review and modify the relevant settings.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional guidance on configuration settings.
    • Documentation: Review SAP documentation related to document types and account types for a better understanding of how they interact.

    By following these steps, you should be able to identify the cause of the M8161 error and implement a solution to resolve it.

    • 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