cancel
Showing results for 
Search instead for 
Did you mean: 

How can i upload a file from my PC to the application server as a one off.

Former Member
0 Kudos

Hi,

Is there a function module or utility or transaction that i can use to upload a file to the application server. If so, please tell me the EXACT instructions on how i would go about doing so please. Thanks,

Samir

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hai,

If you want to upload file to Filesystems then you can use FTP.

You can use some FTP utilities to do this.

http://www.freedownloadscenter.com/Network_and_Internet/FTP_and_Archie_Clients/Hummingbird_FTP.html

I guess the below link is your destination.

/people/rajat.chaturvedi/blog/2009/03/17/uploading-data

Regards,

Yoganand.V

Edited by: Yoganand Vedagiri on Mar 18, 2009 4:35 PM

markus_doehr2
Active Contributor
0 Kudos

Upload a file to where? Filesystem? Table?

Markus

Former Member
0 Kudos

>Upload a file to where? Filesystem? Table?

Yes, Markus needs an EXACT answer !

Olivier

Former Member
0 Kudos

SAP Transaction Code: CG3Z

Former Member
0 Kudos

Hi,

I wish to upload to the filesystem. I believe that i could write some code to do this using an upload method or function module - but i would like to know if there is a standard function module/program or transaction code that i can use directly without having to write code, as all i want to do is upload a file as a one off. Note that i tried transaction cg3z but i get the message that "transaction cg3z does not exist"

Edited by: Samir Vora on Mar 19, 2009 11:34 AM

Former Member
0 Kudos

Hi Samir

You can try running the program RC1TCG3Z

SAP CG3Z

SAP TCODE Description: Upload file

SAP Program/Report Executed for T-Code: RC1TCG3Z

CG3Y : Download appl. to frontend

Source file on application server Path of the file on the applicationserver

Target file on front end Path of the file on the frontend server (PC)

Transfer format for data Download the file as text (ASC) or in a binaryformat (BIN)

Overwrite file Overwrite the target file if it already exist (withoutprompting)

To start the download: <SHIFT-F1> (left button)

To cancel: <F12> (right button, red X)

CG3Z : Upload from frontend to appl.

Source file on front end Path of the file on the frontend server (PC)

Target file on application server Path of the file on the applicationserver

Transfer format for data Download the file as text (ASC) or in a binaryformat (BIN)

Overwrite file Overwrite the target file if it already exist (withoutprompting)

To start the upload: <SHIFT-F2> (left button)

To cancel: <F12> (right button, red X)

Regards

dEE

Former Member
0 Kudos

None of the above transactions/programs relating to cg3z exist in our system! Thanks anyway,

markus_doehr2
Active Contributor
0 Kudos

CG3Z is part of the CCE for China, it's not part of a normal basis system.

Maybe GUI_UPLOAD will do it?

Markus

Former Member
0 Kudos

Hi Samir

if you want to upload an excel into an table you can use

function module

ALSM_EXCEL_TO_INTERNAL_TABLE

else

  • Retrieve data file from presentation server(Upload from PC)

DATA: i_file like rlgrap-filename value '/usr/sap/tmp/file.txt'.

DATA: begin of it_datatab occurs 0,

row(500) type c,

end of it_datatab.

CALL FUNCTION 'GUI_UPLOAD'

EXPORTING

filename = i_file

filetype = 'ASC'

TABLES

data_tab = it_datatab "ITBL_IN_RECORD[]

EXCEPTIONS

file_open_error = 1

hope this helps

regards

dEE

Edited by: Deep Kwatra on Mar 19, 2009 1:23 PM