How To Fix >0158 - Posting on account is not permitted in the active distribution routine


SAP Error Message - Details

  • Message type: E = Error

  • Message class: >0 - General Basis texts

  • Message number: 158

  • Message text: Posting on account is not permitted in the active distribution routine

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message >0158 - Posting on account is not permitted in the active distribution routine ?

    The SAP error message 0158 ("Posting on account is not permitted in the active distribution routine") typically occurs in the context of financial postings, particularly when dealing with account assignments and distribution routines in SAP's Financial Accounting (FI) or Controlling (CO) modules. This error indicates that the system is trying to post to an account that is currently restricted by the active distribution routine.

    Cause:

    1. Active Distribution Routine: The error usually arises when a distribution routine is set up in such a way that it does not allow postings to certain accounts. This could be due to configuration settings that restrict posting to specific accounts during certain processes.
    2. Account Assignment: The account you are trying to post to may not be allowed for the type of transaction you are attempting to execute.
    3. Configuration Issues: There may be issues in the configuration of the distribution routine or the account assignment logic that prevent the posting.

    Solution:

    1. Check Distribution Routine: Review the active distribution routine in the configuration settings. You may need to modify the routine to allow postings to the account in question.

      • Navigate to the relevant configuration path in SAP (e.g., SPRO > Financial Accounting > General Ledger > Master Data > G/L Account > Edit G/L Account Centrally).
      • Check the settings for the distribution routine and see if it allows postings to the account you are trying to use.
    2. Account Assignment: Ensure that the account you are trying to post to is correctly set up for the type of transaction you are executing. This may involve checking the account type, status, and any restrictions that may be in place.

    3. Consult Documentation: Review SAP documentation or help files related to distribution routines and account postings to understand the specific rules and configurations that apply.

    4. Testing: If changes are made to the distribution routine or account settings, perform testing to ensure that the changes resolve the issue without introducing new problems.

    5. Consult with SAP Support: If the issue persists after checking the configuration and settings, consider reaching out to SAP support or your internal SAP team for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OBY6 (for defining the distribution routine) and FS00 (for G/L account master data).
    • Documentation: SAP Help Portal and community forums can provide additional insights and user experiences related to this error.
    • User Roles: Ensure that you have the necessary authorizations to make changes to the distribution routines and account settings.

    By following these steps, you should be able to identify the cause of the 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'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