‎2007 Jan 09 4:54 PM
Hi All,
Is there any options to delete for file in directory in Application server. If there ,please send me flow or logic.
‎2007 Jan 09 4:58 PM
‎2007 Jan 09 4:59 PM
Hi,
For deleting a file in the application server user the syntax DELETE DATASET..
DELETE DATASET '/tmp/test.txt'.
IF SY-SUBRC <> 0.
WRITE: / 'Error in deleting'.
ELSE.
WRITE; / 'File deleted'.
ENDIF.
Thanks,
Naren
‎2007 Jan 09 5:02 PM
‎2007 Jan 09 5:26 PM
For deleting a file in application server syntax is <b>DELETE DATASET..</b>
<b>DELETE DATASET '/abap/1.txt'.</b>