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

Close

How To Fix WG021 - Unit of measure for store order &, material & cannot be found


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WG - Messages for store order and investment buy

  • Message number: 021

  • Message text: Unit of measure for store order &, material & cannot be found

  • Show details Hide details
  • What causes this issue?

    No unit of measure could be determined for the material number.

    System Response

    The base unit of measure is assumed.

    How to fix this error?

    Please transmit the unit of measure, or maintain the entries
    required for determining the required entries in the master data.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WG021 - Unit of measure for store order &, material & cannot be found ?

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


    SAP Error Message: WG021

    Text: Unit of measure for store order &, material & cannot be found


    Cause:

    This error occurs when the system tries to process a store order (such as a warehouse or inventory movement order) for a specific material, but it cannot find the unit of measure (UoM) assigned or valid for that material in the context of the store/order.

    In other words, the system expects a unit of measure to be defined for the material in the relevant organizational context (e.g., plant, storage location, or warehouse), but this UoM is missing or not maintained.


    Common Scenarios Leading to WG021:

    • The material master does not have the required unit of measure maintained.
    • The unit of measure used in the store order is not consistent with the units maintained in the material master.
    • The unit of measure is missing in the warehouse management or inventory management settings.
    • Customizing or master data inconsistencies between the warehouse management system (WM) and inventory management (IM).
    • The unit of measure is not maintained in the relevant organizational level (plant, storage location).

    Solution:

    1. Check Material Master Data:

      • Go to transaction MM03 (Display Material).
      • Check the Basic Data 1 and Additional Data tabs for the units of measure maintained.
      • Verify the Base Unit of Measure and any alternative units of measure.
    2. Check Units of Measure in Warehouse Management:

      • Use transaction LX02 or LS24 to check warehouse stock and units of measure.
      • Ensure that the unit of measure used in the store order matches the units maintained in WM.
    3. Maintain Units of Measure if Missing:

      • Use transaction CUNI to maintain units of measure if the required UoM is missing.
      • Use transaction MM02 to add or correct units of measure in the material master.
    4. Check Customizing Settings:

      • Verify the settings in SPRO under Logistics Execution ? Warehouse Management ? Master Data ? Define Units of Measure.
      • Ensure that the units of measure are properly defined and assigned.
    5. Consistency Check:

      • Run consistency checks between IM and WM data.
      • Ensure that the unit of measure in the store order corresponds to the unit of measure maintained in the material master and warehouse management.
    6. Recreate or Correct Store Order:

      • If the store order was created with an incorrect or missing unit of measure, correct the order or recreate it with the correct UoM.

    Related Information:

    • Transaction Codes:

      • MM03 – Display Material Master
      • MM02 – Change Material Master
      • CUNI – Units of Measure Maintenance
      • LX02 – Warehouse Stocks per Material
      • LS24 – Display Quants in WM
      • SPRO – Customizing (for checking WM settings)
    • Tables to Check:

      • MARA – General Material Data (Base UoM)
      • MARM – Units of Measure for Material
      • T006 – Units of Measure
      • LQUA – Quants in Warehouse
    • Notes and SAP Documentation:

      • Check SAP Notes related to WM and UoM inconsistencies.
      • Review SAP Help Portal for Warehouse Management and Inventory Management integration.

    Summary:

    The WG021 error indicates a missing or inconsistent unit of measure for a material in a store order. The fix involves verifying and maintaining the correct units of measure in the material master and warehouse management settings, ensuring consistency across systems, and correcting the store order if necessary.


    If you need help with specific steps or transactions, 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author