10-10-2007 7:10 PM
Hello,
Does anyone knows how to delete a file from the following SAP directory?
/USR/SAP/TMP/file.txt
Thanks in advance,
CL
10-10-2007 7:12 PM
10-10-2007 7:12 PM
10-10-2007 7:15 PM
Thanks for your quick reply. But I do get this error:
Exception NO_AUTHORIZATION
Message ID: TK Message number: 621
Message:
No authorization for transferring files in Change and Transport System
Any suggestion?
10-10-2007 7:18 PM
I guess you are not authorized to delete the files on that Unix directory. Unless your security team gives you more authority, you can not delete that file.
10-10-2007 7:20 PM
Krishna, that message error do not belong to your approach.
I'm running your code without any errors, but the file stills there.
10-10-2007 7:14 PM
10-10-2007 7:16 PM
Thanks I like this approach better.
I tried the code but is not deleting the file. Do I need to Open a dataset first?
10-10-2007 7:24 PM
Hi,
You don't have authorization to delete the file.
Please ask BASIS/Unix admin to delete the fie or give enough authorization to delete the file.
Regards,
Ferry Lianto
10-10-2007 7:25 PM