cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP To RFC Error

former_member331856
Participant
0 Kudos

Hi Experts,

I am configuring the HTTP to RFC Scenario, from the blog : HTTP to RFC - A Starter Kit | SCN . I am testing it from RWB it is throwing the below error:

Error while sending message: 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.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=BS_Sender;TS=T90CLNT090;AN=MI_Company_OB;ANS=http://HTTPtoRFC; Receiever Agreement is also Working fine. I have checked the RFC Destination from PI to R3 of ABAP Type Connection it also working fine. Please suggest me how i can proceed further.


Please check and do the needful.



Regards,

GIRIDHAR



Accepted Solutions (1)

Accepted Solutions (1)

former_member190624
Active Contributor
0 Kudos

Hi Giridhar,

Issue is not with channel or agreement . I think , it's issue with interface structure. Could you please cross check ,message mapping out come is exactly same as message structure of inbound interface.

Note : Also test interface from ID (receiver determination test button) with same payload.

Thanks

Hari.

former_member331856
Participant
0 Kudos

Hi Hari,

I have tested the scenario in Id as you mentioned. No error in ID Test Configuration. Even i have checked the Interfaces and Message Mapping everything step by step it is fine. When i am checking from the HTTP Client tool i am getting the Response also.  But No Message is visible in SXMB_MONI.

Sender Input XML:

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

<ns0:MT_CompanyID xmlns:ns0="http://HTTPtoRFC">

   <CompanyID>1</CompanyID>

</ns0:MT_CompanyID>

Receiver Output which is visible in HTTP Client tool is :

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

<ns1:MT_CompanyGetDetails xmlns:ns1="http://HTTPtoRFC"><CompanyId></CompanyId><Name1></Name1><Country></Country><City></City><Street></Street><ZipCode></ZipCode></ns1:MT_CompanyGetDetails>

I have checked the RFC, BAPI_COMPANY_GETDETAIL with input value 1 in SE37 Transaction also it is having some test data. But the Data is not getting retrieved. Please suggest me what are the backend ALE connections (RFC Destinations on PI and ALE Side) required in both SAP PI and R3 side.

Regards,

GIRIDHAR

former_member331856
Participant
0 Kudos

Hi Hari,

I have tested the scenario in Id as you mentioned. No error in ID Test Configuration. Even i have checked the Interfaces and Message Mapping everything step by step it is fine. When i am checking from the HTTP Client tool i am getting the Response also.  But No Message is visible in SXMB_MONI.

Sender Input XML:

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

<ns0:MT_CompanyID xmlns:ns0="http://HTTPtoRFC">

   <CompanyID>1</CompanyID>

</ns0:MT_CompanyID>

Receiver Output which is visible in HTTP Client tool is :

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

<ns1:MT_CompanyGetDetails xmlns:ns1="http://HTTPtoRFC"><CompanyId>001000</CompanyId><Name1>IDES AG</Name1><Country>DE</Country><City>Frankfurt</City><Street>Lyoner Stern 23</Street><ZipCode>60441</ZipCode></ns1:MT_CompanyGetDetails>

I have checked the RFC, BAPI_COMPANY_GETDETAIL with input value 1 in SE37 Transaction also it is having some test data. But the Data is not getting retrieved. Please suggest me what are the backend ALE connections (RFC Destinations on PI and ALE Side) required in both SAP PI and R3 side.

Regards,

GIRIDHAR

former_member331856
Participant
0 Kudos

Hi Hari,

Thanks for the Reply. The issue is solved by maintiaining the LOGGING_SYNC to 1 which you have already mentioned in my another thread also. All my Synchronous Scenarios got resolved. Thanks a lot.

Regards,

GIRIDHAR

Answers (1)

Answers (1)

Sriram2009
Active Contributor
0 Kudos

Hi Reddy

Could you refer the SAP Note

  1684808 - CPALookupException in PI

BR

SS