‎2008 Jan 21 10:35 AM
‎2008 Jan 21 10:37 AM
Hi,
This event is used mainly for validating an input provided to the selection screen element. Once a value is entered in the Selection Screen this Event gets triggered.
The syntax for this is
AT SELECTION-SCREEN ON {para/selcrit}
Effect
This event is triggered at the screen 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. In the event block, the user input can be checked. 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.
Note
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 triggered.
Reward if helpful.
‎2008 Jan 21 10:37 AM
Hi,
This event is used mainly for validating an input provided to the selection screen element. Once a value is entered in the Selection Screen this Event gets triggered.
The syntax for this is
AT SELECTION-SCREEN ON {para/selcrit}
Effect
This event is triggered at the screen 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. In the event block, the user input can be checked. 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.
Note
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 triggered.
Reward if helpful.
‎2008 Jan 21 10:41 AM
Hi Naveen,
The AT SELECTION-SCREEN is like the PAI module of a dialog screen for the selection screen of a report program. You can perform validations as you would in PAI.
Similarly (just for your information) the report selection screen event equivalent to PBO of a dialog program is AT SELECTION-SCREEN OUTPUT. This one allows you to default values into your report selection screen parameter/select option etc.
Hope this helps.
Regards,
Aditya
‎2008 Jan 21 10:52 AM
Hi naveen,
the event at selection-screen on {para|selcrit} is triggered at the screen 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. In the event block, the user input can be checked. Sending a warning or an error message in the event block makes the fields para and selcrit ready for input again. (sap help).