‎2009 Sep 29 2:00 AM
Hi Gurus
Do someone knows if there is a way to rename files on a server?
Or if theres a function module to do that?
Or if a transaction to do that exists?
Thanks in advanced
Emmanuel Rebolledo
‎2009 Sep 29 2:38 AM
HI do u mean server in the sence app server.
in this case i think we need to do by coding only.like copy the existing file with different name and delete the old file.
for whihc we had abap statements like open dataset,transfer and deletion of the file .
babita
‎2009 Sep 29 8:10 AM
Hi Emmanuel,
You have different ways in order to rename your files on the server :
1 - you can use report RSBDCOS0 under Unix and send Unix command (for instance mv file1 file2)
2 - you can use FM ARCHIVFILE_SERVER_TO_SERVER which copy Sourcepath file into Targetpath file
3 - you can code it with ABAP commands like OPEN DATASET / TRANSFER / CLOSE DATASET
...
I hope this will help you!
Samuel