09-17-2008 6:22 AM
Hi,
How to check the existence of a directory say USR/INTERFACES/HR/NONHR/SAP_TO_IFS/
before I download a file into that particular directory using GUI_Download.
Currently even if such a directory does not exist,
The download is successful.
But I want to validate the existence of the directory before the download.I tried using the FM PFL_CHECK_DIRECTORY.
Kindly Advice.
Thanks .
.
09-17-2008 6:50 AM
Hello Renu
It seems that you are mixing directories on presentation (GUI_DOWNLOAD) and application server (USR/INTERFACES/HR/NONHR/SAP_TO_IFS/).
To check the existance of a directory on the presentation server use method cl_gui_frontend_services=>DIRECTORY_EXIST.
This class has many more useful methods.
Regards
Uwe