cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized when sending EDI from ICH

Former Member
0 Kudos

Hi

When I try to send an EDI from our ICH-server (SCM) to a R/3-target system via PI-server (v7.0) , I get :

u201Du2026

<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>

<SAP:P1>401</SAP:P1>

<SAP:P2>Unauthorized</SAP:P2>

u201C

This error is fetched in the ICH-servers sxmb_moni

I have found several tips and tricks for this situation on SDN.

But, my main-question is:

Which user is not allowed to login?

Is it XIAPPLUSER? I can't find the user in the tracelog for the message. Only the original person who created the EDI. (I'm quite sure that user is not the one the system is complaining about).

Does anybody knows how to analyse this?:

  • Where can I get clear info on which user that can't login to PI?

  • Where do I check the password?

Note, the other way around works fine. I.e sending messages from R/3 to ICH via PI.

So, I guess that this has to do be something with the ICH:s configuration.

Appreciated

/Joakim

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Check het user XIAPPLUSER or PIAPPLUSER

--> Should have role SAP_XI_APPL_SERV_USER

--> unlocked in SU01

--> Password needs to be set equal in:

- ABAP stack (SU01)

- SLDAPICUST

- Java Exchange Profile ( http://<server>:5<nn>00/exchangeProfile/index.html )

former_member183906
Active Contributor
0 Kudos

1) Where can I get clear info on which user that can't login to PI?

Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized

Description: The request requires user authentication

Possible Tips:

• Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER

• If the error is in XI Adapter, then your port entry should J2EE port 5<System no>

• If the error is in Adapter Engine

–then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.

• May be wrong password for user XIISUSER

• May be wrong password for user XIAFUSER

– for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message

2) Where do I check the password?

Check in SU01 if the user is not locked or pwd is OK. Password will be known to basis team. Cross verify with team.

Further,clear adapter engine cache (sxi_cache -> Goto -> Adapter Engine Cache -> Delete cache contents)

Former Member
0 Kudos

Yes, The PIAPPLUSER was locked. After unlock we came further. (Ran into other problems though...)

Thank You!