on 10-14-2008 12:06 AM
Hello experts,
I need some help on uploading a file (very large file) from my PC to a specific folder on the application server, and to browse the folder in which to upload it.
I remember that in a past project in which I was involved someone did it, and create a simple transaction with the possibility of:
- browsing the file to be uploaded (i.e. c:\test.txt)
- browsing the directory on server where to upload it (ex. /usr/sap/.../test.txt)
- execute
It worked, but I do not have access to that system anymore, to copy/create something similar.
Can anyone help me?
thanks in advance
Chiara
Hi
You can upload the file using CG3Z transaction.
Regards,
Vishwa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For browsing local directories you can check methods of class: CL_GUI_FRONTEND_SERVICES. Something like FILE_OPEN_DIALOG.
For browsing directories on application server, you can use FM: /SAPDMC/LSM_F4_SERVER_FILE.
Once the files are selected, upload file from presentation server via method GUI_UPLOAD and transfer to application server via OPEN DATASET, TRANSFER & CLOSE DATASET Statements.
Regards
Eswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.