SLCA_LCK_UPGRADE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter SLCA_LCK_UPGRADE into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Upgrade Lock Server
Text Symbol: 001 = No liveCache upgrade required
INCLUDE SLCA_FORMS.
No SAP DATABASE tables are accessed within this REPORT code!
LCA_LCK_LIVECACHE_AVAILABLE CALL FUNCTION 'LCA_LCK_LIVECACHE_AVAILABLE' IMPORTING ev_installed = gv_installed ev_available = gv_available.
STRF_SETNAME CALL FUNCTION 'STRF_SETNAME' EXPORTING dirtype = gc_acttype filename = gv_protlist subdir = gc_subprot IMPORTING file = gv_protfile.
SUBST_WRITE_PROTOCOL CALL FUNCTION 'SUBST_WRITE_PROTOCOL' EXPORTING acttype = gc_acttype ifname = gv_protfile IMPORTING efname = gv_protfile TABLES p_tab = gt_prot.
UPG_GET_ACTIVE_COMP_UPGRADE CALL FUNCTION 'UPG_GET_ACTIVE_COMP_UPGRADE' EXPORTING iv_component = 'SAP_BASIS' iv_upgtype = '*' iv_buffered = ' ' EXCEPTIONS no_upgrade_active = 1 ambigious_entries = 2 invalid_component_name = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.