How To Fix WS166 - Document & was copied to item & of customer settlement list &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WS - Supplier Billing Document

  • Message number: 166

  • Message text: Document & was copied to item & of customer settlement list &

  • 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 WS166 - Document & was copied to item & of customer settlement list & ?

    Certainly! Here's a detailed explanation regarding the SAP message WS166:


    SAP Message WS166:

    Text:
    Document & was copied to item & of customer settlement list &


    1. Cause:

    This message is an informational message (not an error or warning) generated during the processing of customer settlement lists in SAP, typically in the context of contract accounts receivable and payable (FI-CA) or customer settlement processing.

    • It indicates that a particular document (e.g., an invoice, credit memo, or payment document) has been successfully copied or assigned to a specific item number within a customer settlement list.
    • The placeholders & are replaced by actual document number, item number, and settlement list number during runtime.

    In other words:
    The system is informing you that the document you are processing has been linked or copied to a particular item in the customer settlement list.


    2. When does it occur?

    • During the creation or processing of customer settlement lists.
    • When documents are being assigned or copied to settlement list items.
    • Typically appears in logs or messages during batch processing or manual settlement list creation.

    3. Solution / Action:

    • Since this is an informational message, no corrective action is required.
    • It confirms that the document was successfully copied/assigned.
    • You can use this message to verify that the document was processed as expected.
    • If you are troubleshooting settlement list processing, this message helps confirm the linkage of documents to settlement items.

    4. Related Information:

    • Transaction Codes:

      • FPL9 - Customer Settlement List
      • FPY1 - Post Customer Payment
      • FPY2 - Change Customer Payment
      • FPY3 - Display Customer Payment
    • Tables:

      • DFKKOP - Contract Accounts: Document Header
      • DFKKOPP - Contract Accounts: Document Items
      • DFKKKO - Customer Settlement List Header
      • DFKKKOP - Customer Settlement List Items
    • Notes:

      • This message is part of the standard SAP message class WS (Settlement).
      • If you encounter issues with settlement lists, check the related documents and settlement list items for consistency.
      • For errors related to settlement processing, look for other error messages with message class WS.

    Summary:

    Aspect Details
    Message WS166 - Document & was copied to item & of customer settlement list &
    Type Informational message
    Cause Document successfully copied/assigned to settlement list item
    Solution No action needed; message confirms successful processing
    Context Customer settlement list processing in FI-CA

    If you are seeing this message and the process is not completing as expected, check for other error messages or inconsistencies in the settlement list or related documents.


    If you need help with a specific scenario or error related to customer settlement lists, please provide more details!

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant