We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
... ${ OUTPUT $}
$| ${ ON ${para$|selcrit$} $}
$| ${ ON END OF selcrit $}
$| ${ ON BLOCK block $}
$| ${ ON RADIOBUTTON GROUP group $}
$| ${ $}
$| ${ ON ${HELP-REQUEST$|VALUE-REQUEST$}
FOR ${para$|selcrit-low$|selcrit-high$} $}
$| ${ ON EXIT-COMMAND $}.
1. ... OUTPUT
2. ... ON ${para$|selcrit$}
3. ... ON END OF selcrit
4. ... ON BLOCK block
5. ... ON RADIOBUTTON GROUP group
6. ... ${ $}
7. ... ON ${HELP-REQUEST$|VALUE-REQUEST$} FOR ${para$|selcrit-low$|selcrit-high$}
8. ... ON EXIT-COMMAND
These additions allow the individual evaluation of specific elements of the
selection screens
of the program. The information about which selection screen raised the event is in the system field sy-dynnr.
... OUTPUT
This event is raised by the dynpro event PBO
of a selection screen. In the event block, the selection screen can be prepared using assignments to the data objects of parameters and selection criteria and using dynamic screen modifications.
The following section of an executable program modifies an input field of a selection screen declared
using PARAMETERS. The field input is made invisible using the characters "***...", which can be used for example, for entering a password.
... ON ${para$|selcrit$}
This event is raised by the dynpro event PAI of a selection screen if the content of the input field of a parameter para or a line of a selection criterion selcrit was passed to the ABAP program. The user input can be checked in this event block. Sending a warning or an error message in the event block makes the fields para and selcrit ready for input again.
No parameter that is defined as a radio button can be specified. For this purpose, the addition ON RADIOBUTTON GROUP is provided.
If a user action takes place in the dialog box for the multiple selection of a selection criterion selcrit, the entries of the
selection table
are passed to the program, line by line. For each line, the event AT SELECTION-SCREEN ON selcrit is raised.
... ON END OF selcrit
This event is raised after the selection table selcrit is passed completely to the program after
a user action in the dialog box for the multiple selection has taken place. The entire selection table can be checked in this event block.
... ON BLOCK block
This event is raised by the dynpro event PAI of a selection screen if all the input fields of a block
block of the selection screen were passed to the ABAP program. The user input can be checked
in the event block. Sending a warning or an error message in the event block makes all the fields of the block block ready for input again.
Block Processing and Radio Button Processing
... ON RADIOBUTTON GROUP group
This event is raised by the dynpro event PAI
of a selection screen if all the fields of a radio button group group of the selection screen were passed to the ABAP program. The user input can be checked in this event block. Sending a
warning or
error message in the event block makes all the radio buttons of the group group ready for input again.
The individual fields of a radio button group are not passed individually and do not raise the event AT SELECTION-SCREEN ON par.
Block Processing and Radio Button Processing
... ${ $}
The event AT SELECTION-SCREEN itself is raised as the last event in selection screen processing
if all the input values were passed to the program. All user input can be checked in this event block. Sending a warning or an error message in the event block makes all the screen fields ready for input again.
... ON ${ HELP-REQUEST $| VALUE-REQUEST $} FOR ${para$|selcrit-low$|selcrit-high$}
The two events ON HELP-REQUEST and ON VALUE-REQUEST are raised by the dynpro events POH and POV of a selection screen if, for the input field of a parameter para or one of the input fields of a selection criterion selcrit, the field help F1 or the input help F4 was called. Other selection events are not raised.
In the event blocks, a self-defined field or input field can be programmed, which overrides any helps
defined in ABAP Dictionary. The parameters and selection criteria changed in the event blocks for ON VALUE-REQUEST are transported to the respective fields of the selection screen.
... ON EXIT-COMMAND
This event is raised if the user has called one of the functions Back,
Exit, or Cancel. Any cleanup actions can be executed in this event block.
The following section of an executable
program defines a standard selection screen and a further selection screen. In the event blocks
AT SELECTION-SCREEN, the input in the selection screens can be specially handled using the evaluation of the name p_carrid and the
dynpro number in sy-dynnr.
Leave us your contact details and we will call you back. Fields marked with * are mandatory.
We offer holistic SAP solutions from a single source to shape digital change and develop new business areas.
Switzerland
Schaffhausen
Germany
Mannheim, Düsseldorf, Munich
USA
Haverhill
Greece
Thessaloniki