12-25-2008 9:54 AM
hi
how can i change file name of file that found some directory in the server and i hvae the old name
and the bath.
to change the name of the file just only , not to change what the file contains on it.
thanks,
best regards
Owesat ehsan
12-25-2008 11:14 PM
Hi Owesat,
Copy the file to a new file name using Function Module :- ARCHIVFILE_SERVER_TO_SERVER
and once copied successfully delete the old using DELETE DATASET.
Regards,
Darshan Mulmule
12-26-2008 12:26 AM
Please use tranx SM69 and define the external commands, You may execute the batch file by using FM SXPG_COMMAND_EXECUTE.
aRs
12-26-2008 1:24 AM
OPEN DATASET FILENAME FOR INTPUT IN TEXT MODE.
then use
delete dataset <filename>.
12-26-2008 2:50 AM
12-26-2008 3:19 AM
hi,
you can transfer the file to another file an dthen delete the first file.
open dataset file1 .
read that data set file1 and append its value to internal table
close dataset file1.
then you can
open dataset file2 ,then transfer it_tab to file2.
close dataset file2.
delete dataset file1.
thanks
01-19-2009 7:57 AM