cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Client Proxy settings

Former Member
0 Kudos

Hi All,

I have a client proxy in my R/3. I have created a report and called this proxy. When I execute this report, it is remotely logging on to XI server with the user Id of my R/3. When I check the SXMB_MONI of R/3, I get the msg

<b>HTTP response contains status code 401 with the

description Unauthorized</b>

Thanks,

JaiShankar

Accepted Solutions (0)

Answers (4)

Answers (4)

udo_martens
Active Contributor
0 Kudos

Hi Jai,

the XI System user, given in the R/3 destination to the XI, is blocked, not valid or has not enough rights.

Regards,

Udo

Former Member
0 Kudos

Hi,

In your R/3 system go to Tcode : SPROXY.

R u able to see the all SWCV in sproxy.

check the HTTP Connection which you created in your R/3 system.

test the above connection is working fine or not..if not correct the coonection.

Regards,

Venu.

Former Member
0 Kudos

Hi,

check this blog

<a href="/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies">/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies</a>

Regards,

Sudharshan

Former Member
0 Kudos

Hi Venu,

I can see all the SWCV in SPROXY. In SXMB_ADM -> Integration engine Configuration, the value for

Corresponding Integration Server : http://<host>:<http port>/sap/xi/engine?type=entry

is maintained. There is no HTTP Connection to XI server.

Regards,

Jai Shankar

Former Member
0 Kudos

Jai,

You need to have the http destination to XI with proper Logon credentials else use userID and password in ur query string like

http://host:port/sap/xi/engine?type=entry&user=XIAPPLUSER&password=Pqrs-123

for related Integration Server in SXMB_ADM of Application System.

Best is to use a HTTP Destination.

The purpose of the destination is to provide the XI Pipeline URL and Logon credentials for logging form R/3 to XI.

Regards,

Sudharshan

Message was edited by:

Sudharshan Aravamudan

Former Member
0 Kudos

Sudharshan,

Thanks for poiting out. I created a RFC destination as specified in the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3022. [original link is broken] [original link is broken] [original link is broken] [original link is broken] When I click on Test Connection Tab, it asks me for User Id and Password(XI Server). I have specified the XIAPPLUSER UserId and password, but it displays <b>HTTP Ststus Code 401: Unauthorized</b>

Regards,

Jai Shankar

bhavesh_kantilal
Active Contributor
0 Kudos

Jai,

It should be the XIISUSER . Try with this and let us know.

Regards

Bhavesh

Former Member
0 Kudos

Hi,

I also tried changing the query string like you mentioned. Still no success.

Regards,

Jai Shankar

Former Member
0 Kudos

Hi,

It says the Query string not allowed ..again you click the enter button and save activate...

what error you are getting while creating RFC connection can you post.

Regards,

Venu.

Former Member
0 Kudos

Jai,

Try to login in to XI server with these user id'a and password.

XIAPPLUSER

XIISUSER

If u r able to successfully login use the same password in destination.

Regards,

Sudharshan

Former Member
0 Kudos

Bhavesh,

Tried with XIISUSER. Still the same problem.:-(

Regards,

Jai Shankar

Former Member
0 Kudos

Venu,

It is not the information msg(Query string not allowed) I get. I saved the connection and tested it. When I click on Test connection tab, It asks me for the User Id and password. If I mention them, still I get the error HTTP Ststus code 401: Unauthorized

Regards,

Jai Shankar

former_member192798
Active Contributor
0 Kudos

Hi Jai,

Did you upgrade the system recently. If so, don't forget to generate the roles. What is the SP level now.

Regards.

Praveen

Former Member
0 Kudos

Sudharshan,

I tried logging to XI server with XIAPPLUSER and XIISUSER and both logins are sucessful. The same password I have used in HTTP connection also.

Regards,

Jai Shankar

Former Member
0 Kudos

Jai,

As Praveen suggested try regenerating the roles for XIAPPLUSER and XIISUSER and check.

Regards,

Sudharshan

Message was edited by:

Sudharshan Aravamudan

former_member192798
Active Contributor
0 Kudos

Hi Jai,

I just searched the forum and found that Michal has already fixed a similar problem in one of the thread. I mentioned the same hereunder. Why don't you try this too.

go to the XI installation guide and check creating:

RFC Destination - INTEGRATION_DIRECTORY_HMI

you specify the user XIISUSER over there

go exactly step by step with the installation guide (every "Enter" matters)

and change the password for this RFC dest

installation guide:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/95d7d490-0301...

you can also check these properties in the exchangeprofile:

http://<host:port>/exchangeProfile

com.sap.aii.integrationserver.serviceuser.name

com.sap.aii.integrationserver.serviceuser.pwd

pwd is the password for this user

I hope this should help you.

Regards.

Praveen

Former Member
0 Kudos

HI Sudharshan, Praveen,

I am on PI 7.0 SP 09.

@ Praveen, If you are mentinoning about roles of XIAPPLUSER, it has the role <b>SAP_XI_APPL_SERV_USER</b>. Do I need to assign any other role to this user?

Regards,

Jai Shankar

Former Member
0 Kudos

Jai,

Is ur Application System on WAS 640 or below.

Is ur XI service user password having some CAPS.

Password is Case Sensitive in PI 7.0.

Regards,

Sudharshan

Former Member
0 Kudos

Jai,

Users are

PIAPPLUSER and

PIISUSER

Regards,

Sudharshan

former_member192798
Active Contributor
0 Kudos

Hi Jai,

With regard to the role for XIAPPLUSER, it is fine. Change the user temporarily to dialog user and try to logon for checking. If you get the "Change Password" dialog box Cancel the logon (do not change the password).

Check whether you have used SAP XI Adapter for this scenario and the Authentication is LogOn for non-sap data. Also check the port once again. Even if you have mentioned the wrong port, you get a similar error.

Regards.

Praveen

Former Member
0 Kudos

Hi,

1. Ask your Basis guy what user he is using that UserID & Pwd try once

and check that user has been locked .

2. (or) go to Logon/Security tab select the SSL radio button active

3. Delete the connection and check the users are locked (XIAPPLUSER,XISUPER,XIISUSER, Another user is Basis user )

and now create the connection.

4. enter the servername not ip address and ICM port and enter the path string( /sap/xi/engine/?type=entry)

Try once Jai you will resolve this problem..i had faced this problem in my case user has locked.

Regards,

Venu.

former_member192798
Active Contributor
0 Kudos

Jai,

Have a look at this OSS 821026 and the below link which is explicitly for the HTTP Errors:

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

Meanwhile I will check out related threads to give you some possible inputs.

Regards.

Praveen

Former Member
0 Kudos

Hi Venu,

User Id, pwd are valid and I have specified the host name and not Ip adress. Also the Ids are not locked.

The RFC destination INTEGRATION_DIRECTORY_HMI in XI server test connection result

HTTP Response : 500

Status Text : Internal Server Error

Duration Test Call : 1813 ms

The Response Body conatined

Application error occurred during request processing.

  Details:   Error .

Exception id:

Can you let me know which configuration I am missing?

Regards,

Jai Shankar

former_member192798
Active Contributor
0 Kudos

Hi Jai,

This error is thrown if the server encounters an unexpected condition. Check these OSS Notes: 804124, 807000.

Hope this should help.

Regards.

Praveen

bhavesh_kantilal
Active Contributor
0 Kudos

Posted by mistake!

Message was edited by:

Bhavesh Kantilal