09-12-2007 5:42 AM
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
anybody tell me above statement meaning..
Regards,
pandu.
09-12-2007 5:46 AM
Hi Pandu,
Check the below coding.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
PARAMETERS: p_file LIKE rlgrap-filename OBLIGATORY.
SELECTION-SCREEN END OF BLOCK blk1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
To select the File in the system.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_file.
09-12-2007 5:46 AM
this is used to know the possible values whican can be given as input to p_file.
on any field when u click on f4 this functionality works
U can populate the possible values either into an internal table and use it with the help of a function module or if it is a database field, it does come by default.
09-12-2007 5:47 AM
Hi Pandu,
On value request means that you are requesting for probable values.This event will be triggered when u press F4 help in the selection screen on the field specified in the event. The code written bellow this event will be triggered only if u press F4 on that particular field. So please take care this while coding.
Hope this clears ur doubt.
Regards,
Vinod.