What is the use of event AT SELECTION-SCREEN ON FIELD?
Answers were Sorted based on User's Feedback
Answer / manoj kumar
this event is used for validating the parameters or select-
option paramter and this is mainly for validating the feild
on the selection screen
Is This Answer Correct ? | 36 Yes | 5 No |
Answer / ash
We can give F4 help to selection field or restrict the F4
help for specific values.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_vaplz-low.
SELECT werks arbpl ktext INTO TABLE it_vaplz FROM m_crama
CLIENT SPECIFIED
WHERE mandt = sy-
mandt
AND werks
= '4000'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = c_vaplz
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = c_so_vaplz_low
value_org = 'S'
TABLES
value_tab = it_vaplz
* FIELD_TAB =
* RETURN_TAB =
* DYNPFLD_MAPPING =
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV
Note --Validation is not possible with AT SELECTION-SCREEN
ON FIELD, Because it comes before entering the value in
selection screen.
AT SELECTION-SCREEN event comes in picture after entering
value in selection screen, so validation is possible only
here.
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / shags
THIS EVENT IS USED FOR VALIDATION THE FIELD WHICH IS
SPECIFIED. IF THE CONDITION GETS FALSE THE AGAIN SCREEN IS
MADE READY FOR INPUT
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / anindya saha
that can be done in AT SELECTION-SCREEN event only ..then
what is the use of AT SELECTION-SCREEN ON FIELD .
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / arvind
AT SELECTION SCREEN ON FIELD CAN BE ALSO USED FOR EITHER
ACTIVATING OR DEACTIVATING THE UPCOMING SCREEN DEPENDING ON
THE GIVEN INPUT AT THAT PARTICULAR FIELD.
Is This Answer Correct ? | 1 Yes | 0 No |
What is the keyword used to access a program from global memory?
What is the syntex used to call a screen as dialog box (pop up)?
Which database object is used for storing the system variables? : abap data dictionary
how can you display data say "your name"in smart forms without print program or driver program??
how to find the report is classical or intractive report in debugging mode
Batch Monitor -- Transaction Code?
What is the difference between Report and Script?
What is the diff b/w RFC enabled Functional Module and BAPI?
How can print the styles?
how do find a name of a print program?
9) We give KEEP in BDC structure...what is its purpose?
suppose i want to print sap script output in different printers at a time what are the settings i'll have to make?