cancel
Showing results for 
Search instead for 
Did you mean: 

PCK connection user - Unauthorized

Former Member
0 Kudos

Hi Experts,

I have a cenario with a PI 7.11 and a PCK 7.11.

The ideia is forward a message from PI to PCK through an XI communication channel.

But, when the message is send to PCK it returns this error:

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>XIServer</SAP:Category> 
  <SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code> 
  <SAP:P1>401</SAP:P1> 
  <SAP:P2>Unauthorized</SAP:P2> 
  <SAP:P3>(See attachment HTMLError for details)</SAP:P3> 
  <SAP:P4></SAP:P4> 
  <SAP:AdditionalText></SAP:AdditionalText> 
  <SAP:Stack></SAP:Stack> 
  <SAP:Retry>M</SAP:Retry> 
  </SAP:Error>

The username and the password are correct in the adapter. My doubt is about language and client. Do I need to configure these two fields in the PI communication channel? What client should I use?

Searching in the SDN Forum I found this thread:

[;

It talks about configurations needed for the connection user. Can anybody tell me where can I find these configurations for the 7.11 PI and 7.11 PCK?

Thanks everybody

Edited by: David Tiago Conceição on Jan 4, 2011 4:32 PM

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

> The username and the password are correct in the adapter. My doubt is about language and client. Do I need to configure these two fields in the PI communication channel? What client should I use?

Choose: Use Logon Data for Non-SAP System.

> It talks about configurations needed for the connection user. Can anybody tell me where can I find these configurations for the 7.11 PI and 7.11 PCK?

In web browser choose http://<server>:<port>/useradmin (server and port from PCK installation)

log on with admin user.

Former Member
0 Kudos

Hi Stefan,

I did not understand what you said about /useradmin.

And I have no access to this screen because I am a developer.

I changed the login for Use Logon for non SAP system and now I have a different error:

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>XIServer</SAP:Category> 
  <SAP:Code area="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code> 
  <SAP:P1>400</SAP:P1> 
  <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2> 
  <SAP:P3>(See attachment HTMLError for details)</SAP:P3> 
  <SAP:P4 /> 
  <SAP:AdditionalText /> 
  <SAP:Stack>Error while receiving by HTTP (error code: 400 , error text: ICM_HTTP_CONNECTION_FAILED) (See attachment HTMLError for details)</SAP:Stack> 
  <SAP:Retry>A</SAP:Retry> 
  </SAP:Error>

Former Member
0 Kudos

Stefan,

This last error message occur because the host was wrong at the communication channel. I tried a different host-String for testing.

After adjust that, I got this error:

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIAdapterFramework</SAP:Category> 
  <SAP:Code area="MESSAGE">GENERAL</SAP:Code> 
  <SAP:P1 /> 
  <SAP:P2 /> 
  <SAP:P3 /> 
  <SAP:P4 /> 
  <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=Dusky;TS=DK2;AN=MIA_Teste;ANS=http://www.tridmen.com.br/testePCK;</SAP:AdditionalText> 
  <SAP:Stack /> 
  <SAP:Retry>M</SAP:Retry> 
  </SAP:Error>

I think this is related to the note 1258546.

Thanks for the help anyway.

Answers (0)