2008 Jan 16 9:37 AM
hi experts,
how to validate file path, weather given file exists in the given path or not. for both presentation and application server files.
kindly suggest Function modules
i am using F4 function module to take input to the file name parameter. if user didn't used those options and directly entered the file path then i have to validate that path.
regards,
pavan
2008 Jan 16 9:42 AM
Hello,
Use the method FILE_EXIST in the class CL_GUI_FRONTEND_SERVICES.
Regards,
Vasanth
hi experts,
how to validate file path, weather given file exists in the given path or not. for both presentation and application server files.
kindly suggest Function modules
i am using F4 function module to take input to the file name parameter. if user didn't used those options and directly entered the file path then i have to validate that path.
regards,
pavan
2008 Jan 16 9:42 AM
Hello,
Use the method FILE_EXIST in the class CL_GUI_FRONTEND_SERVICES.
Regards,
Vasanth
2008 Jan 16 9:58 AM
hi,
will this work for both application and presentation server.
regards,
pavan
2008 Jan 16 9:58 AM
Hi pavan,
for the application server side, you may also have a look at function group EPSF.
I hope this helps. Best regards,
Alvaro
2008 Jan 16 10:40 AM
hi all,
for presentation server path cl_gui_frontend_services=>file_exist is working.
for application server path
PFL_CHECK_OS_FILE_EXISTENCE--function module is working fine.
Thank you all for your quick responses.
regards,
pavan
2008 Feb 26 4:44 AM
Hi,
My requirement is ,how to validate input file path ,if file will be on application server ,how to define physical filepath on applcation server,will u pls send me procedure how to do that.
Regards,
Vidya
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |