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

Close

How To Fix WR122 - Enter either a material or material group


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WR - Messages for Revaluation at Retail

  • Message number: 122

  • Message text: Enter either a material or material group

  • Show details Hide details
  • What causes this issue?

    Either you failed to enter a material group and a material or you
    entered a material group and a material.

    How to fix this error?

    Enter either one or more material group or one or more material.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WR122 - Enter either a material or material group ?

    SAP Error Message:
    WR122 - Enter either a material or material group


    Cause:

    This error occurs when a transaction or report requires the user to specify either a Material Number or a Material Group, but neither has been entered. The system expects at least one of these fields to be filled to proceed with the processing or selection.


    Explanation:

    In many SAP transactions related to materials management (such as inventory reports, material master data transactions, or purchasing reports), the system needs a reference to either a specific material or a group of materials to filter or process data. If both fields are left blank, the system cannot determine the scope of the operation and throws this error.


    Solution:

    • Enter a Material Number: Provide a valid material number in the material field.
    • Or Enter a Material Group: Provide a valid material group code in the material group field.
    • Do not leave both fields empty.

    If you are unsure which to enter:

    • Use Material Number if you want to work with a specific material.
    • Use Material Group if you want to work with a category or group of materials.

    Additional Information:

    • This message is a warning/error to ensure data consistency and meaningful processing.
    • The message is often encountered in transactions like:
      • MB52 (List Warehouse Stocks on Hand)
      • ME2L, ME2M (Purchase Orders by Vendor/Material)
      • Material master data selection screens
    • If you frequently need to process all materials, check if the transaction allows a wildcard or a special entry (like *) for material or material group.
    • Consult your SAP functional consultant if you believe the system should allow processing without these fields filled, as it might require configuration changes.

    Summary:

    Aspect Details
    Message ID WR122
    Message Text Enter either a material or material group
    Cause Both material and material group fields are empty
    Solution Enter a valid material number or material group
    Related Transactions MB52, ME2L, ME2M, material master reports

    If you need help identifying valid material numbers or groups, you can use the search help (F4) on the respective fields in SAP.

    • 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