Contrary to what one
might expect, the RfcDisconnect setting defines the connection behaviour after
executing the following RFC calls. Please use
ProcessingOption
RfcDisconnect= "On"
in the GuiXT script
before you execute any RFC calls. The connection will then be closed after the
GuiXT script is processed.
At the end of the
GuiXT script you can execute
RfcDisconnect="10"
for performance
reasons, which establishes the default, closing the connection after 10 screens
without RFC.
PS: There might
possibly be an SAP function parameter that deactivates the cache for the
function modules that you are calling; if so it would make it unnecessary to
handle this through RFC connections.
|