Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question