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: 

add htttp path in file name

Former Member
0 Kudos

hi,

i want to send the sales data in to path like http://10.64.37.154:8080/sap/ into GUI_DOWNLOAD  function module.


is it possible?

Thank and regards

Rahul

8 REPLIES 8

kesavadas_thekkillath
Active Contributor
0 Kudos

If the path gets executed from your command prompt without any issues, then the same can be directly passed to GUI_DOWNLOAD

Otherwise , you have to use some other means like External command,FTP etc.

0 Kudos

This is LINUX operating system.

CALL FUNCTION 'GUI_DOWNLOAD'
     EXPORTING
     FILENAME                            =  '//10.64.37.154:8080/sap'
     FILETYPE                        = 'DAT'

at run time it shows 'Access Denied'.

?????????????????????

0 Kudos

Hi Rahul,

If you (SAP User-Id) have read/write access to the path, then, check for any Firewalls that may be operational and denying access. You can ask your BASIS Team or IT Network Admin Team to help you with access rights.

Regards, Pranav.

former_member222709
Contributor
0 Kudos

Hi Rahul,

If you are using a Windows OS, then it is not possible as the OS does not allows files with special characters in the name.

As for the file path, yes you can.

Regards, Pranav.

0 Kudos

Dear Pranav,

This is LINUX operating system.

CALL FUNCTION 'GUI_DOWNLOAD'
     EXPORTING
     FILENAME                            =  '//10.64.37.154:8080/sap'
     FILETYPE                        = 'DAT'

at run time it shows 'Access Denied'.

?????????????????????

raymond_giuseppi
Active Contributor
0 Kudos

Perform some research on FTP (and not HTTP) tools. (Try scn search tool with keywords FTP+PUT)

Regards,

Raymond

0 Kudos

This is LINUX operating system.

CALL FUNCTION 'GUI_DOWNLOAD'
     EXPORTING
     FILENAME                            =  '//10.64.37.154:8080/sap'
     FILETYPE                        = 'DAT'

at run time it shows 'Access Denied'.

?????????????????????

0 Kudos

There are several reasons for this message.

Check if the folder is protected or not. This can be tested by just making the folder as shared. Also provide the file name in the path.