Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Third party system (JCO) ---RFC---> PI ---RFC---> ECC

Hello all,

We are trying to implement the following scenario:

Third party system (JCO) -RFC-> PI -RFC-> SAP ECC

The third party system connect to PI via Java Connector API with a know user id in PI. After that third party system tries to obtain the RFC that is already implemented and remote enabled in SAP ECC environment. But at this step there is something wrong in third party system software because we are not able to obtain the RFC interface and metadata from PI repository.

1. This step is working correctly. Connection is OK.

JCO.Client mConnectionPI = JCO.createClient("100", // SAP client

"user_id", // userid

"********", // password

"pt", // language

"10.x.x.x", // application server host name

"01"); // system number

mConnectionPI.connect();

2. This step is not working correctly:

JCO.Repository repository = new JCO.Repository("TestRep", mConnectionPI);

IFunctionTemplate ftemplate = repository.getFunctionTemplate("Z_RFC_XXX"); - not found exception

We would like to know if there is something missing in any environment that we have to configure or implement in order to fix this issue. Thanks a lot.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question