Third party system (JCO) ---RFC---> PI ---RFC---> ECC
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
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.