RSSTAT1 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 RSSTAT1 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: Compile Statistics
Text Symbol: 001 = Create Index
Text Symbol: 002 = Refresh Statistics
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RSSM_SLEEP_DEBUG call function 'RSSM_SLEEP_DEBUG' exporting i_seconds = 15.
GET_JOB_RUNTIME_INFO call function 'GET_JOB_RUNTIME_INFO' importing jobcount = l_jobcount jobname = l_jobname exceptions no_runtime_info = 1 others = 2.
RSSM_GET_JOBS call function 'RSSM_GET_JOBS' exporting * i_prefix = rssm_c_statistikbatprefix i_prefix = l_prefix i_nolist = 'X' tables e_t_joblist = l_t_joblist exceptions no_jobs_found = 1 others = 2.
RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_process_type = 'INDEX/STAT' i_status = icon_yellow_light i_t_info = l_t_info importing e_batch_id = l_batch_id.
RSSM_PROCESS_INDEX call function 'RSSM_PROCESS_INDEX' exporting i_cube = l_icube i_parent_batch_id = l_batch_id importing e_t_msg = l_t_msg e_error = l_error.
RSENQ_ENQUEUE * call function 'RSENQ_ENQUEUE' * exporting * i_action = rsenq_c_create_index * i_t_object = l_t_object * importing * e_lockid = l_lockid * changing * c_t_msg = l_t_msg * exceptions * locked = 1 * others = 2.
RSSM_CHECK_BEFORE_AGGR_COMP * call function 'RSSM_CHECK_BEFORE_AGGR_COMP' * exporting * i_method = 'R' * i_infocube = l_icube * exceptions * aggr_denied = 1 * comp_denied = 2 * others = 3.
RSDU_INFOCUBE_INDEXES_CHECK * call function 'RSDU_INFOCUBE_INDEXES_CHECK' * exporting * i_infocube = l_icube * i_complete_check = rs_c_false * importing * e_status = l_status.
RSDU_INFOCUBE_INDEXES_REPAIR * call function 'RSDU_INFOCUBE_INDEXES_REPAIR' * exporting * i_infocube = l_icube * exceptions * others = 1.
RSENQ_DEQUEUE * call function 'RSENQ_DEQUEUE' * exporting * i_lockid = l_lockid * changing * c_t_msg = l_t_msg * exceptions * no_lock_found = 1 * others = 2.
DEQUEUE_ERSMDATASTATE * call function 'DEQUEUE_ERSMDATASTATE' * exporting * infocube = l_icube.
RSSM_RSMDATASTATE_MAINTAIN call function 'RSSM_RSMDATASTATE_MAINTAIN' exporting i_infocube = l_s_infocube changing c_s_rsmdatastate = rsmdatastate_s exceptions error = 1 others = 2.
RSSM_PROCESS_DBSTAT call function 'RSSM_PROCESS_DBSTAT' exporting i_cube = l_icube i_rnr = rnr i_s_sele = l_s_sele i_parent_batch_id = l_batch_id importing e_t_msg = l_t_msg e_error = l_error.
RSSM_CHECK_BEFORE_AGGR_COMP * call function 'RSSM_CHECK_BEFORE_AGGR_COMP' * exporting * i_method = 'D' * i_infocube = l_s_infocube * exceptions * aggr_denied = 1 * comp_denied = 2 * others = 3.
RSENQ_ENQUEUE * call function 'RSENQ_ENQUEUE' * exporting * i_action = rsenq_c_repair_statistic * i_t_object = l_t_object * importing * e_lockid = l_lockid * changing * c_t_msg = l_t_msg * exceptions * locked = 1 * others = 2.
RSDU_ANALYZE_INFOCUBE * call function 'RSDU_ANALYZE_INFOCUBE' * exporting * i_t_infocube = l_t_infocube * i_percentage = l_percentage * i_analyze_ffacttable = rs_c_true * i_analyze_efacttable = rs_c_false * i_analyze_dimensions = rs_c_true * i_analyze_sidtables = rs_c_false * i_analyze_chktables = rs_c_false * i_analyze_inctables = rs_c_false * i_analyze_aggregates = rs_c_false * i_analyze_indexes = rs_c_false * exceptions * analyze_failed = 1 * others = 2.
RSDU_ANALYZE_INFOCUBE * call function 'RSDU_ANALYZE_INFOCUBE' * exporting * i_t_infocube = l_t_infocube * i_percentage = l_percentage * i_analyze_ffacttable = rs_c_true * i_analyze_efacttable = rs_c_true * i_analyze_dimensions = rs_c_true * i_analyze_sidtables = rs_c_true * i_analyze_chktables = rs_c_true * i_analyze_inctables = rs_c_true * i_analyze_aggregates = rs_c_true * i_analyze_indexes = rs_c_true * exceptions * analyze_failed = 1 * infocube_error = 2 * others = 3.
RSENQ_DEQUEUE * call function 'RSENQ_DEQUEUE' * exporting * i_lockid = l_lockid * changing * c_t_msg = l_t_msg * exceptions * no_lock_found = 1 * others = 2.
* call function 'ENQUEUE_ERSMDATASTATE' * exporting * infocube = l_icube * exceptions * foreign_lock = 1 * system_failure = 2 * others = 3.
RSSM_CHECK_BEFORE_AGGR_COMP * call function 'RSSM_CHECK_BEFORE_AGGR_COMP' * exporting * i_method = 'D' * i_infocube = l_icube * exceptions * aggr_denied = 1 * comp_denied = 2 * others = 3.
RSDU_AGGREGATE_INDEXES_CHECK call function 'RSDU_AGGREGATE_INDEXES_CHECK' exporting i_infocube = l_icube importing e_status = l_status exceptions infocube_error = 1 ddic_error = 2 no_dbms_info = 3 inherited_error = 4 others = 5.
RSDU_AGGREGATE_INDEXES_DROP call function 'RSDU_AGGREGATE_INDEXES_DROP' exporting i_infocube = l_icube exceptions dropping_error = 1 index_info_error = 2 others = 3.
RSDU_AGGREGATE_INDEXES_REPAIR call function 'RSDU_AGGREGATE_INDEXES_REPAIR' exporting i_infocube = l_icube exceptions others = 1.
DEQUEUE_ERSMDATASTATE * call function 'DEQUEUE_ERSMDATASTATE' * exporting * infocube = l_icube.
RSDU_ANALYZE_TABLE call function 'RSDU_ANALYZE_TABLE' exporting i_t_tablnm = l_t_tabname i_force_statistics = 'X' exceptions analyze_failed = 1 others = 2.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rsicprot-timestamp exceptions others = 1.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rsicprot-timestamp exceptions others = 1.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rsicprot-timestamp exceptions others = 1.
RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_status = icon_green_light i_batch_id = l_batch_id.
RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_status = icon_red_light i_batch_id = l_batch_id.
RSSM_RSREQDONE_READ call function 'RSSM_RSREQDONE_READ' exporting i_rnr = rnr i_for_update = rs_c_true importing e_s_rsreqdone = rsreqdone.
RSSM_RSSELDONE_READ call function 'RSSM_RSSELDONE_READ' exporting i_rnr = rnr i_single_select = 'X' importing e_s_rsseldone = rsseldone.
DB_COMMIT call function 'DB_COMMIT'.
RSSM_MON_START_2ND_PROCESS call function 'RSSM_MON_START_2ND_PROCESS' starting new task 'BTCH' exporting rnr = rsreqdone-rnr tstatus = rsreqdone-tstatus source = rsseldone-source oltpsource = rsseldone-oltpsource logsys = rsseldone-logsys typ = rsseldone-rnrtyp gnr = rsreqdone-gnr write_to_ods = ' ' write_to_cube = 'X'.
RSSM_UPDATE_RSMDATASTATE call function 'RSSM_UPDATE_RSMDATASTATE' exporting i_rnr = rnr i_combine_entries = 'X' importing e_t_rollupic = l_t_rollupic e_t_compic = l_t_compic e_t_odsact = l_t_odsact exceptions others = 1.
DB_COMMIT call function 'DB_COMMIT' exceptions others = 1.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rs2ndprocprot-timestamp.
DB_COMMIT call function 'DB_COMMIT'.
RSSM_EVENT_RAISE call function 'RSSM_EVENT_RAISE' exporting i_eventid = rsicsettings-event_id_indx_ok i_eventparm = rsicsettings-event_pm_indx_ok.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rs2ndprocprot-timestamp.
DB_COMMIT call function 'DB_COMMIT'.
RSSM_EVENT_RAISE call function 'RSSM_EVENT_RAISE' exporting i_eventid = rsicsettings-event_id_indx_er i_eventparm = rsicsettings-event_pm_indx_er.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rs2ndprocprot-timestamp.
DB_COMMIT call function 'DB_COMMIT'.
RSSM_EVENT_RAISE call function 'RSSM_EVENT_RAISE' exporting i_eventid = rsicsettings-event_id_stat_ok i_eventparm = rsicsettings-event_pm_stat_ok.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rs2ndprocprot-timestamp.
DB_COMMIT call function 'DB_COMMIT'.
RSSM_EVENT_RAISE call function 'RSSM_EVENT_RAISE' exporting i_eventid = rsicsettings-event_id_stat_er i_eventparm = rsicsettings-event_pm_stat_er.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rs2ndprocprot-timestamp.
DB_COMMIT call function 'DB_COMMIT'.
RSSM_EVENT_RAISE call function 'RSSM_EVENT_RAISE' exporting i_eventid = rsicsettings-event_id_ixag_ok i_eventparm = rsicsettings-event_pm_ixag_ok.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rs2ndprocprot-timestamp.
DB_COMMIT call function 'DB_COMMIT'.
RSSM_EVENT_RAISE call function 'RSSM_EVENT_RAISE' exporting i_eventid = rsicsettings-event_id_ixag_er i_eventparm = rsicsettings-event_pm_ixag_er.
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 RSSTAT1 or its description.