04-20-2006 8:58 PM - last edited on 02-04-2024 6:10 AM by postmig_api_4
Hello guys
I want to know if there is any FM for deleting a file on PC.
thank you
vj
04-20-2006 9:04 PM
You can use Function Module "GUI_DELETE_FILE". There is one issue with this function module, whether successful or not the function module raises the error condition.
Thanks
Jerrod
04-20-2006 9:04 PM
You can use Function Module "GUI_DELETE_FILE". There is one issue with this function module, whether successful or not the function module raises the error condition.
Thanks
Jerrod
04-20-2006 9:36 PM
Hi,
You can also use the FILE_DELETE method of the class CL_GUI_FRONTEND_SERVICES.
Regards,
Suresh Datti
04-20-2006 10:19 PM
04-20-2006 9:35 PM
Hi,
If you are in ECC 5.0, please try this FM <b>UBC_FILE_DELETE</b>.
or you can use
CALL METHOD cl_gui_frontend_services=>file_delete
EXPORTING
filename = l_filename
CHANGING
rc = l_rc
EXCEPTIONS
file_delete_failed = 1
cntl_error = 2
OTHERS = 3.
Hope this will help.
Regards,
Ferry Lianto