‎2007 Jan 17 6:31 AM
Hi Real time Experts,
In real time we use ARCHIVFILE_CLIENT_TO_SERVER to put a file from presentation server to application server.
Other wise, first we have to upload the file into an internal table and then we have to put by using OPEN DATASET.
Please clear it . Urgent...
Thanks........
‎2007 Jan 17 6:33 AM
‎2007 Jan 17 6:33 AM
‎2007 Jan 17 6:40 AM
Hi Anil,
Above things are ok for coding perspective.
If you want to copy a file from Application server to Presentation server use SAPs Transaction CG3Y & for copying File from Presentation Server to Application Server use Transaction CG3Z.
Ashven
‎2007 Jan 17 6:45 AM
Hi anil,
For directly uploading file from presentation to application, use the transaction CG3Z, where you just need to specify the source (presentation) and the destination(application).
There are other methods also, wherein you need to use Function module in your code like
GUI_UPLOAD
ALSM_EXCEL_TO_INTERNAL_TABLE (this wil go to internal table from where u can make use of datasets to put into application serfer)
ARCHIVFILE_CLIENT_TO_SERVER
PLZ REWARD POINTS IF HELPFUL
‎2007 Jan 17 7:05 AM
Hi Anil,
If your main aim is to just upload a file from the presentation server to the application server. You can use the already provided utility program with SAP CG3Y and CG3Z to download.
But if you want to process the data after reading the file and before uploading do it through coding ..I mean to say upload it into an internal table and use OPEN DATASET ..method.
Hope your doubt is clear.
~Mayank
Reward points if post is helpful.
‎2007 Mar 14 7:02 AM
I have one question that
In my program, I am downloading to a text format file to Presentation Server using GUI_DOWNLOAD. It is working fine.
But I need to schedule this program background so in which I cant use GUI_DOWNLOAD as it will through Exceptions.
When I discussed with my friends, they said it is not possible to schedule a Pres Server file download. And so they asked me to download that internal table to an APPLICATION SERVER using OPEN DATASET and then schedule it background. But I will not be getting a TEXT FILE AS AN OUTPUT.
Now my requirements is 1) to schedule it background jobs
2) the output should be text file format(where the file path will be hard coded in the program itself based on Time stamping)
So how can I handle it.
Waiting for your reply.