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

Close

How To Fix W_DSD_01021 - A selection criterion for supplier, store or material must be provided


SAP Error Message - Details

  • Message type: E = Error

  • Message class: W_DSD_01 - Global message class for DSD

  • Message number: 021

  • Message text: A selection criterion for supplier, store or material must be provided

  • Show details Hide details
  • What causes this issue?

    At least one of the selection criteria has to be specified.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Enter at least a vendor, store or material.
    Based on the entered selection criteria the data is read according to
    the following procedure:
    If selection criteria for vendors, stores and materials are specified
    the master data fitting to the related selection criteria is read from
    the database and displayed in the "Selected Objects" screen area.
    Additionally the available source list records, purchasing info records
    and listing conditions are read based on the found master data objects
    and displayed in the "Supply Relationships" screen area.
    If a selection criterion is specified only for vendors the vendor master
    data fitting to the related selection criterion is read from the
    database and displayed in the "Selected Objects" screen area.
    Additionally the available source list records and purchasing info
    records of the found vendors are read and displayed in the "Supply
    Relationships" screen area.
    Based on the found source list records the stores and materials
    contained in these supply relationships are added to the "Selected
    Objects" screen area. If no source list records could be found the
    purchasing info records are used to add the contained materials to the
    "Selected Objects" screen area, stores cannot be derived from the
    purchasing info records to add them to the "Selected Objects" screen
    area.
    Finally listing conditions are read based on the found stores and
    materials to display the existence in the "Supply Relationships" screen
    area.
    If a selection criterion is specified only for materials the material
    master data fitting to the related selection criterion is read from the
    database and displayed in the "Selected Objects" screen area.
    Additionally the available source list records and purchasing info
    records of the found materials are read and displayed in the "Supply
    Relationships" screen area.
    Based on the found source list records the vendors and stores contained
    in these supply relationships are added to the "Selected Objects" screen
    area. If no source list records could be found the purchasing info
    records are used to add the contained vendors to the "Selected Objects"
    screen area, stores cannot be derived from the purchasing info records
    to add them to the "Selected Objects" screen area.
    Finally listing conditions are read based on the found stores and
    materials to display the existence in the "Supply Relationships" screen
    area.
    If a selection criterion is specified only for stores the store master
    data fitting to the related selection criterion is read from the
    database and displayed in the "Selected Objects" screen area.
    Additionally the available source list records of the found stores are
    read and displayed in the "Supply Relationships" screen area.
    Based on the found source list records the vendors and materials
    contained in these supply relationships are added to the "Selected
    Objects" screen area.
    Based on the found vendors and materials the purchasing info records are
    read from the database to display the existence in the "Supply
    Relationships" screen area.
    Finally listing conditions are read based on the found stores and
    materials to display the existence in the "Supply Relationships" screen
    area.
    If selection criteria are specified for two master data objects the
    rules given above will be applied accordingly in combination to
    determine the master data objects for the third not specified selection
    criterion.
    If you miss some master data objects please check the messages in the
    application log as not each master data object is supported.
    If there are no source list records and no purchasing info records
    maintained and you need additional master data objects please use the
    possibility to select additional master data objects in the "Selected
    Objects" screen area.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message W_DSD_01021 - A selection criterion for supplier, store or material must be provided ?

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


    SAP Error Message:

    W_DSD_01021: A selection criterion for supplier, store or material must be provided


    Cause:

    This warning message occurs when you execute a report, transaction, or data selection related to supplier, store, or material data, but you have not specified any selection criteria for these fields. The system requires at least one of these criteria to limit the data scope; otherwise, it cannot process the request meaningfully.

    In other words, the system expects you to enter at least one of the following as a filter before running the report or process:

    • Supplier (Vendor)
    • Store (Plant, Storage Location, or Sales Organization)
    • Material (Material Number or Material Group)

    If none of these are provided, the system raises this warning to prevent running a query that would return an unfiltered, potentially huge dataset or no data at all.


    Solution:

    To resolve this warning, you need to provide at least one valid selection criterion before executing the transaction or report:

    1. Enter a Supplier:
      Specify the vendor number or range of vendors.

    2. Enter a Store:
      Specify the plant, storage location, or sales organization.

    3. Enter a Material:
      Specify the material number or material group.

    Steps:

    • Go back to the selection screen.
    • Fill in at least one of the fields: Supplier, Store, or Material.
    • Execute the report or transaction again.

    If you want to see all data (not recommended due to performance), check if the program allows a special option or parameter to override this warning, but usually, it is best practice to always filter.


    Related Information:

    • This message is typically encountered in modules like MM (Materials Management), SD (Sales and Distribution), or WM (Warehouse Management) when running reports or data extraction programs.
    • The message ID prefix W_DSD suggests it might be related to a specific custom or industry solution report or a standard SAP report with a custom message class.
    • Always check the documentation or help for the specific transaction or report you are running to understand the required selection criteria.
    • If you are unsure which criteria to use, consult with your functional consultant or SAP support team.

    Summary:

    Aspect Details
    Error W_DSD_01021: A selection criterion for supplier, store or material must be provided
    Cause No supplier, store, or material selection entered on the selection screen
    Solution Enter at least one selection criterion (supplier, store, or material) before executing
    Related Occurs in MM, SD, WM reports or transactions requiring data filtering

    If you provide the exact transaction or report name, I can give more tailored advice.

    • 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