SAPSTR_LCL_GET_STATISTIC is a standard ABAP INCLUDE 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 SAPSTR_LCL_GET_STATISTIC 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TH_SERVER_LIST CALL FUNCTION 'TH_SERVER_LIST' TABLES list = server_list EXCEPTIONS no_server_list = 1 OTHERS = 99.
SWNC_GET_STATRECS_FRAME CALL FUNCTION 'SWNC_GET_STATRECS_FRAME' EXPORTING select_from_systems = select_from_systems read_start_date = statss-date_from read_start_time = statss-time_from read_end_date = statss-date_to read_end_time = statss-time_to read_time_zone = statss-time_zone read_transids = read_transids read_stat = 'X' wait_seconds = waitt_rfc * READ_ASTAT = ' ' * MAX_RECORDS = -1 IMPORTING all_statrecs = lcl_stat_records protocol = ex_return_errors.
SWNC_GET_STATRECS_FRAME CALL FUNCTION 'SWNC_GET_STATRECS_FRAME' EXPORTING select_from_systems = select_from_systems read_start_date = statss-date_from read_start_time = statss-time_from read_end_date = statss-date_to read_end_time = statss-time_to read_time_zone = statss-time_zone read_transids = read_transids read_stat = 'X' wait_seconds = waitt_rfc * READ_ASTAT = ' ' * MAX_RECORDS = -1 IMPORTING all_statrecs = lcl_stat_records protocol = ex_return_errors.
SAPWLN3_STATREC_DIRECT_READ CALL FUNCTION 'SAPWLN3_STATREC_DIRECT_READ' EXPORTING component = im_component component_type = im_component_type monitoring_system = im_mondest read_start_date = statss-date_from read_start_time = statss-time_from read_end_date = statss-date_to read_end_time = statss-time_to timezone = statss-time_zone read_transid = statss-trans_id IMPORTING stat_records = ex_nr3_stat_records record_info = ex_nr3_record_info EXCEPTIONS invalid_time_range = 1 invalid_service = 2 invalid_action = 3 invalid_action_type = 4 no_records_found = 5 internal_error = 6 component_unknown = 7 rfc_problems_detected = 8 funcmodule_not_found_in_monsys = 9 communication_failure = 10 "MESSAGE msg_text system_failure = 11 "MESSAGE msg_text OTHERS = 12.
SAPWLN3_READ_COMP_ACT_SRV_TYP CALL FUNCTION 'SAPWLN3_READ_COMP_ACT_SRV_TYP' EXPORTING component_type = im_component_type monitoring_system = im_mondest TABLES act_type_list = ex_act_type_list srv_type_list = ex_srv_type_list EXCEPTIONS database_problems = 1 OTHERS = 2.
SAPWLN3_STATREC_DIRECT_READ CALL FUNCTION 'SAPWLN3_STATREC_DIRECT_READ' DESTINATION im_inddest EXPORTING component = im_component component_type = im_component_type monitoring_system = im_mondest read_start_date = statss-date_from read_start_time = statss-time_from read_end_date = statss-date_to read_end_time = statss-time_to timezone = statss-time_zone read_transid = statss-trans_id IMPORTING stat_records = ex_nr3_stat_records record_info = nr3_record_info EXCEPTIONS invalid_time_range = 1 invalid_service = 2 invalid_action = 3 invalid_action_type = 4 no_records_found = 5 internal_error = 6 component_unknown = 7 rfc_problems_detected = 8 funcmodule_not_found_in_monsys = 9 communication_failure = 10 MESSAGE msg_text system_failure = 11 MESSAGE msg_text OTHERS = 12.
SAPWLN3_READ_COMP_ACT_SRV_TYP CALL FUNCTION 'SAPWLN3_READ_COMP_ACT_SRV_TYP' DESTINATION im_inddest EXPORTING component_type = im_component_type monitoring_system = im_mondest TABLES act_type_list = ex_act_type_list srv_type_list = ex_srv_type_list EXCEPTIONS database_problems = 1 communication_failure = 2 MESSAGE msg_text system_failure = 3 MESSAGE msg_text 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.