Hi,
We have installed SAP JCo (Java Connector) on Appian Cloud Server, to call SAP BAPI using Sap Invoke functions provided by Appian.
We are consistently facing cache issues in our environment where the BAPI configurations and credentials used with SapInvoke function does not get refreshed. Due to which we are not able to fetch updated data in proper structure. This generally happens when an existing BAPI configuration gets changed or modified at SAP end.
As per our understanding of SAP JCo, it caches metadata to improve the throughput of the application. However, please note that if any changes are made to the BAPI structure in SAP, the old version will still be cached until the cache is refreshed via a server restart.
We were able to find a Knowledge Base Article - KB1232 to clear the cache, but our understanding is that it is targeted for on-premise servers.
I would like to know if there any other effective method that we can take to handle this cache issue, other than restarting the server.
Reference Links:
https://community.appian.com/support/w/kb/447/kb-1232-how-to-clear-the-application-server-cache
https://docs.appian.com/suite/help/22.2/fnc_connector_sap_a_sapinvoke.html
Discussion posts and replies are publicly visible