Skip to Content
avatar image
Former Member

SM59 - HTTP Connection Failed


I am trying to build the HTTP connection to another SAP server for type 'H' - HTTP Connections to ABAP System (the port is: 44311). For the logon part, I input the following information:

- Client

- User

- Password

When I perform the connection test, the logon screen always pop-up and I entered the user and password 3 times but all failed. Then it returns the error 401 not authorized.

(I tried another connection directly use ABAP type, it works fine.)

In addition, I wrote a program (cl_http_client=>create_by_destination, with the RFC HTTP connection name) that try to call the OData service in the target system and it also pop-up the screen to ask me to input the client, user and password. I input the same client, user and password and it successfully run as expected.

The result makes me very confused, and I searched several places and seems not find the answer so placed here for your help. Thanks!

Best Regards,

Radar Lei

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers