10-31-2007 5:47 AM
Hi
Can anybody tell me that Is there any function module for deleting file from presentation server like C directory.
Quick suggestion will highly be appreciated!!!!!!!
10-31-2007 5:57 AM
Try this:
CALL METHOD cl_gui_frontend_services=>file_delete
EXPORTING
filename =
changing
rc =
EXCEPTIONS
FILE_DELETE_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
FILE_NOT_FOUND = 4
ACCESS_DENIED = 5
UNKNOWN_ERROR = 6
NOT_SUPPORTED_BY_GUI = 7
WRONG_PARAMETER = 8
others = 9
.
this is pretty gud approach .
Message was edited by:
Nishant Rustagi
10-31-2007 5:57 AM
Try this:
CALL METHOD cl_gui_frontend_services=>file_delete
EXPORTING
filename =
changing
rc =
EXCEPTIONS
FILE_DELETE_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
FILE_NOT_FOUND = 4
ACCESS_DENIED = 5
UNKNOWN_ERROR = 6
NOT_SUPPORTED_BY_GUI = 7
WRONG_PARAMETER = 8
others = 9
.
this is pretty gud approach .
Message was edited by:
Nishant Rustagi
10-31-2007 6:09 AM
Hi ,
This link will b usefull for u .
try this..
http://sapabaplive.blogspot.com/2007/10/list-of-function-modules.html
06-03-2020 9:16 PM
I suggest you try Long path tool is the very good program for easily delete, copy & rename long path files, error, unlock solution. Try it and solve your problem.