05-16-2008 5:39 PM
hi all,
how we save file in application server
please provide the code
thanks rahul
05-16-2008 5:44 PM
Hi,
Execute a function module in SE37
From client(work station or desktop) to Application server execute this function module:
ARCHIVFILE_CLIENT_TO_SERVER
provide source file path (ie client workstation or desktop file path)
provide target file path (in application server)
Hope it helps.
Regards
KK
05-16-2008 6:44 PM
Hi Kishore,
There is no need to write a code. You just go to CG3Z tcode and give the source file on front end and target file on application server and press shift+f2.That is enough.
Reward points if useful.
Thanks,
Khan.
05-16-2008 5:49 PM
05-16-2008 7:03 PM
Hi,
There are 2 ways for saving the file on application server.
One is using datasets as one of our friends suggested.
second one is using function module ''C13Z_FRONT_END_TO_APPL''
Reward points if helpful.
Thanks and regards.
05-16-2008 7:42 PM
hi check this..
DATA: file TYPE string VALUE `test.dat`.
OPEN DATASET file FOR OUTPUT IN TEXT MODE
ENCODING DEFAULT
WITH SMART LINEFEED.
TRANSFER `1234567890` TO file.
CLOSE DATASET file.
regards,
venkat .
05-16-2008 8:23 PM
Hi,
We can save a file in Application server using following steps.
1. Open dataset <datasetname>
2. Transfer file
3. Close dataset
for syntax or any sample program see f1 help on open dataset.
Regards
Ganesh