2006 Apr 20 8:58 PM - last edited on 2024 Feb 04 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
2006 Apr 20 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
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
2006 Apr 20 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
2006 Apr 20 9:36 PM
Hi,
You can also use the FILE_DELETE method of the class CL_GUI_FRONTEND_SERVICES.
Regards,
Suresh Datti
2006 Apr 20 10:19 PM
2006 Apr 20 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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |