Skip to Content
0
Former Member
Feb 03, 2011 at 05:26 AM

How to validate file path

2113 Views

Hi,

I have field on my selection screen to enter file path. This parameter has F4 help to choose the file path. However, I have a concern over here...

If user enters file path manually(meaning that without using F4), there is chance that he may enter file path without any extension or without any drive/or the file which doesn't exist in the system ...In this case I want to validate the file path. And I should give an error saying "Invalid file path or name".

Could you please help me out with any FM or any other go for the same?

Thanks,

Sandeep