Specify screens and field names dynamically 

In exceptional cases, you may need to use an internal variable or a parameter instead of module pool name and screen number. For example, generated screens whose names or field names contain the client or table entries.

Module pool name

Screen number

SAPMF02D

0105

You can choose between:

Module pool name

Screen number

&V01

 

in which case the value 'SAPMF02D0105' must be assigned to the variable &V01 in the function editor.

Module pool name

Screen number

&V01

0105

in which case the value 'SAPMF02D' must be assigned to the variable &V01 in the function editor.

The screen field values can then only be input in the field list.

To create a field name choose Create field and assign a field name. You can also enter the field names and field values as variables or parameters. These variables and parameters must have the appropriate values at runtime.

The screen number can only be defined dynamically using the same variables as for the module pool name.