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 in a function module

Former Member
0 Likes
580

Hi,

i have developed a Function Module where in i need to down load data in to a PDF file. While downloading i need to give F4 help to user for selecting the path to where to store the file. I am able to get it with the fm DOWNLOAD but it is outdated now.

Can i know any other technique to give F4 help in a function module. Please note mine is not a report with selection screen. It is a FM from where i need to down load data into local system.

Regards,

Pavan Jhawar.

4 REPLIES 4
Read only

Former Member
0 Likes
532

Refer to this Wiki Post : [F4 Help for Appl.Server & GUI Files using CL_RSAN_UT_FILES |http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=199984233]

Edit : Or You can refer to the Wiki related to Class CL_GUI_FRONTEND_SERVICES : [File, Directory Operations using CL_GUI_FRONTEND_SERVICES |http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=198738548]

Read only

Former Member
0 Likes
532

Hi Pavan,

You can use method file_open_dialog of class cl_gui_frontend_services.

The file name will be in the field filename of the changing parameter file_table.

Hope it helps.

Sujay

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
532

I don't think we can have f4 for importing parameters in FM , you may specify a dafault value (e.g C:\) and this can be changed by the user.

Read only

Former Member
0 Likes
532

Thanks for the quick reply.