cancel
Showing results for 
Search instead for 
Did you mean: 

Reading JCO-Property "jco.client.r3name" equals null

Former Member
0 Kudos

Hi

I have a configured RFC-Destination in NWA. When I'm reading it's r3name-property jcoProperties.get("jco.client.r3name") (like listed here: SyBooks Online) it returns null.

I need to read the destinations System-ID. How is this done correctly?

Accepted Solutions (1)

Accepted Solutions (1)

vadimklimov
Active Contributor
0 Kudos

Hi Jan,

Using JCoDestination object, you can query properties that were specified in the destination properties. If you get null for the property jco.client.r3name, I would assume this property is not specified in JCo destination configuration - so please check it and maintain there.

If it is not possible to maintain the mentioned property in the JCo destination properties, alternative would be to get JCo connection established and then call the function module RFC_SYSTEM_INFO that would return system information - and SID (value of RFCSI_EXPORT-RFCSYSID in export parameters) correspondingly.

Regards,

Vadim

Former Member
0 Kudos

Hi Vadim

I think r2name was a property in Jco2 but I am using Jco3 (guess I should have mentioned that )

So as I see it there is no way to read r/3 System-ID with Jco 3.....

Answers (0)