‎2007 Jul 18 7:10 AM
Hi,
what is the differnce between at Selection Screen on field and at Selection on Screen? I know one difference is for validation of the fields and next is for the total screen.
Otherthan that any difference between those two?
‎2007 Jul 18 7:16 AM
<b>AT SELECTION-SCREEN. </b>
1. ... ON psel
2. ... ON BLOCK block
3. ... alone
In the first case, only psel parameter is input-enable in case of error, in the second case the whole block defined between SELECTION-SCREEN BEGIN and END OF BLOCK block is input-ready, in the third case all field are ready for input.
So if your checking depend on one field or some fields you choose the good syntax, also the cursor if not explicitly written will go on first input ready field.
Regards
‎2007 Jul 18 7:14 AM
Hi,
The basic form of the selection screen events is the AT SELECTION-SCREEN event. This event occurs after the runtime environment has passed all input data from the selection screen to the ABAP program. The other selection screen events allow programmers to modify the selection screen before it is sent and specifically check user input.
At Selection-screen On Field is triggered in PAI of selection-screens.
- The input fields can b checked,in the corresponding event block. If an error message occurs within this event block, the corresponding field is made ready for input again on the selection screen.
Regards,
Padmam.
‎2007 Jul 18 7:16 AM
Hi Ram,
Apart from that what u mentioned the Difference between at selection-screen and at selection-screen on field.
.i.e At selection-screen on field: If you enter wrong value in this field it will disable the remaing fileds (i.e Not allow to enter intput for remaing fields)
in At selection-screen it still in enable mode .
this is the diff b/w at selection-screen and on field.
if it is helpful plz reward points
Regards
Rambabu.A
‎2007 Jul 18 7:16 AM
Hi,
AT SELECTION-SCREEN ON Is similar to FILED MODULE tha we use in PAI section of the flow logic for normal screens.
You can group some fields by using AT SELECTIOn-SCREEN on block.
<b>
When you raise an error message in AT SELECTION-SCREEN on only that field is open for edit.</b>
Regards,
Sesh
‎2007 Jul 18 7:16 AM
<b>AT SELECTION-SCREEN. </b>
1. ... ON psel
2. ... ON BLOCK block
3. ... alone
In the first case, only psel parameter is input-enable in case of error, in the second case the whole block defined between SELECTION-SCREEN BEGIN and END OF BLOCK block is input-ready, in the third case all field are ready for input.
So if your checking depend on one field or some fields you choose the good syntax, also the cursor if not explicitly written will go on first input ready field.
Regards
‎2007 Jul 18 7:18 AM
Hi,
<b>At Selection-screen On Field</b> is triggered in PAI of selection-screens.
- The input fields can b checked,in the corresponding event block. If an error message occurs within this event block, the corresponding field is made ready for input again on the selection screen.
At Selection-screen OUTPUT is trigerred in PBO of selection-screen.
- This allows you to modify the Selection-screen, before it is displayed.
Please reward helpful points.
Regards,
Ameet
‎2007 Jul 18 7:18 AM
‎2007 Jul 18 7:22 AM
Hi,
At selection screen and At selection screen output :
At selection-screen event will trigger when you want to validate selection-screen fields.
By using this event - you will get F4 Value,F1 Help and Screen field validation like whether data is available or not when user enters in field
At selection-screen output-it is dynamic validation.
if you want to keep field as Password,or disable,intensified.
we use Screen internal table and it has 16 fields.
Refer
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/at_selec.htm
Regards