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

Close

How To Fix WES_OUTBOUND321 - Material &1 ignored, as sales unit &2 differs from discount unit &3


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WES_OUTBOUND - Messages for Outbound Services

  • Message number: 321

  • Message text: Material &1 ignored, as sales unit &2 differs from discount unit &3

  • 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 WES_OUTBOUND321 - Material &1 ignored, as sales unit &2 differs from discount unit &3 ?

    Certainly! Here's a detailed explanation for the SAP error message:


    SAP Error Message:

    WES_OUTBOUND321 Material &1 ignored, as sales unit &2 differs from discount unit &3


    Meaning / Cause:

    This message occurs during outbound processing (e.g., in SD billing or pricing) when the system detects that the sales unit of the material differs from the discount unit defined for that material. Because the units do not match, the system ignores the material for discount or pricing conditions that depend on the discount unit.

    • Material &1: The material number involved.
    • Sales unit &2: The unit of measure used in the sales document.
    • Discount unit &3: The unit of measure defined for discount calculation.

    In SAP, the discount unit is a unit of measure used specifically for pricing and discount calculations, which can be different from the sales unit. If these units differ, the system cannot correctly apply discounts or pricing conditions, so it ignores the material for those calculations.


    Where it occurs:

    • During pricing or discount determination in sales documents (sales orders, deliveries, billing documents).
    • In outbound interfaces or pricing routines where unit consistency is required.
    • Often seen in SD (Sales and Distribution) module during billing or pricing.

    Cause Details:

    • The material master has a discount unit (field in sales data) that is different from the sales unit used in the sales document.
    • The pricing or discount condition records expect the discount unit to match the sales unit.
    • The system cannot convert or reconcile the units automatically in this context.
    • This leads to the material being ignored for discount or pricing condition application.

    Solution / How to fix:

    1. Check Material Master Data:

      • Go to transaction MM03 (Display Material).
      • Navigate to Sales: Sales Org. 1 view.
      • Check the fields:
        • Sales unit (Base unit of measure for sales)
        • Discount unit (Unit used for discount/pricing)
      • If the discount unit differs from the sales unit, consider aligning them if business process allows.
    2. Adjust Discount Unit:

      • If the discount unit is not required or incorrectly maintained, change it to match the sales unit.
      • Use transaction MM02 (Change Material) to update the discount unit.
    3. Review Pricing/Discount Condition Records:

      • Check if condition records are maintained for the discount unit.
      • If discount unit differs intentionally, ensure condition records exist for that unit.
    4. Unit of Measure Conversion:

      • If different units must be used, ensure proper unit of measure conversions are maintained in CUNI table or via Unit of Measure customizing.
      • However, note that some pricing routines may not handle unit conversions automatically.
    5. Consult Pricing Procedure:

      • Review the pricing procedure to see if it expects discount unit to be same as sales unit.
      • Adjust pricing procedure or user exits if necessary to handle different units.
    6. Check Customizing:

      • In SPRO, under Sales and Distribution ? Basic Functions ? Pricing ? Pricing Control, check settings related to units and discount units.

    Additional Information:

    • The discount unit is an optional field in the material master and is used to define the unit in which discounts or pricing conditions are applied.
    • If the discount unit is left blank, the system assumes the sales unit.
    • This message is informational but indicates that the material will not be considered for discount/pricing conditions that rely on the discount unit.
    • Ignoring the material for discount may lead to incorrect pricing or billing amounts.

    Summary:

    Aspect Description
    Cause Sales unit differs from discount unit in material master; system ignores material for discount.
    Effect Material excluded from discount/pricing condition application.
    Solution Align discount unit with sales unit in material master or maintain condition records accordingly.
    Transaction MM03 (Display Material), MM02 (Change Material)
    Module SD (Sales and Distribution)

    If you need help with specific transactions or customizing steps, feel free to ask!

    • 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