Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
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
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.
The selection variant is incomplete and cannot be used to select data
from the Information System for use in Space Management (dynamic
selection).
Maintain the <DS:SIMG.SIMG_OE_EG_WL_0224>selection variant</>
accordingly.
Error message extract from SAP system. Copyright SAP SE.
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:
- 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.
- 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.
- User Permissions: The user may not have the necessary permissions to access certain fields in the variant.
Solution:
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.
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.
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.
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.
Consult Documentation:
- Review the SAP documentation for the specific report or transaction to understand the expected selection fields and their configurations.
Related Information:
By following these steps, you should be able to resolve the WB836 error and successfully execute the report or transaction with the correct variant.
Get instant SAP help. Sign up for our Free Essentials Plan.
WB835
Errors occurred when changing the layout module
What causes this issue? Errors occurred when changing the layout module.System Response The system cannot find the layout module in the database: pr...
WB834
Errors occurred when deleting the layout module
What causes this issue? Errors occurred when deleting the layout module.System Response The system cannot find the layout module in the database: pr...
WB837
No reference customer is assigned to layout module &1
What causes this issue? There is no reference customer assigned to the layout module. The system requires a reference customer, however, in order to ...
WB838
No space management profile is assigned to customer &1
What causes this issue? No space management profile has been assigned in the layout data in the plant master.System Response The space management fu...
Click on this link to search all SAP messages.