How To Fix 5M157 - Bank number and account no. or PBS number must be maintained.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 5M - Error Messages for Denmark

  • Message number: 157

  • Message text: Bank number and account no. or PBS number must be maintained.

  • 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 5M157 - Bank number and account no. or PBS number must be maintained. ?

    The SAP error message 5M157 indicates that there is a missing or incorrect configuration related to bank details in the system. Specifically, it means that the bank number and account number (or PBS number) must be maintained for a particular vendor, customer, or employee in the relevant master data.

    Cause:

    1. Missing Bank Details: The vendor, customer, or employee master record does not have the required bank details filled in.
    2. Incorrect Configuration: The bank details may be incorrectly configured or not set up according to the requirements of the transaction being processed.
    3. Data Entry Error: There may be a typographical error in the bank number or account number fields.

    Solution:

    To resolve this error, you can follow these steps:

    1. Check Master Data:

      • Navigate to the relevant master data record (Vendor, Customer, or Employee).
      • Ensure that the bank details (bank number and account number) are correctly maintained.
      • In the case of vendors, you can check this in transaction code XK02 (Change Vendor) or FK02 (Change Vendor - Accounting).
      • For customers, use FD02 (Change Customer - Accounting).
    2. Maintain Bank Details:

      • If the bank details are missing, enter the correct bank number and account number.
      • Ensure that the bank number is valid and corresponds to the correct bank in the system.
    3. Check for PBS Number:

      • If applicable, ensure that the PBS number is also maintained if your organization uses it for bank transactions.
    4. Validate Data:

      • After entering the required information, validate the data to ensure there are no errors.
      • Save the changes and try to execute the transaction again.
    5. Consult Documentation:

      • If you are unsure about the correct bank details, consult your organization's documentation or the finance department for the correct information.
    6. Authorization:

      • Ensure that you have the necessary authorization to make changes to the master data. If not, contact your system administrator.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes for maintaining master data (e.g., XK02 for vendors, FD02 for customers).
    • Bank Master Data: Understand how bank master data is structured in your SAP system, including the relationship between bank accounts and vendors/customers.
    • SAP Notes: Check SAP Notes for any specific patches or updates related to this error message, as there may be known issues or fixes provided by SAP.

    By following these steps, you should be able to resolve the error message 5M157 and ensure that the necessary bank details are maintained in the system.

    • 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