Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix PM158 - G/L account with number &1 is not maintained in the G/L account master


PM158 - Overview

  • 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

  • Show details Hide details
  • What causes this issue?

    The G/L account entered does not exist for the respective company code
    in the G/L account master record.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    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 - Details

  • 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

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


PM158 - Related SAP Errors

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