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: 

Hi all..very urgent..function module

Former Member
0 Kudos

Hi Guys,

Could you please tell wats the replacement for the function module DOWNLOAD in ECC 6.0..

in 4.5B there is function module DOWNLOAD..for this GUI_DOWNLOAD alone is not meeting the requirement in ECC 6..0...

in addition to this another F.M is required..kindly help me in knowing this 2nd F.M

4 REPLIES 4

JozsefSzikszai
Active Contributor
0 Kudos

hi Sahil,

the replacement is FM GUI_DOWNLOAD or class CL_GUI_FRONTEND_SERVICES, method GUI_DOWNLOAD.

ec

former_member282823
Active Participant
0 Kudos

Hi,

you can use this method along with the gui_download

CALL METHOD cl_gui_frontend_services=>file_save_dialog

EXPORTING

DEFAULT_FILE_NAME = w_defa_file

CHANGING

filename = w_filename

path = w_filename

fullpath = w_defa_file

  • EXCEPTIONS

  • CNTL_ERROR = 1

  • ERROR_NO_GUI = 2

  • NOT_SUPPORTED_BY_GUI = 3

  • others = 4

.

This is for file saving.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

GUI_DOWNLOAD alone is not meeting the requirement in ECC 6..0

Why is this not working for you in ECC 6.0, basically this is the only function to use, the class/method CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD is just a wrapper for the function module GUI_DOWNLOAD, so if GUI_DOWNLOAD is not working for you, then the class will not either. Why is this not working for you? What is the exact requirment?

Regards,

Rich Heilman

raymond_giuseppi
Active Contributor
0 Kudos

following my answer in other post. [(duplicated link)|;

As Rich says, what functionnality is missing. Look at other methods of class CL_GUI_FRONTEND_SERVICES.

Regards