cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Proxy error

Former Member
0 Kudos

Hi,

I am to doing a file to ABAP Proxy scenario but the following error is coming :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<!-- Call Integration Server -->

<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">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>

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

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

<SAP:P3/>

<SAP:P4/>

<SAP:AdditionalText>&lt;!DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN"&gt;&lt;html&gt;&lt;head&gt;&lt;title&gt;Logon Error Message&lt;/title&gt;&lt;META http-equiv="Content-Type" content="text/html;charset=UTF-8"&gt;&lt;style type="text/css"&gt;body { font-family:tahoma,helvetica,sans-serif;color:#333333;background-color:#FFFFFF; }td { font-family:tahoma,helvetica,sans-serif;font-size:70%;color:#333333; }h1 { font-family:tahoma,helvetica,sans-serif;font-size:160%;font-weight:bold;margin-top:15px;margin-bottom:3px;color:#003366; }h2 { font-family:verdana,helvetica,sans-serif;font-size:120%;font-style:italic;font-weight:bold;margin-top:6px;margin-bottom:6px;color:#999900; }p { font-family:tahoma,helvetica,sans-serif;color:#333333;margin-top:4px;margin-bottom:4px; }ul { font-family:tahoma,helvetica,sans-serif;color:#333333;list-style-type:square;margin-top:8px;margin-bottom:8px; }li { font-family:tahoma,helvetica,sans-serif;color:#33333;margin-top:4px; }.emphasize .note a { font-family:tahoma,helvetica,sans-serif;text-decoration:underline;color:#336699; }a:visited a:hover { text-decoration:none; }&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;table cellpadding="0" cellspacing="0" border="0" width="100%"&gt;&lt;tr&gt;&lt;td&gt;&lt;h1&gt;Anmeldung fehlgeschlagen&lt;/h1&gt;&lt;br&gt;&lt;h2&gt;Was ist passiert ?&lt;/h2&gt;&lt;p&gt;Der Aufruf der URL http://bgsapd2.acentres.capgemini.co.uk:8050/sap/xi/engine wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="emphasize"&gt;&lt;strong&gt;Hinweis&lt;/strong&gt;&lt;br&gt;Die Anmeldung wurde im System DXI ausgeführt. Hierbei wurden keine Anmeldedaten bereitgestellt.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;p&gt; &amp;nbsp;&lt;/p&gt;&lt;h2&gt;Was können Sie tun ?&lt;/h2&gt;&lt;ul&gt;&lt;li&gt; Falls Sie noch über keine Benutzerkennung verfügen, so wenden Sie sich an Ihren Systemadministrator. &lt;/li&gt;&lt;/ul&gt;&lt;br/&gt;&lt;p class="note"&gt;Fehlercode: ICF-LE-http-c:100-l:-T:-C:6-U:-P:-L:6&lt;/p&gt;&lt;br/&gt;&lt;p&gt; HTTP 401 - Unauthorized&lt;br/&gt;&lt;p&gt; Ihr SAP Internet Communication Framework Team&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace=""/>

<SAP:Stack>HTTP response contains status code 401 with the description Unauthorized

Authorization error while sending by HTTP (error code: 401, error text: Unauthorized)

</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Please tell me what needs to be done.

Thanks

Anita

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hey Anita,

Can u please chk one setting in ur application system.

Chk tcode SXMB_ADMIN -> Integration Engine Configuration. You need to configure ur application system as application & need to give corresponding Integration Server.

In the Corresponding Integration Server field r u using Directly the link .?? e.g hostname:portname......

Dont use this link ..instead create one RFC with same address & use the RFC in this field. Your problem will be solved. Let us know result with this settings.

Regards

Sushil

Former Member
0 Kudos

hi,

i think u did mistake in the communication channel in Http Response plz check that.....

reward me if it is useful.

regards

sasi

Former Member
0 Kudos

Try any user who has the following authorization assigned to him

SAP_XI_APPL_SERV_USER

for more info try to this link:

http://help.sap.com/saphelp_nw04/helpdata/en/d4/d12940cbf2195de10000000a1550b0/frameset.htm

Cheer's

Former Member
0 Kudos

Hi,

I have tried the scenario other way round also menas the ABAP Proxy to File again I am getting the same error in the SXMB_MONI of the R3, the data is not even passed ti XI :

body { font-family:tahoma,helvetica,sans-serif;color:#333333;background-color:#FFFFFF; }td { font-family:tahoma,helvetica,sans-serif;font-size:70%;color:#333333; }h1 { font-family:tahoma,helvetica,sans-serif;font-size:160%;font-weight:bold;margin-top:15px;margin-bottom:3px;color:#003366; }h2 { font-family:verdana,helvetica,sans-serif;font-size:120%;font-style:italic;font-weight:bold;margin-top:6px;margin-bottom:6px;color:#999900; }p { font-family:tahoma,helvetica,sans-serif;color:#333333;margin-top:4px;margin-bottom:4px; }ul { font-family:tahoma,helvetica,sans-serif;color:#333333;list-style-type:square;margin-top:8px;margin-bottom:8px; }li { font-family:tahoma,helvetica,sans-serif;color:#33333;margin-top:4px; }.emphasize .note a { font-family:tahoma,helvetica,sans-serif;text-decoration:underline;color:#336699; }a:visited a:hover { text-decoration:none; }

h1. Anmeldung fehlgeschlagen

h2. Was ist passiert ?

Der Aufruf der URL http://bgsapd2.acentres.capgemini.co.uk:8050/sap/xi/engine wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.

 

Hinweis

Please help.

Thanks and Regards

Anita Yadav

Former Member
0 Kudos

Hey Anita

Could you check the logon information in

Tcode SM59>HTTP Connections to ABAP System

on both R/3 and XI

Former Member
0 Kudos

Hi,

So many replies..

Well lemme add something..

Your Error Message Say:

<SAP:Category>XIServer</SAP:Category>

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

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

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

It means that the user being used does not have the authorization to connect to Integration Engine.

Whatever be the user PIAPPLUSER or any custom user, it should have the required authorization.

This is the case in both INBOUND AND OUTBOUND scenarios.

The only difference is

In Outbound Scenario, you put the user id and password in RFC destination and this user is used to connect to IE and we can configure this using SXMB_ADM.

In Inbound Scneario, you put the details in your communication channel.

Regards

Pushkar

Former Member
0 Kudos

Hi,

I tried the scenario with the service user but the error is again coimg

I have checked the authorisation for the service user the authorization is SAP_XI_APPL_SERV_USE, further in the SM59 the connection test is giving the

Status HTTP Response value as 500.

Please tell what needs to be done in this regard.

Thanks

Anita

Former Member
0 Kudos

Hey Anita,

Can u please chk one setting in ur application system.

Chk tcode SXMB_ADMIN -> Integration Engine Configuration. You need to configure ur application system as application & need to give corresponding Integration Server.

In the Corresponding Integration Server field r u using Directly the link .?? e.g hostname:portname......

Dont use this link ..instead create one RFC with same address & use the RFC in this field. Your problem will be solved. Let us know result with this settings.

Regards

Sushil

Former Member
0 Kudos

Anita,

<b>For File -> ABAP proxy:</b>

Make sure that you have created a user on the <b>business system</b> (not XI) with the same profile as PIAPPLUSER on XI.

Now create an RFC destination on <b>XI</b> (HTTP connection to ABAP System) which uses the user you created on the <b>Business System</b>.

Test this RFC destination first (I think you should get code 500, not 40x when testing).

Now make sure you are using this RFC destinations name in you receiver communication channel (Adpater type XI).

<b>For ABAP proxy -> File:</b>

Make sure you have defined your integration server in sxmb_adm -> integration engine configuration. This should point to XI.

Test that transaction SLDCHECK executes without problems.

Former Member
0 Kudos

the user you are givining in receiver proxy communication channel does not have the authorizations.. try PIAPPLUSER