How To Fix WS152 - Customer & posted with reconciliation account & and posting key &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 152

  • Message text: Customer & posted with reconciliation account & and posting key &

  • 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 WS152 - Customer & posted with reconciliation account & and posting key & ?

    The SAP error message WS152 typically appears during document posting in Financial Accounting (FI) or Sales and Distribution (SD) integration scenarios. The message text is along the lines of:

    "Customer & posted with reconciliation account & and posting key &"


    Meaning / Cause

    This error occurs when there is an inconsistency or mismatch between the customer master data and the posting transaction with respect to the reconciliation account and posting key used.

    More specifically:

    • The customer master record is assigned a specific reconciliation account in the Chart of Accounts.
    • When posting a document (e.g., invoice, payment), the system expects the posting to be made to the reconciliation account assigned to the customer.
    • If the posting is attempted with a different reconciliation account or an incorrect posting key (debit/credit indicator), the system raises this error.

    This is a control mechanism to ensure that postings to customer accounts are consistent and correctly linked to the reconciliation accounts in the General Ledger.


    Typical Scenarios

    • Posting a customer line item with a reconciliation account that does not match the one assigned in the customer master.
    • Using an incorrect posting key (e.g., trying to post a debit when a credit is expected).
    • Customizing or user exit issues where the reconciliation account or posting key is overridden incorrectly.
    • Integration issues between SD and FI where the account determination is not consistent.

    How to Check / Diagnose

    1. Check Customer Master Data:

      • Transaction: FD03 (Display Customer)
      • Go to the Company Code Data tab.
      • Check the Reconciliation Account assigned.
    2. Check Posting Document:

      • Review the document line item causing the error.
      • Check the reconciliation account and posting key used.
    3. Account Determination:

      • For SD-FI integration, check the account determination settings.
      • Transaction: VKOA or OBYC (for automatic postings)
      • Verify that the correct reconciliation account is determined for the customer and transaction type.
    4. Posting Key:

      • Check the posting key used in the transaction.
      • Posting keys define debit/credit and account type (customer/vendor/general ledger).
      • Ensure the posting key is appropriate for customer postings.

    Solution / Resolution

    • Align Reconciliation Account:

      • Ensure the posting uses the reconciliation account assigned in the customer master.
      • If the posting account is incorrect, correct the posting or adjust the account determination.
    • Correct Posting Key:

      • Use the correct posting key for customer line items.
      • For example, posting key 15 (debit customer) or 50 (credit customer) depending on the transaction.
    • Adjust Customer Master:

      • If the reconciliation account is incorrect in the customer master, update it via FD02 (Change Customer).
    • Review Customizing:

      • Check automatic account determination settings.
      • Adjust if necessary to ensure the correct reconciliation account is picked.
    • Check User Exits / BAdIs:

      • If custom code modifies posting keys or accounts, verify that it does not cause inconsistencies.

    Additional Information

    • This error is a standard SAP control to maintain data integrity between sub-ledger (customer/vendor) and General Ledger.
    • Posting keys are critical in defining the nature of the posting and must be consistent with the account type.
    • Reconciliation accounts are G/L accounts that link customer/vendor sub-ledgers to the General Ledger.
    • Always ensure master data and configuration are consistent to avoid such errors.

    Summary

    Aspect Details
    Error Message WS152: Customer & posted with reconciliation account & and posting key &
    Cause Posting to a reconciliation account or posting key that does not match customer master.
    Solution Use the reconciliation account assigned in customer master; use correct posting key.
    Check Customer master (FD03), posting document, account determination (OBYC/VKOA), posting key
    Related Transactions FD03, FD02, OBYC, VKOA, FB01 (posting), FB03 (display document)

    If you provide the exact posting scenario or transaction code where the error occurs, I can help 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