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: 

Uploading a file at a particular location

Former Member
0 Kudos

Hi all,

I have to upload an image to a specific location outside application server.

Suppose that location is my local harddrive.

How can I provide file uploading from SAP?

Regards,

Sunny

4 REPLIES 4

Former Member
0 Kudos

Follow these steps:-

1. First save the file as BMP

2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and make it Zoom as 100% and save as *.TIFF

3. Open SE38 and execute program RSTXLDMC

4. Give your TIFF file path name

5. Select Bcol (for Color)

6. TEXT ID will be ZHEX-MACRO-*.

7. Inplace of * write your own logo name(ZCOMPANYLOGO)

8. Execute the program

go to se78 and check it is there or not..

regards,

venkat

0 Kudos

hi,

Thanks for your reply.

I think i need to elaborate more on my question.

see I have an image which is right now in my pc somewhere.

There is one specific path on the network where a particular directory is there which is not in application server.It is on the other Non SAP server.

I want to upload this image to that particular directory.

How can this be done?

Please provide some solution.

Regards,

Sunny

0 Kudos

use gui_upload to upload from local drive and then use gui_download to download to the another path in the network drive. (this will only work in foreground)

aleternatively you can use CL_GUI_FRONTEND_SERVICES=>file_copy method to copy from current location to the network location again this will also work only in foregroud

Former Member
0 Kudos

hi check this..

i hope there is no way if there is no particular path given for the location ......

regards,

venkat