You can replace the standard texts that appear next to input fields on selection screens with text elements. You can either use a short text defined in the ABAP Dictionary or create your own texts.
Prerequisites
You must have defined one or more selection screens for your program.
Coding example:
PROGRAM TEXT_ELEMENTS_3.
TABLES SBOOK.
PARAMETERS: PARAM(10).
SELECT-OPTIONS: SEL1 FOR SBOOK-CARRID,
SEL2 FOR SBOOK-CONNID.
Procedure
From the ABAP Editor in change mode:
Result
The selection texts for the program are inserted in the text pool for the relevant language. If you ran the program used in the above example, the following selection screen would appear:
If you change or delete parameters or selection options in your program after you have saved the selection texts, a flag appears in the n.used column next to the relevant text the next time you start the selection text maintenance function. This enables you to find and delete obsolete selection texts. If you try to delete a selection text that is still in use in the program, the system displays a warning. When you save the selection texts, the system again informs you that there are unused texts.