cancel
Showing results for 
Search instead for 
Did you mean: 

SAP JCo Server for multiple (dynamic) destinations and repositories

0 Kudos
349

We have two SAP systems (SYS_A and SYS_B) and from SYS_A we want to call RFC FM from the system SYS_B with the destination parameter defined as JCo Server, for example on system SYS_A we call using ABAP:

CALL FUNCTION 'RFC_SYS_B'
  DESTINATION 'JCO_SERVER'.

So how to define the properties of the server and repository in JCo in such way, that we get dynamically meta date about the called function? And how to do it dynamically, so that when call a RFC FM from another system SYS_C it will also work, i.e JCo Server will also catch this call along with the call meta data? Should we use property jco.server.repository_map for this? If so, how to define it using this parameter? How to define it in JCo, that calls are coming from SYS_A, but the repositories are on SYS_A and SYS_B and maybe on any another system?

Accepted Solutions (0)

Answers (1)

Answers (1)

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Andrew,

Yes, jco.server.repository_map is the property you can use for that purpose. Carefully read the documentation of ServerDataProvider.JCO_REP_MAP in the JavaDoc of JCo. It descirbes how the parameter can be used.

Best regards,
Markus