cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Server Proxy

Former Member
0 Kudos

Hi,

I am trying out an ABAP Server Proxy scenario, in which a file is getting picked up from a specified directory and is being sent to R/3 via ABAP Proxy and the required data should be stored in a Z table.

I am getting the following error on the integration engine:

CLIENT_RECEIVE_FAILED

Can someone please help me out.

Regards,

Jigisha

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI,

It may be problem with ur RFC destination.Once check the test connection of the RFC connection under the R/3 system. Once check with ur basis consultant about the RFC destinations regarding Targethost,Service number,path and check for the Logon/security.

Former Member
0 Kudos

Hi Ghosh,

check out the following forum link:

Regards,

Archana

Former Member
0 Kudos

You can debug and test proxies... have a look at the document below...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e29161d3-0401-0010-3495-859...

former_member187339
Active Contributor
0 Kudos

Hi,

1) Is the error shown in MONI?

2) Does the Runtime Workbench--> Adapter Monitor shows any erro for the sender or receiver adapter?

3) Does the proxy executes as a stand alone function?

4) Does the proxy returns anything? If yes how is it handled?

Regards

Suraj

Former Member
0 Kudos

Hi Suraj,

SXMB_MONI shows the following error:

<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 />

<SAP:P4 />

Runtime workbench - Adapter Engine gives success message:

The message was successfully retrieved from the send queue.

The message was successfully transmitted to endpoint http://sapep:8000/sap/xi/engine?type=entry using connection AFW

The proxy is executing a stand alone function.

Jigisha

former_member187339
Active Contributor
0 Kudos

Hi,

So your Communication channel with adapter type XI is working fine !!! What are the values which you have specified in the channel? Also check the RFC Destination.

Regards

Suraj

Former Member
0 Kudos

Hi Suraj,

Adapter type: XI

Addressing type: URL Address

Path: /sap/xi/engine/?type=entry

RFC destination seems fine.

Jigisha

former_member187339
Active Contributor
0 Kudos

Hi,

Check your credentials... Did they have all the needed roles? Is your receiving SAP system >620? Hope you have created a RFC destination of type TCP/IP.

Also do a SLDCHECK

Regards

Suraj

Former Member
0 Kudos

Hi,

The receiving SAP system is 620.

RFC destination of type TCP/IP has been created.

SLDCHECK says:

RFC ping was successful

SLD API ping was successful

Summary: Connection to SLD works correctly

Jigisha

former_member187339
Active Contributor
0 Kudos

Hi,

As your SAPsystem is 620, you have to apply APPINT_620 patch. You can get it from service marketplace.

Regards

Suraj

Former Member
0 Kudos

Hi,

Currently the system is on SAPK-20005INAPPINT, Software Component Release 200_620 with patch 5 installed.

But still I am getting the same CLIENT_RECEIVE_FAILED error.

Please help me out with the same.

Regards,

Jigisha

Former Member
0 Kudos

Hi Jigisha,

As your Application system is on 620 , please can you chnage the URLa nd try:

You set up the HTTP destination in the SAP system by using transaction SM59. Use the following path prefixes in the Target System Settings.

/sap/xi/engine?type=entry

for SAP systems based on SAP BASIS 6.40 (XI 3.0 message protocol).

<b>/sap/xi/engine?type=receiver</b>

for SAP systems based on SAP BASIS 6.20 (XI 2.0 message protocol).

Regards

Vijaya

Former Member
0 Kudos

Hi Vijaya,

The R/3 system I am using is on 620 and the XI system is on 640 as such I have changed the URLs as:

In R/3 (sm59)->Http Connections to R/3 system, the target pathprefix is /sap/xi/engine/?type=entry

In the integration directory ->communication channel for adapter type XI, the target path is /sap/xi/engine/?type=receiver

I am still getting the error:

Error when receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED

Please help.

Regards,

Jigisha

Former Member
0 Kudos

<i>Error when receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED</i>

Could u please also check with the authorizations of RFC destinations etc...

-Naveen.

Former Member
0 Kudos

Hi -

Just wondering, is your '/sap/xi/engine' service active in your R/3 system? You would check this SICF of your R/3 system.

Also, I know you're putting the URL directly in the CC, but try creating a HTTP destination as somone earlier mentioned and do a test connection to see if you get the same results. If the connection works fine, try changing the CC to use the destination rather than the URL. Either way should work, but mainly for troubleshooting at this point.

Regards,

Jin