Application Development 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: 

F4 help on selection screen

Former Member
0 Kudos

Hi ,

I want to upload data from presentation server.

How to get F4 help for the selection screen path.

Thanks in advance.

Thanks,

Madhu.

1 ACCEPTED SOLUTION

Subhankar
Active Contributor
0 Kudos

Hi ...

please check this one..

parameter: p_f_pc type localfile modif id m2 . " PC file name

at selection-screen on value-request for p_f_pc.

  • Provide a F4 help for source file

perform sub_pcfile_f4 using p_f_pc.

form sub_pcfile_f4 using l_file type localfile.

  • This function module provides the F4 help for PC file

call function 'KD_GET_FILENAME_ON_F4'

changing

file_name = l_file

exceptions

mask_too_long = 1

others = 2.

if sy-subrc ne 0.

endform.

Thanks

Subhankar

Edited by: Subhankar Garani on Dec 22, 2008 3:06 PM

3 REPLIES 3

Former Member

Former Member
0 Kudos

Hi..

Do you mean the F4 help for presentation server path..

if yes...then use the function module WS_FILENAME_GET

or..

cl_gui_frontend_services=>file_save_dialog

Cheers...

Subhankar
Active Contributor
0 Kudos

Hi ...

please check this one..

parameter: p_f_pc type localfile modif id m2 . " PC file name

at selection-screen on value-request for p_f_pc.

  • Provide a F4 help for source file

perform sub_pcfile_f4 using p_f_pc.

form sub_pcfile_f4 using l_file type localfile.

  • This function module provides the F4 help for PC file

call function 'KD_GET_FILENAME_ON_F4'

changing

file_name = l_file

exceptions

mask_too_long = 1

others = 2.

if sy-subrc ne 0.

endform.

Thanks

Subhankar

Edited by: Subhankar Garani on Dec 22, 2008 3:06 PM