Skip to Content
0
Former Member
Jul 04, 2007 at 03:36 AM

RFC adapter Call BAPI error

93 Views

Hi XIer,

I am using RFC receiver to make a BAPI call, I used a BAPI wrapper due to this BAPI don't have a RETURN structure in the Export Tab which is XI expected.

but after I made a wrapper, the same error occurs, just like I directly call the BAPI without wrapper function. the error as following:

com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL: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.
	at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:456)
	at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
	at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:848)
	at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
	at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
	at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

the BAPI name is :QIRF_GET_USAGE_DECISION2

the wrapper name is :ZZQIRF_GET_USAGE_DECISION2

and I added a RETURN structure, type is BAPIRET2.

Please give me some ideas, thank you for your time~~