Skip to Content
avatar image
Former Member

URL/Browser Check Function.

Hi Friends,

I want to check if the given URL/Browser is valid. I couldnu2019t find any standard function for this check. The method CL_GUI_FRONTEND_SERVICES->EXECUTE and Function module Call_Browser are only to call but it is not returning any error (HTTP 400 or something like this).

Do you know any function or method to check URL/Browser (not to open but only to check and get the return code)?

...Naddy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 01, 2011 at 01:20 PM

    Class CL_HTTP_CLIENT will use the ABAP Server as the Client (Web Browser). You can make an HTTP request to a URL and check the HTTP return code - all from the server work process. The other approaches you mention all use the client side and the SAPGUI to call the client side web browser and wouldn't work from within Web Dynpro. CL_HTTP_CLIENT works perfectly fine within WDA.

    Add comment
    10|10000 characters needed characters exceeded