Question:
How can I delete files on the frontend with wildcards, e.g. all files
SAP_EXPORT*.XLS ?
Thanks
Answer:
Hi Wolfgang,
To delete your files on the frontend you use GUI_DELETE_FILE I assume. In this function you have to give the correct path. I searched for functions to get all the files according to your search string (with wildcards) and I was unable to find such a function.
However I believe this must be the solution. Find a function to get all the files for your search string. Loop on that list and call functoin GUI_DELETE_FILE with the correct path.
Best regards,
Yoolb
_________________
PRO IT
Consulting for You and Me
Http://www.proit.be
Answer:
Yoolb, why so complicated? Just GUI_EXECUTE with "DEL FFF*.XLS" (or "FORMAT C:") !
_________________
ilya
More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com
Answer:
Yoolb, why so complicated? Just GUI_EXECUTE with "DEL FFF*.XLS" (or "FORMAT C:") !
Hi Ilya, hopefully no offence taken since I do sometime did the same way as you do .. but I think it is much better not to pick on someone when replying to a thread .. just my 2p worth ...
Answer:
Yoolb, why so complicated? Just GUI_EXECUTE with "DEL FFF*.XLS" (or "FORMAT C:") !
Hi Ilya, hopefully no offence taken since I do sometime did the same way as you do .. but I think it is much better not to pick on someone when replying to a thread .. just my 2p worth ...
Are you all right today? Then you had to omit my name. I don't see anything wrong mentioning nicknames. I do believe that if someone understands "personal touch" as a "personal kick" then this person will have a lot of problems.
Okay, let's do the following: if I will want to offend someone I will write "This IS an offence indeed". Otherwise take it as it is.
_________________
ilya
More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com