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

Close

How To Fix WB836 - Fields &1 and &2 are not selection fields in variant &3


SAP Error Message - Details

  • Message type: E = Error

  • Message class: WB - Messages for assortment list

  • Message number: 836

  • Message text: Fields &1 and &2 are not selection fields in variant &3

  • Show details Hide details
  • What causes this issue?

    An important selection criterion is missing in the selection variant.
    The following field names are necessary for selection:
    'MATNR' for materials
    'WERKS' for plants
    'KUNAG' for the customer
    For selecting periods for sales volume, use:
    'SPMON' for months
    'SPWOC' for weeks
    These fields must be flagged as selection fields and assigned a name
    for the range parameter.

    System Response

    The selection variant is incomplete and cannot be used to select data
    from the Information System for use in Space Management (dynamic
    selection).

    How to fix this error?

    Maintain the <DS:SIMG.SIMG_OE_EG_WL_0224>selection variant</>
    accordingly.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message WB836 - Fields &1 and &2 are not selection fields in variant &3 ?

    The SAP error message WB836 indicates that there is an issue with the selection fields in a variant for a report or transaction. Specifically, it means that the fields specified in the error message (represented by &1 and &2) are not defined as selection fields in the variant (represented by &3). This can occur when you try to execute a report or transaction using a variant that has been incorrectly configured or modified.

    Cause:

    1. Incorrect Variant Configuration: The variant may have been created or modified incorrectly, where the fields specified are not part of the selection criteria for that report or transaction.
    2. Field Changes: The fields may have been changed or removed from the report's selection screen in a recent update or customization, making them no longer valid.
    3. User Permissions: The user may not have the necessary permissions to access certain fields in the variant.

    Solution:

    1. Check Variant Configuration:

      • Go to the transaction where the variant is used (e.g., SE38 for ABAP reports).
      • Open the variant using the "Variants" button.
      • Verify that the fields specified in the error message are indeed selection fields in the report. If they are not, you may need to remove them from the variant or add the correct fields.
    2. Modify the Variant:

      • If the fields are not valid, you can either create a new variant with the correct selection fields or modify the existing variant to remove the invalid fields.
      • Ensure that you save the changes after modifying the variant.
    3. Check for Updates:

      • If the report has been recently updated, check the documentation or release notes to see if there have been changes to the selection fields.
    4. User Permissions:

      • Ensure that the user has the necessary authorizations to access the fields in the variant. This may involve checking roles and authorizations in the SAP system.
    5. Consult Documentation:

      • Review the SAP documentation for the specific report or transaction to understand the expected selection fields and their configurations.

    Related Information:

    • Transaction Codes: SE38 (ABAP Editor), SE93 (Transaction Codes), and variants can be managed through the report's selection screen.
    • SAP Notes: Check for any relevant SAP Notes that may address known issues with the specific report or transaction.
    • Support: If the issue persists, consider reaching out to your SAP support team or consulting the SAP Community for further assistance.

    By following these steps, you should be able to resolve the WB836 error and successfully execute the report or transaction with the correct variant.

    • 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