2008 Dec 25 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
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
2008 Dec 25 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
2008 Dec 26 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
2008 Dec 26 1:24 AM
OPEN DATASET FILENAME FOR INTPUT IN TEXT MODE.then use
delete dataset <filename>.
2008 Dec 26 2:50 AM
2008 Dec 26 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
2009 Jan 19 7:57 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |