Ansicht
Dokumentation
ABAPSELECTION-SCREEN_TEXTS - SELECTION-SCREEN TEXTS
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up Addresses (Business Address Services)This documentation is copyright by SAP AG.
SELECTION-SCREEN - Defining Titles and Texts on Selection Screens
You can define texts for various text objects: (comments,
pushbuttons, ...)
There are two ways to do this:
-
Static definition: You enter the text in the form TEXT-xxx with a three-character identifier xxx as a text symbol.
The contents of the text symbol TEXT-xxx appear on the selection screen and cannot be changed dynamically. -
Dynamic definition: You enter a field name of up to eight characters ex. abcdefgh.
In this case, the system creates a field with the name abcdefgh. Its contents then appear on the selection screen at runtime. You must set these texts at runtime (in the INITIALIZATION part of a report, or in the INIT routine of the logical database program SAPDBldb). You can also change them while the selection screen is being processed.
Notes
The field abcdefgh is generated automatically. You do not have to declare it using the DATA statement.
You can define texts in any of the following:
- SELECTION-SCREEN BEGIN OF SCREEN
- SELECTION-SCREEN BEGIN OF BLOCK
- SELECTION-SCREEN COMMENT
- SELECTION-SCREEN PUSHBUTTON
Example
DATA SAPLANE_WA TYPE SAPLANE.
SELECTION-SCREEN BEGIN OF BLOCK CHARLY
WITH FRAME TITLE TEXT-001.
PARAMETERS PARM(5).
SELECTION-SCREEN COMMENT /5(20) COMM1234.
SELECT-OPTIONS SEL FOR SAPLANE_WA-PLANETYPE.
SELECTION-SCREEN END OF BLOCK CHARLY.
...
INITIALIZATION.
MOVE 'Test dynamic text' TO COMM1234.
(TEXT-001 has the contents 'Block Charly').
Selection screen:
--Block Charly-----------------------------------
| PARM _____
|
| Test dynamic text
|
| SEL
________ to ________ |
-------------------------------------------------
Additional help
TXBHW - Original Tax Base Amount in Local Currency SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 3942 Date: 20240426 Time: 205117 sap01-206 ( 32 ms )