Skip to Content
0
Former Member
Jul 03, 2015 at 08:30 PM

check if URL is valid or not possible ?

360 Views

hi,

is it somehow possible via function module or class/method to check if a given URL is valid ?

Problem is:

in MSS i display photos of employees from intranet-server of customer:

for example:http://www.intranetserver.com/Employees/12345678.jpg -> 12345678 stands for the personnell number.

Some employees don't have a photo, so the url can't be found as there is no photo on intranet-server. When put the URL into browser i get error 404 (page not found) back.

but how can i check if this URL is valid inside abap-coding ? i have to do some other coding when url does not exist, and i need this before.

br Martin