This topic describes how a special function Field selection (transaction SFAW and some function modules) support you in changing screen field attributes dynamically.
Field Selection – Overview
The function Field selection allows you to change the attributes of screen fields dynamically at runtime. However, you should only use this option if you often need to assign different field attributes to the same screen for technical reasons. In this case, the same rules apply for all fields, so any field modification is clear.
The following basic rules apply:
- All fields involved in the field selection process are grouped together in field selection tables and maintained using the Field selection function.
- You can maintain fields for an ABAP program or screen group (see below).
- On screens belonging to the screen group "blank" (‘_’), there is no dynamic field selection.
- Central field selection uses the modification group SCREEN-GROUP1, which therefore cannot be used for anything else.
- If you use fixed special rules in the field selection which are the same as changing the program, you should make the changes directly in the program, not in the maintenance transaction.