Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: PM - Extended Payment Functions
Message number: 158
Message text: G/L account with number &1 is not maintained in the G/L account master
The G/L account entered does not exist for the respective company code
in the G/L account master record.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Maintain the G/L account in the G/L account master record (company
codes).
Restart the transaction.
Error message extract from SAP system. Copyright SAP SE.
PM158
- G/L account with number &1 is not maintained in the G/L account master ?The SAP error message PM158 indicates that a General Ledger (G/L) account specified in a transaction is not maintained in the G/L account master data. This typically occurs when you attempt to post a transaction that references a G/L account that has not been set up correctly or is missing in the system.
Cause:
- Missing G/L Account: The G/L account specified in the transaction does not exist in the system.
- Inactive G/L Account: The G/L account may exist but is marked as inactive or not available for postings.
- Incorrect Account Assignment: The account may not be assigned to the correct company code or chart of accounts.
- Data Entry Error: There may be a typographical error in the G/L account number entered in the transaction.
Solution:
Check G/L Account Master Data:
- Go to the transaction code FS00 (G/L Account Master Record) and check if the G/L account number exists.
- Ensure that the account is active and properly configured for the relevant company code and chart of accounts.
Create or Activate G/L Account:
- If the G/L account does not exist, create it using transaction code FS00.
- If it exists but is inactive, you may need to activate it or adjust its settings to allow postings.
Verify Account Assignment:
- Ensure that the G/L account is assigned to the correct company code and that it is set up for the appropriate account type (e.g., asset, expense, revenue).
Correct Data Entry:
- Double-check the G/L account number entered in the transaction for any typographical errors.
Consult with Finance Team:
- If you are unsure about the correct G/L account to use, consult with your finance or accounting team to ensure you are using the appropriate account for the transaction.
Related Information:
Transaction Codes:
Documentation: Refer to SAP documentation or your organization's internal guidelines for managing G/L accounts and financial postings.
User Roles: Ensure that you have the necessary authorizations to view or modify G/L account master data.
By following these steps, you should be able to resolve the PM158 error and successfully process your transaction.
Get instant SAP help. Sign up for our Free Essentials Plan.
PM157
A name for clearing account &1 in chart of accounts &2 is not maintained
What causes this issue? The long text name belonging to the G/L account specified has not been maintained.System Response The system issues an error...
PM156
A name for G/L acct &1 in chart of accts &2 is not maintained
What causes this issue? The long text name for the G/L account specified is not maintained.System Response The system issues an error message and wi...
PM159
Clearing account with number &1 is not maintained in the G/L acct master
What causes this issue? The G/L account entered does not exist for the respective company code in the G/L account master record (table SKB1).System R...
PM160
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.