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

F4 help for file selection

Former Member
0 Likes
631

Hi,

I have below code written to generate csv file.

parameters p_file like rlgrap-filename obligatory.

at selection-screen on value-request for p_file.

call function 'F4_FILENAME'    

     EXPORTING

          PROGRAM_NAME     =     SYST-CPROG

          DYNPRO_NUMBER    =     SYST-DYNNR

          FIELD_NAME              =     ' '

     IMPORTING

          FILE_NAME               =      p_file.

When I am going for F4 help, I can be able to put the name of file. But as soon as I put the name of the file and open it, program runs immediately. I won't get chance to hit F8 to execute. Also I have written code below to show some data on the output screen using write statement, this data also not showing.

Please can you tell me possible reasons?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
566

Hi

Have you inserted the event START-OF-SELECTION?

Max

1 REPLY 1
Read only

Former Member
0 Likes
567

Hi

Have you inserted the event START-OF-SELECTION?

Max