We have two SAP systems (SYS_A and SYS_B). From the SYS_A we want to call an RFC FM from the system SYS_B (an RFM, which is physically on the SYS_B system, so JCo Server repository should also point to SYS_B repository) 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 metadata about the called function? And how to do it dynamically, so that when call an RFC FM from another system SYS_C it will also work, i.e JCo Server will also catch this call along with the call metadata?
Should we use property jco.server.repository_map
for this? If so, how do you 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?