Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

help request & value request event help

Former Member
0 Likes
1,731

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,079
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

Read only

Former Member
0 Likes
1,079

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.

Read only

Former Member
0 Likes
1,079

Have a look at the demo report program: demo_selection_screen_events in se38.

Regards,

Ravi

Read only

alex_m
Active Contributor
0 Likes
1,079

Prog DEMO_SELECTION_SCREEN_EVENTS will give u clear idea.

Message was edited by:

Alexander.M

Read only

Former Member
0 Likes
1,079

Hi,

Go to the following link u will get examples:

http://www.sapgenie.com/abap/example_code.htm

Regards,

Bhaskar

if satisfy reward me

Read only

Former Member
0 Likes
1,079