Do you have any question about this error?
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
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.
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.
>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:
- 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.
- Account Assignment: The account you are trying to post to may not be allowed for the type of transaction you are attempting to execute.
- Configuration Issues: There may be issues in the configuration of the distribution routine or the account assignment logic that prevent the posting.
Solution:
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.
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.
Consult Documentation: Review SAP documentation or help files related to distribution routines and account postings to understand the specific rules and configurations that apply.
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.
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:
OBY6
(for defining the distribution routine) and FS00
(for G/L account master data).By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
>0157
Position the cursor on the required item
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
>0156
No items defined or changed for clearing
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
>0159
Item &1 is contained in installment plan &2; change installment plan
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
>0160
Installment plan docs cannot be reversed; deactivate installment plan
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.