Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix WY158 - Customer processing terminated. Indicator has been deselected.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WY - Supplier Master

  • Message number: 158

  • Message text: Customer processing terminated. Indicator has been deselected.

  • Show details Hide details
  • What causes this issue?

    In the purchasing data of the vendor master, you selected an indicator
    which defines that a vendor return is to be carried out using shipping
    processing.
    To do this, you must enter a customer master record for the vendor.
    However, creation of this customer has not been completed correctly.

    System Response

    The indicator for vendor returns using shipping processing has been
    deselected.

    How to fix this error?

    If you want vendor returns to be made using shipping processing, reset
    the indicator, and create a customer master record for the vendor.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WY158 - Customer processing terminated. Indicator has been deselected. ?

    SAP Error Message:
    WY158 - Customer processing terminated. Indicator has been deselected.


    Cause:

    This error occurs during customer processing (such as in sales order processing or delivery processing) when a specific indicator related to the customer or business partner has been deselected or deactivated. The system expects this indicator to be active for the process to continue, but since it is not, the processing is terminated.

    Common scenarios include:

    • The "Customer is blocked" indicator or a similar status flag has been deselected or set incorrectly.
    • The customer master data or partner function settings have been changed, causing the system to stop processing.
    • A required indicator for processing (e.g., "Deliver to customer," "Bill to customer," or "Customer is active") is missing or unchecked.

    Solution:

    1. Check Customer Master Data:

      • Go to transaction XD03 (Display Customer) or VD03 (Display Customer Sales Area).
      • Verify the status indicators such as "Customer Block," "Sales Block," or any relevant flags.
      • Ensure that the customer is not blocked for sales or delivery.
    2. Check Partner Functions:

      • Verify that the partner functions required for the process are correctly assigned and active.
      • For example, if the process requires a "Ship-to party," ensure that this partner function is maintained and active.
    3. Check Sales Document or Delivery Document:

      • Review the sales order or delivery document to see if any customer-related indicators have been deselected.
      • If the document was copied from a reference document, check if the indicators were carried over correctly.
    4. Re-activate the Indicator:

      • If you find that the indicator causing the termination is deselected, reactivate or select it as required.
      • Save the changes and retry the processing.
    5. Consult Customizing:

      • Sometimes, this error can be triggered by custom logic or user exits/BADIs that check for certain indicators.
      • Review any custom code or enhancements related to customer processing that might be causing the termination.

    Related Information:

    • Transaction Codes: XD03, VD03, VA02 (Change Sales Order), VL02N (Change Delivery)
    • Tables: KNA1 (General Customer Data), KNVV (Customer Sales Data), VBPA (Sales Document Partner)
    • Notes: Check SAP OSS notes for any known issues related to message WY158.
    • User Exits/BADIs: Review any enhancements in sales order or delivery processing that might influence customer indicators.

    Summary:

    The error WY158 indicates that a required customer processing indicator has been deselected, causing the system to terminate the process. The solution involves verifying and correcting the customer master data and partner function settings to ensure all necessary indicators are active.


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

    • 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