I have a requirement, where one of the select-options on the selection screen needs to get its name on runtime.
To be more precise,
i have the following code in place :
DATA: G_ATWRT TYPE ATWRT, G_FIELD_TEXT TYPE DYNFNAM. G_FIELD_TEXT = 'MYFIELD'. "==> RUNTIME VALUE SELECT-OPTIONS: S_VBCOD FOR G_ATWRT.
The requirement is that instead of maintaining the field name value to be displayed for S_VBCOD under SELECTION TEXTS, the value should to be displayed should come from G_FIELD_TEXT.
Hope the question is clear.
I searched extensively on the forum/help for this, unfortunately could not find an answer.
Any ideas, experts?