Skip to Content

External Window - Basic Authentication

Hi ,

I have a webdynpro application that invokes a third-party URL ( without any authentication ). I am calling the URL using external window of Window manager and it works perfectly fine.

However, now we want to provide basic authentication for third party URL. The third party URL enforces basic authentication and direct call from external window does not display anything ( for obvious reasons as I have not set the HTTP header with basic authentication )

I am aware of class CL_HTTP_CLIENT and how it can be used to set the HTTP header and authentication.

However, what I am struggling is how I can set the HTTP header and authentication using window manager or external window.

Also, is there any other way of setting the HTTP header in Webdynpro ABAP.

Any pointers will be well appreciated. Thanks!



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Mar 31, 2015 at 02:10 AM


    A quick update on what I I tried. I set the HTTP authorization using CL_HTTP_CLIENT. However, it is not able to open the browser or call the URL using SEND statement. I believe SEND will call the URL in the background and we have to receive the data and then process it.

    In my case, I dont want to receive any data and I only want to call the browser with authenticated URL.

    Any pointers for the same. Thanks!



    Add comment
    10|10000 characters needed characters exceeded