‎2007 Mar 02 10:11 AM
someone plz help me out wid AT SELECTION-SCREEN ON HELP REQUEST & VALUE REQUEST ...SEND ME A SMALL CODE FOR IT SO DAT I CAN UNDRSTAND BETTER......plz gimme some explanation also
‎2007 Mar 02 10:26 AM
parameters : p_file like rlgrap-filename.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = v_repid
dynpro_number = syst-dynnr
field_name = 'P_FILE'
IMPORTING
file_name = p_file.chk this for F1 help
<b>DEMO_DYNPRO_F1_HELP</b>
Also chk these
DEMO_DYNPRO_F4_HELP_DICTIONARY
DEMO_DYNPRO_F4_HELP_DYNPRO
DEMO_DYNPRO_F4_HELP_MODULE
Message was edited by:
Chandrasekhar Jagarlamudi
‎2007 Mar 02 10:29 AM
Hi,
This might be helpful.
Please check these program :
DEMO_SELECTION_SCREEN_BASIC
DEMO_SELECTION_SCREEN_EVENTS
DEMO_SELECTION_SCREEN_F1
DEMO_SELECTION_SCREEN_F4
PROCESS ON HELP-REQUEST. User-programmed F1 help
Effect
POH event for user-programmed help. Modules in this event are processed when the user presses F1 with the cursor positioned on a screen field. In the subsequent FIELD statements, you can specify a data element supplement (or determine one in an application module). The texts are then displayed by the help system.
Examples
FIELD XY WITH '0001'.
Displays data element addition 0001 for field XY.
FIELD XY WITH variable.
Displays the data element supplement with the number contained in variable for the field XY.
FIELD XY MODULE XYZ WITH variable .
The relevant data element supplement is determined in module XYZ, where it is placed in variable. Use this procedure whenever you cannot determine the correct data element supplement until the F1 event.
PROCESS ON VALUE-REQUEST. User-programmer F4 help
Effect
Event in user-programmed help that occurs when the user presses F4 with the cursor positioned on a screen field. The modules specified in the subsequent FIELD statements are called instead of the SAP help system.
Example
FIELD XY MODULE XYZ
Module XYZ determines the value of field XY and places it in the input field on the screen.
Regards.
‎2007 Mar 02 10:29 AM
Have a look at the demo report program: demo_selection_screen_events in se38.
Regards,
Ravi
‎2007 Mar 02 10:32 AM
Prog DEMO_SELECTION_SCREEN_EVENTS will give u clear idea.
Message was edited by:
Alexander.M
‎2007 Mar 02 10:35 AM
Hi,
Go to the following link u will get examples:
http://www.sapgenie.com/abap/example_code.htm
Regards,
Bhaskar
if satisfy reward me
‎2007 Mar 02 10:37 AM
Hi,
check this link
value request ( u can see some example with explanation)
http://help.sap.com/saphelp_nw2004s/helpdata/en/79/34a246d9b511d1950e0000e8353423/content.htm
help request
http://www.s001.org/ABAP-Hlp/abapat_selection-screen.htm#&ABAP_ADDITION_4@4@
Regards,
Sruthi