SAP Knowledge Base Article - Preview

3547811 - Error: "Bean XXX not found on host XXXX" when executing RFC calls to Process Orchestration

Symptom

The following error can be seen in the PI/PO traces when executing an RFC call from ABAP sender system:

java.lang.RuntimeException: Bean <BAPI_FUNCTION_MODULE> not found on host <GATEWAY_HOST>, ProgId=<PROGRAM_ID> : Object not found in lookup of <BAPI_FUNCTION_MODULE>.
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:138)
at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:211)
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:185)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
Caused by: com.sap.engine.services.jndi.persistent.exceptions720.NameNotFoundException: Object not found in lookup of <BAPI_FUNCTION_MODULE>.
at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:653)
at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:430)
at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:714)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:117)
... 5 more


Read more...

Environment

  • SAP Process Integration
  • SAP Process Orchestration
  • SAP Netweaver Java

Product

SAP NetWeaver all versions ; SAP Process Integration all versions

Keywords

SAP Process Integration, SAP Process Orchestration, SAP Netweaver Java, RFC call, ABAP sender system, Bean not found, JCo RFC Provider, function module, JCo2 API, JCo3 API, BAPI FM, JNDI, NameNotFoundException, SAP note 1135947, program ID, dispatching configuration, EJB, JCO.Function, ejb-j2ee-engine.xml, JRA application, SM59 destination , KBA , BC-XI-CON-RFC , RFC Adapter , BC-XI-CON-IDO , Idoc Adapter J2EE , BC-MID-CON-JCO , Java-Connector , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.