How To Fix WS157 - Clearing account found for item &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 157

  • Message text: Clearing account found for item &

  • 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 WS157 - Clearing account found for item & ?

    Certainly! Here's a detailed explanation for the SAP error message WS157: Clearing account found for item &:


    Error Message

    WS157: Clearing account found for item &


    Cause

    This error occurs during document posting or clearing processes in SAP FI (Financial Accounting) when the system detects that the account assigned to a line item is a clearing account (also known as a reconciliation account) but the item is not allowed to be posted directly to this account.

    Key points:

    • Clearing (Reconciliation) accounts are special G/L accounts that are linked to sub-ledgers (e.g., customer, vendor, asset sub-ledgers).
    • Direct postings to clearing accounts are generally not allowed because these accounts are updated automatically through sub-ledger transactions.
    • The system found that the item is posted to a clearing account, which violates this rule.

    When does this happen?

    • When you try to post a line item directly to a reconciliation account (e.g., customer or vendor reconciliation account).
    • When the account determination or manual entry mistakenly uses a clearing account instead of a regular G/L account.
    • During clearing or payment runs, if the system tries to post to a clearing account incorrectly.

    Solution

    1. Check the account type:

      • Verify if the G/L account used in the item is a reconciliation (clearing) account.
      • You can check this in transaction FS00 or OB53 (account master data).
      • Reconciliation accounts are marked as such and linked to sub-ledgers.
    2. Correct the account assignment:

      • If the posting is manual, change the account to a regular G/L account instead of a clearing account.
      • If the posting is automatic (e.g., via configuration or interface), correct the account determination logic or mapping.
    3. Check the document line item:

      • For customer/vendor transactions, post to the customer/vendor account, not the reconciliation account.
      • The reconciliation account will be updated automatically by the system.
    4. Review configuration:

      • In case of automatic postings (e.g., from MM or SD modules), check the account determination settings.
      • Ensure that the system posts to the correct accounts.
    5. If clearing is intended:

      • Use the appropriate clearing transaction or process.
      • Do not post directly to the clearing account.

    Additional Information

    • Reconciliation accounts are used to keep the general ledger in sync with sub-ledgers.
    • Direct postings to reconciliation accounts bypass sub-ledger updates and cause inconsistencies.
    • This error helps maintain data integrity between sub-ledgers and the general ledger.
    • The message variable "&" will show the account number or item number causing the issue.

    Summary

    Aspect Details
    Cause Posting attempted directly to a clearing (reconciliation) account, which is not allowed.
    Solution Post to the appropriate sub-ledger account (customer/vendor) or a regular G/L account.
    Check Account master data, account determination, and posting logic.
    Related T-codes FS00 (G/L account master), OB53 (Reconciliation account assignment), FB50 (Post document)

    If you provide the exact scenario or transaction where this error occurs, I can help you with more specific guidance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


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


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