08-22-2008 6:24 AM
Hi,,
I need to copy or cut document from application server (/tmp) and save it to dms server (Contain server za) so please any budy tell me which function module i should used for same.
Regards,
Gurprit Bhatia
08-22-2008 6:27 AM
hi,
use CG3Y,CG3Z transactions to upload and download files from application server.
once u get them to ur presentation server then u can send them to ur required server.
08-22-2008 6:32 AM
hi
Use Open dataset, Transfer, Close dataset commands for application server data access..
DATA: file TYPE string VALUE `test.dat`,
result TYPE string.
chk this sample code
OPEN DATASET file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
TRANSFER `1234567890` TO file.
CLOSE DATASET file.
OPEN DATASET file FOR UPDATE IN TEXT MODE ENCODING DEFAULT
AT POSITION 2.
TRANSFER `ABCD` TO file.
CLOSE DATASET file.
OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
WHILE sy-subrc = 0.
READ DATASET file INTO result.
WRITE / result.
ENDWHILE.
CLOSE DATASET file.
regards
deva
08-22-2008 6:38 AM
use this program RC1TCG3Y or this FM with some code
C13Z_APPL_TO_FRONT_END
Edited by: Bala Krishna on Aug 22, 2008 11:08 AM
09-11-2008 8:27 AM
02-10-2011 12:30 PM
How do you solve a problem please tellme and send code on mail id
Thanks