on 07-04-2007 4:36 AM
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~~
Hi,
Do you want to call the BAPI Asynchronously? If yes, just create an Inbound Aysnch Message interface and use this.
Also, make sure that the BAPI has commit done on it .
regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are using PI7.0 SP11, I used rfc adapter to directly call BAPI, but I got the same error, the error lead me to think to use a wrapper to solve the problem, because the error mentioned there is no RETURN structure in the BAPI response, that's why I use BAPI. But even I use BAPI, I also get the same error as I directly call BAPI.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.