Skip to Content
author's profile photo Former Member
Former Member

F4 Help in a function module

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Oct 07, 2010 at 11:16 AM

    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]

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 11:17 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 07, 2010 at 11:25 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2010 at 12:51 PM

    Thanks for the quick reply.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.