URL/Browser Check Function.
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)?
Thomas Jung replied
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.