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 |
IN SCRIPTS IF WE HAVE EMPTY SECOND LAYOUT AND IF WE HAVE MENTIONED ABOUT IT IN NEXT PAGE ATTRIBUTE THEN IN OUTPUT HOW WE GET THE SECOND PAGE OUTPUT.
1) How to maintain lists in dialog programming? 2)How to send greeting with different languages to different regions in smartforms? 3)Can we transfer 100 screen data to pass 200 screen? 4)In reports 1st list o/p can be consider as i/p of 2nd list how it maintains? 5) In lsmw data length 20 chars only but there is 24 chars field how can u manage? 6)What is the diff b/w OK_CODE n SY_UCOMM?
Why lsmw does not support call transaction method? : abap bdc
Explain what are the events used in interactive reports?
What is the difference between field string and internal table?
What is the function of the transport system and workbench organiser? : abap data dictionary
what is inline documnetation?
How to get the spool number in smartforms?
How to create client independent tables ?
Explain about workbench request and customization requests?
What is the difference between bdc_okcode and bdc_cursor? : abap bdc
in which event validation is done?