Show TOC Start of Content Area

Procedure documentation Maintaining Selection Texts  Locate the document in its SAP Library structure

Use

You use this procedure to replace the standard texts that appear next to input fields on selection screens with text elements. You can 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.

Example

PROGRAM TEXT_ELEMENTS_3.

TABLES SBOOK.

PARAMETERS: PARAM(10).

SELECT-OPTIONS: SEL1 FOR SBOOK-CARRID,

                SEL2 FOR SBOOK-CONNID.

Procedure

...

       1.      In the Object Navigator (transaction SE80), open the program you want to edit.

       2.      Choose Goto ® Text elements ® Selection texts.

The names of your parameters and selection options appear automatically in the Name column. The selection text for each parameter may be up to 30 characters long.

       3.      To use texts from the ABAP Dictionary for your selection texts, set the Dictionary indicator.

The system automatically inserts the short texts from the ABAP Dictionary. Text elements containing ABAP Dictionary texts appear in display mode.

       4.      To change an ABAP Dictionary text, deselect the Dictionary indicator.

The field appears in change mode and you can enter the text for the parameter:

This graphic is explained in the accompanying text

       5.      Change the selection text.

       6.      Save your entries and activate the new texts.

Result

The system inserts the selection texts for the program in the text pool for the relevant language. If you run the program used in the example, the following selection screen appears:

This graphic is explained in the accompanying text

Note

If you change or delete parameters or selection options in your program after you have saved the selection texts, the system displays a message reminding you to find and delete obsolete selection texts. If you try to delete a selection text that is still in use, the system displays a warning. When you save the selection texts, the system informs you if there are unused texts.

 

 

End of Content Area