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 |
how can we create editor box in alv grid? give coding
2 Answers Deloitte, Unilogic Software,
What is the difference between RETURNING and CHANGING parameters for a method?
can we transfer variants from development to Quality?how can we transfer?is it necessary?
22) Very important How to find user Exit for a standard SAP Object(field,screen,menu etc)?
How do you number pages in Sapscript layout outputs?
suppose you are using session method for 1000 records and there is error in 400 and 500 records.how many records will be updated to the database?
17) How will you validate selection screen elements?
how to add a field to existing TMG with out deleting that TMG. tmg over riding techinique.
How is time management and payroll is integrated? : sap abap hr
list some middlewares used in EDI ?
what is difference between break and watch point
what is search help exit ? can any body explain briefly