SLCA_02_BATCH 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_02_BATCH 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.
Selection Text: P_VAR = Trace Settings Variant
Selection Text: P_USER = User-Specific
Selection Text: P_DEL = Delete Tracing
Selection Text: P_DAY = Trace File Number Day-Depend.
Title: Execute LCA02 in Background Processing
Text Symbol: 105 = liveCache Routines: Detail
Text Symbol: 104 = All liveCache Routines
Text Symbol: 102 = Transfer Selected Entries
Text Symbol: 101 = Restrict to liveCache Routines
Text Symbol: 039 = Check for switch to trace file 1 failed
Text Symbol: 038 = Job to check the trace file number not created
Text Symbol: 036 = Switched to trace file 1
Text Symbol: 035 = liveCache Routine
Text Symbol: 034 = Change failed
Text Symbol: 032 = Could not write trace levels
Text Symbol: 031 = Trace levels reset
Text Symbol: 030 = Could not reset global trace levels
Text Symbol: 029 = Could not reset trace levels
Text Symbol: 027 = Error occurred when deleting the job -> SM37
Text Symbol: 026 = Job to delete the trace levels not created
Text Symbol: 023 = You are not authorized to set trace levels
Text Symbol: 014 = Variant successfully saved
Text Symbol: 013 = The variant already exists
Text Symbol: 012 = Trace levels successfully set
Text Symbol: 011 = Could not set tracing
Text Symbol: 010 = Could not read variant
Text Symbol: 009 = Trace Groups
Text Symbol: 008 = Do you want to discard the changed data?
Text Symbol: 007 = Error in Tree Control
Text Symbol: 006 =
Text Symbol: 005 = Trace 1 not permitted
Text Symbol: 004 = Variants successfully deleted
Text Symbol: 003 = Delete Variant
Text Symbol: 002 = Change Variant
Text Symbol: 001 = Create Variant
INCLUDE: SLCA_02_BATCH_TOP,
SLCA_02_BATCH_CLASS_TREE,
SLCA_02_BATCH_MODULES,
No SAP DATABASE tables are accessed within this REPORT code!
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'VARIANT' value_org = 'S' TABLES value_tab = gt_var return_tab = lt_return EXCEPTIONS OTHERS = 0.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'VARIANT' value_org = 'S' multiple_choice = if_lca_config=>true TABLES value_tab = gt_var return_tab = lt_return EXCEPTIONS OTHERS = 0.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'VARIANT' value_org = 'S' TABLES value_tab = gt_var return_tab = lt_return EXCEPTIONS OTHERS = 0.
LCA_TRACELEVEL_GET_ALL CALL FUNCTION 'LCA_TRACELEVEL_GET_ALL' IMPORTING es_trace_offsets = gs_trace_offsets EXCEPTIONS OTHERS = 1.
LCA_TRACELEVEL_CHANGE CALL FUNCTION 'LCA_TRACELEVEL_CHANGE' EXPORTING it_tracelevels = lt_tracelevels EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.