SAP Reports / Programs | Basis Components | Database Interface, Database Platforms | liveCache Applications(BC-DB-LCA) SAP BC

SLCA_01 SAP ABAP Report - SLCA01







SLCA_01 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_01 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/SAPAPO/OM01 - Display LCA Trace File
LCA01 - Read LCA Object Tracing


ABAP code to call this SAP report using the submit statement

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.






SUBMIT SLCA_01. "Basic submit
SUBMIT SLCA_01 AND RETURN. "Return to original report after report execution complete
SUBMIT SLCA_01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_TXTLEN = Text Width
Selection Text: P_PACK = Pack + Copy
Selection Text: P_LCNAME = Logical liveCache name
Selection Text: P_LCFILE = Trace File Number
Selection Text: P_FILE = File Name
Selection Text: P_DISPL = Display
Selection Text: P_COPY = Copy
Selection Text: P_ALV = List Viewer
Text Symbol: 025 = saved successfully
Text Symbol: 028 = File Size [MB]:
Text Symbol: 029 = Unrestricted Trace File Size
Text Symbol: 030 = Size of the trace file is restricted
Text Symbol: 031 = for download
Text Symbol: 032 = The file
Text Symbol: 033 = could not be created
Text Symbol: 040 = Size of a trace file reduced to 2,000,000,000 Bytes
Text Symbol: 121 = Delete Copied Trace File on the Application Server
Text Symbol: 122 = Delete Packed Trace File on the Application Server
Text Symbol: 201 = Processing terminated
Text Symbol: 203 = The packed trace file does not yet exist on the application server. Do you want to pack it?
Text Symbol: 204 = Cannot read the packed trace file
Text Symbol: 303 = liveCache / Trace File
Text Symbol: 400 = Action
Text Symbol: 401 = Additional Settings
Text Symbol: 001 = You are not authorized to read trace files
Text Symbol: 002 = Entry for LC in DBCON is incorrect/does not exist
Text Symbol: 003 = Failed to read trace file
Text Symbol: 004 = Unknown error occurred
Text Symbol: 005 = No tracing exists
Text Symbol: 006 = Error when deleting
Text Symbol: 007 = Trace file successfully deleted
Text Symbol: 008 = Reading trace file information...
Text Symbol: 009 = Invalid Trace File
Text Symbol: 010 = User
Text Symbol: 011 = Transfer Selected Entries
Text Symbol: 012 = Trans. Simulation
Text Symbol: 013 = LCA Routine
Text Symbol: 014 = Cl.





Text Symbol: 015 = Row No.
Text Symbol: 016 = Global
Text Symbol: 017 = User:
Text Symbol: 018 = Trans. Sim.:
Text Symbol: 019 = LCA Routine:
Text Symbol: 020 = Client:
Text Symbol: 021 = Global:
Text Symbol: 022 = Drill-Down Log:
Text Symbol: 023 = Trace File:
Text Symbol: 024 = liveCache :


INCLUDES used within this REPORT SLCA_01

INCLUDE SLCA_FORMS.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = '%_00' TABLES p_exclude = gt_excl.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 1 text = 'Preparing List ...'. "#EC NOTEXT

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = lv_percent text = 'Preparing List ...'. "#EC NOTEXT

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Copying Tracefile ...'. "#EC NOTEXT

LCA_TRACEFILE_READ CALL FUNCTION 'LCA_TRACEFILE_READ' EXPORTING iv_lc_name = iv_lc_name iv_tracefile_no = iv_tfile iv_copy_mode = if_lca_config=>true " copy iv_disp_error_log = if_lca_config=>true EXCEPTIONS no_permission = 1 get_file_not_supported = 2 unknown_con_name = 3 file_read_failed = 4 OTHERS = 5.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Reading Tracefile ...'. "#EC NOTEXT

LCA_TRACEFILE_READ

LCA_TRACEFILE_READ * docu: CALL FUNCTION 'LCA_TRACEFILE_READ' CALL FUNCTION 'LCA_TRACEFILE_READ' EXPORTING iv_lc_name = iv_lc_name iv_tracefile_no = iv_tfile iv_disp_error_log = if_lca_config=>true IMPORTING et_tracefile = lt_tracefile EXCEPTIONS no_permission = 1 get_file_not_supported = 2 unknown_con_name = 3 file_read_failed = 4 OTHERS = 5.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Preparing Tracefile ...'. "#EC NOTEXT

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Reading Tracefile ...'. "#EC NOTEXT

LCA_TRACEFILE_READ

LCA_TRACEFILE_READ * docu: CALL FUNCTION 'LCA_TRACEFILE_READ' CALL FUNCTION 'LCA_TRACEFILE_READ' EXPORTING iv_lc_name = iv_lc_name iv_tracefile_no = iv_tfile iv_disp_error_log = if_lca_config=>true IMPORTING et_tracefile = lt_tracefile EXCEPTIONS no_permission = 1 get_file_not_supported = 2 unknown_con_name = 3 file_read_failed = 4 OTHERS = 5.

LC_GET_HDB CALL FUNCTION 'LC_GET_HDB' EXPORTING iv_con_name = iv_lc_name IMPORTING ev_hdb = gv_hdb EXCEPTIONS OTHERS = 0.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Lese Tracefile-Informationen...'(008).






DBMCLI_COMMAND_EXECUTE CALL FUNCTION 'DBMCLI_COMMAND_EXECUTE' EXPORTING dbmcli_parameters = 'file_getlist extended' con_name = iv_lc_name use_dbmrfc = 'S' TABLES dbmcli_exec_protocol = lt_dbmcli action_protocol = lt_act EXCEPTIONS OTHERS = 1. "#EC NOTEXT

DBMCLI_COMMAND_EXECUTE CALL FUNCTION 'DBMCLI_COMMAND_EXECUTE' EXPORTING dbmcli_parameters = 'file_getlist extended' con_name = iv_lc_name TABLES dbmcli_exec_protocol = lt_dbmcli action_protocol = lt_act EXCEPTIONS no_permission = 1 sxpg_command_execute_error = 2 dbmcli_command_execute_error = 3 no_dbcon_entry = 4 no_dbconusr_entry = 5 get_profile_error = 6 dbmrfc_execute_error = 7 OTHERS = 8. "#EC NOTEXT

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'NUMBER' value_org = 'S' TABLES value_tab = gt_tracefiles return_tab = lt_return EXCEPTIONS OTHERS = 0.

SCP_CHARS_ARE_SYNTACTICAL CALL FUNCTION 'SCP_CHARS_ARE_SYNTACTICAL' EXPORTING string = iv_message+lv_offset(1) IMPORTING is_ok = lv_ok.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_file trunc_trailing_blanks = 'X' TABLES data_tab = it_file EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'NUMBER' multiple_choice = 'X' value_org = 'S' TABLES value_tab = lt_tracefiles return_tab = lt_return EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-204 text_question = text-203 IMPORTING answer = lv_answer EXCEPTIONS OTHERS = 0.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Reading/Writing zipped file...'. "#EC NOTEXT

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING bin_filesize = lv_filesize filename = lv_string filetype = 'BIN' TABLES data_tab = lt_bin EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SLCA_01 or its description.