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

Upgrading Obsolete FM "DOWNLOAD" by "GUI_DOWNLOAD"

Hi All,

I am changing FM "download" by "gui_download" in a program.which import parameter of FM gui_download should be used to replace import parameter FILETYPE_NO_SHOW of FM "download ? What this parameter do?

Please let me if you guys have any solution.

Points will be rewarded.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jul 08, 2008 at 07:44 AM

    Some parameters may be there for replacement and some are not. So Don't worry about the replacement part.

    Find the relevant parameters in GUI_UPLOAD and replace reset of them leave (ignore).

    GUI_UPLOAD is stable , so may be they ignored that parameter in Latest versions.

    or Check in CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD once..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 07:57 AM

    If FILETYPE_NO_SHOW = 'X' in the exporting parameter

    DATA FORMAT will be hidden in the popup for fiel name ..

    No need for this parameter ...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 08:01 AM

    Hi,

    Just prevents showing of the file format.Like .asc,.dat etc.

    Regards,

    Shiva Kumar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      This is the code which I have to upgrade by FM GUI_DOWNLOAD by keeping the functionality of the program.

      CALL FUNCTION 'DOWNLOAD'

      EXPORTING

      filetype = 'DAT' filemask_mask = '*.xls'

      filemask_text = '*.xls(Ms Excel)'

      filetype_no_show = 'X'

      TABLES

      data_tab = itab_down

      EXCEPTIONS

      invalid_filesize = 1

      invalid_table_width = 2

      invalid_type = 3

      no_batch = 4

      unknown_error = 5

      gui_refuse_filetransfer = 6

      OTHERS = 7.

      can you suggest me how to do?

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.