‎2009 Dec 21 5:52 PM
Hi,
I want to upload excel file from desktop to application in a specific folder. Is there any tcode to do that? Thanks!
Best Regards,
Anthony
Edited by: Anthony Pham on Dec 21, 2009 6:52 PM
‎2009 Dec 21 6:00 PM
Hi
It depends on which your realese is, there are the trx CG3Y and CG3Z in order to copy a file from/to Presentation/Application,
Max
‎2009 Dec 21 6:00 PM
Hi
It depends on which your realese is, there are the trx CG3Y and CG3Z in order to copy a file from/to Presentation/Application,
Max
‎2009 Dec 21 6:25 PM
Thanks for reply!
When I use the t-code CG3Z, it always asked for file in the application, I just want to upload file from presentation server to App. server, not override a file in application server. How does this work?
‎2009 Dec 21 6:30 PM
?
CG3Z is to upload a file to Application from Presentation, anyway if the file just exists in Application: it'll be overwritten.
Max
‎2009 Dec 21 6:30 PM
use cg3y :
application source :
D:\usr\sap\ECC\SYS\global\substanc\file.xls
target:
c:\temp\filename.xls
do not check the over write file checkbox
‎2009 Dec 21 6:43 PM
It seem to by simple I specified the file as follows:
Source file on front-end:
c:\temp\file.xls
Target file on application server:
/usr/sap/dev/file.xls
It says: "Cannot open file /usr/sap/dev/file.xls"
If I remove the file name from the Target file on application server: it says the same: "Cannot open file /usr/sap/dev/()"
Do I need to do anything else? Thanks!
‎2009 Dec 21 6:54 PM
Hi
Are you sure the path /usr/sap/dev/ exists?
Have you all authorization to write a file there?
Max
‎2009 Dec 21 7:22 PM
I can confirm that the directory exists because when i use the tcode AL11 I can see it browse it and see the files there.
For the authorization issue, how do I check it whether I have authorization to write a file to that folder or not? Thanks!
‎2009 Dec 21 7:26 PM
After running the trx CG3Z, run the trx SU53 in order to get the autorization missing
Max
‎2009 Dec 21 7:29 PM
Yes I have no authorization issue because in the section "authorization check failed" there is nothing there. What else should I check? Thanks!
‎2009 Dec 21 7:39 PM
Uhm.....
Have u try to write a little report in order to write a file there? just only few lines:
OPEN DATASET...........................
WRITE SY-SUBRC.
Just only to check the value of SY-SUBRC....u can try to check it in debug of course, because it's strange your situation.
Max
‎2009 Dec 21 9:03 PM
Thank you for your helps! I changed to another folder and it works.
‎2009 Dec 21 9:08 PM