on 03-18-2009 12:05 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Upload a file to where? Filesystem? Table?
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.