Function Module for
Starting/Stopping/Initializing
To enable you to start/stop/initialize a liveCache database instance from outside the SAP system as well as within it, corresponding function modules have been implemented. This also means that a liveCache database instance can be started/stopped/initialized by calling the corresponding function module from scripts.
The function modules concerned are those listed below, from function group SLCR:
Function Modules
Name of Function Module |
Corresponding Function in the SAP System |
START_LIVECACHE_LVC |
Report RSLVCSTART, Start liveCache |
STOP_LIVECACHE_LVC |
Report RSLVCSTOP, Stop liveCache |
INITIALIZE_LIVECACHE_LVC |
Report RSLVCINIT, Initialize liveCache |
The RFC runtime and RFC SDK libraries are installed on your local host (as part of the complete SAP GUI installation).
This means that you have the program STARTRFC, required to call the function modules.
Calling the function modules on Microsoft Windows operating system is explained using the following example:

Name of the Database
Connection: LCX or LCY
SAP System: S10 (10)
Host: p123456
User: S10
Password: secret
C:\Program Files\SAPpc\sapgui\rfcsdk\bin>startrfc –3 –d S10 –h p123456 –s 10 –c 000 –u S10 –p geheim –l DE –F STOP_LIVECACHE_LVC –E IV_CON_NAME=LCX
Starting the liveCache Database Instance LCY
LCY does not exist in table DBCON
C:\Program Files\SAPpc\sapgui\rfcsdk\bin>startrfc –3 –d S10 –h p123456 –s 10 –c 000 –u S10 –p geheim –l DE –F START_LIVECACHE_LVC –E IV_CON_NAME=LCY
You receive the error message Logical connection name LCY does not exist in table dbcon.

For a
complete description of all STARTRFC options, see the following SAP
documentation:
Inbound: Triggering
the SAP System.