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 on selection screen

Former Member
0 Likes
609

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
Read only

Subhankar
Active Contributor
0 Likes
468

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
Read only

Former Member
Read only

Former Member
0 Likes
468

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...

Read only

Subhankar
Active Contributor
0 Likes
469

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