cancel
Showing results for 
Search instead for 
Did you mean: 

An URL is not opening from webdynpro application. 401 authentication error

abhishek_nag
Explorer
0 Kudos

Hi experts,

We have a webdynpro application that outputs webdynpro ALV. Clicking on one of the cell (Link to action) of this ALV should open a document from another system.Basically on the click of this alv cell we are opening an url with userid and password.

Technical briefing : We are using standard class cl_http_client to achieve this functionality. But it fail at the time of authentication and giver error code 401.However if we open the same URL directly from internet explorer and give the same userid and password, the document opens. And it's very surprising that it works fine in developmemt system but fails in production system with error 401.

Can anyone suggest.

Regards,

Abhishek

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Further adding to Frank, also check if user has sufficent authorization.

Thanks

KH

abhishek_nag
Explorer
0 Kudos

Hi guys,

Thank you for your quick response. Well there are no issues with authorization. Had there been any authorization issue we couldn't have even opened the url from Internet.Explorer directly using the same userid and password.

But I will check the ACl settings what Frank has suggested and will update you after that.

Thanks,

Abhishek

frank_ruggaber
Explorer
0 Kudos

Hello Abhishek,

have you checked the ACL entries in transaction STRUSTSSO2? The logon ticket of system a has to be accepted of system b and vice versa.Therefore you need an ACL entry in system a with the certificate of system b and vice versa.

Regards

Frank