
In my previous blog we discussed about types of variants, protection of variants and tables storing variant values and directory.
This blog will cover the details about the variant attributes and their usage.
Previous Blogs in the series:
Selection Screen Variants - Part I
Variant Attributes:
Once we enter values on the screen and click on save there are various attributes that we can select. Here we will look into the details with the help of an example.
We have a selection screen with three fields namely: Material (Parameter) , Date and Plant ( Select Options).
On click of save button we are taken to the variant attributes screen:
On this screen, you can define the attributes for the variant. Make sure that you enter a meaningful short text.
Only for background processing: If you select this option, the variant can only be used in background processing. You will not be able to start the program with this variant in dialog mode.
Protect variant: If you select this option, the variant can only be changed by the person who created it or the last person to change it.
Only display in catalog: If you select this option, the variant is not displayed in the input help list; it is only displayed in the catalog.
System variant: This option is set automatically, and cannot be changed.
Field Level Attributes:
Saving a variant with values as shown in below snapshot and making Material field as protected.
Setting the Protect Field Flag for Material
Execute the program with this variant 'TEST'.
All the fields get filled with the saved value and material field becomes non-editable.
Using the same example as above:
Material : Field is set as protected and hidden.
Date: Hide Field 'BIS' is set.
Plant Field: Required is set.
Execute the program using the variant:
As seen in below snapshot:
On clicking the 'All Selections' button the material field can be viewed. Also when we remove the filled in value of plant we can see that it has been marked as a mandatory field.
Next Blog: The next blog focuses on dynamic variants using Selection Variables.
Selection Screen Variants - Part III
Suggestions and Comments are welcomed.
~Tanmay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
20 | |
8 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 |