Do you have any question about this error?
Message type: E = Error
Message class: P9 - EU-Specific Messages: Pymnt Program, Banks, Pymnt Methods
Message number: 158
Message text: G/L account with number &1 is not maintained in the G/L account master
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.
P9158
- G/L account with number &1 is not maintained in the G/L account master ?The SAP error message P9158 indicates that a General Ledger (G/L) account with the specified number is not maintained in the G/L account master data. This typically occurs when you attempt to post a transaction to a G/L account that has not been properly set up in the system.
Cause:
- Missing G/L Account Master Data: The G/L account you are trying to use has not been created or activated in the system.
- Incorrect Account Number: The account number entered may be incorrect or may not exist in the chart of accounts.
- Inactive G/L Account: The G/L account may exist but is marked as inactive or has been deleted.
- Chart of Accounts Issues: The G/L account may not be assigned to the correct chart of accounts for the company code you are working with.
Solution:
Create or Maintain G/L Account:
- Go to the transaction code FS00 (G/L Account Master Record).
- Enter the G/L account number and the company code.
- If the account does not exist, create a new G/L account by filling in the required fields (account type, account group, etc.).
- If the account exists but is inactive, check the status and activate it if necessary.
Verify Account Number:
- Double-check the G/L account number you are using in your transaction to ensure it is correct.
Check Chart of Accounts:
- Ensure that the G/L account is assigned to the correct chart of accounts for your company code.
- You can check this in the G/L account master data or by using transaction code OB13 (Define Chart of Accounts).
Consult with Finance Team:
- If you are unsure about the creation or maintenance of G/L accounts, consult with your finance or accounting team to ensure compliance with accounting policies.
Related Information:
By following these steps, you should be able to resolve the P9158 error and successfully post your transactions.
Get instant SAP help. Start your 7-day free trial now.
P9157
A name for clearing account &1 in chart of accounts &2 is not maintained
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
P9156
A name for G/L acct &1 in chart of accts &2 is not maintained
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
P9159
Clearing account with number &1 is not maintained in the G/L acct master
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
P9160
Enter a G/L account
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.