cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP to RFC

Former Member
0 Kudos

Hi Guys :

I got this error message in a HTTP to RFc scenario. I am basically using a BAPI.

Error: http-Status: 500 Internal Server Error

Payload:

<SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.</SAP:AdditionalText></SAP:Error>

Can anyone tell me where the error is : XI side OR Bapi side and what could be done?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I am also getting same problem in Http to RFC synchronous Scenario. I am also getting empty tags in response of RFC. If you or anybody know how to solve this, please give me the solution

Thanks & Regards

Rit

sbhutani1
Contributor
0 Kudos

Hi,

Refer to my blog on wiki for any kind of problem related to HTTP to RFC scenario

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/httpToRFCSynchronousScenario-FAQs&

Best Regards

Sumit Bhutani

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Guys :

I checked in se37 and corrsponding to an Order number I get some fields in SAP but when I call that BAPI via XI ,in output of HTTP client i am not getting similar values as I see in se37.

This BAPI is like a RFC wrapper currently and someone is devleoping it. I asked him to hard code some values for me to test whether I get result on my http client.

IS this some issue in XI or his custom BAPI?

Thanks,

Former Member
0 Kudos

Hi,

A similar issue van occur when omitting leading zero's in the BAPI call. The se37 transaction will automatically preprend a number (such as an order number) with zero's if necessary, but the RFC adapter will not.

Please try sending an order number through XI with leading zero's.

Kind regards,

Koen

Former Member
0 Kudos

i found error : since my BAPI does not have a RETURN structure ,I need to uncheck ADVANCED mode in BAPI

<b>but another problem is coming ,now I am getting result but with Empty tags</b>.

Can anyone help?

Thanks

Former Member
0 Kudos

Hey

make sure that the BAPI is sending ur values,also check ur response message mapping by using the payload from sxmb_moni.

thanx

ahmad

Former Member
0 Kudos

Hi XI,

If your BAPI dont returan any values then how will get the values in response. First test the bapi whether it is returning any values or not?

---Satish

Former Member
0 Kudos

Hi,

Please check the metadata of RFC Response in xi and the bapi Response for mismatch.

Thanks,

Beena.

Former Member
0 Kudos

Yes it is a synchronous call.

I have 2 mappings one for BAPI request and other for BAPI response.

Thanks

Former Member
0 Kudos

Hi ,

Is it synshronous call?

Have you mapped response in XI?

Thanks,

Beena.