I am working on a .NET application to call SAP RFCs using the SAP JCo3 libraries.
It works and everything is fine, but we've recently had a client reach out to us to tell us that when they change a RFC Table name or add a Table our application does not receive the updates.
They have to restart our application completely to be able to receive fresh data. Our app does not do any kind of caching or anything and I think it might be in the SAP JCo 3 libraries that it's happening and I'm looking for advice, help or information.
I do notice on the RfcDestinationManager
there is a method called RemoveFromCache
and I'm wondering if that might be usefull.
I also notice in our code we have a public static instance of IDestinationConfiguration
on which we call an UpdateDestination function that in turn raises the ConfigurationChanged
event.
Do we need to call the ShutdownHook
on the RfcDestinationManager or something perhaps?