SAP Reports / Programs

RSCOMP1 SAP ABAP Report - Start compressing InfoCubes and aggregates







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


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 RSCOMP1. "Basic submit
SUBMIT RSCOMP1 AND RETURN. "Return to original report after report execution complete
SUBMIT RSCOMP1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Start compressing InfoCubes and aggregates
Text Symbol: 001 = Compression
Text Symbol: 003 = Data load


INCLUDES used within this REPORT RSCOMP1

No INCLUDES are used within this REPORT code!


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:

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_compbatprefix i_prefix = l_prefix tables e_t_joblist = l_t_joblist exceptions no_jobs_found = 1 others = 2.

ENQUEUE_ERSICENQ call function 'ENQUEUE_ERSICENQ' exceptions foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_ERSICENQ call function 'DEQUEUE_ERSICENQ' exceptions others = 1.

DB_COMMIT call function 'DB_COMMIT' exceptions others = 1.

RSENQ_ENQUEUE call function 'RSENQ_ENQUEUE' exporting i_action = rsenq_c_condense_datatarget i_t_object = l_t_object i_t_subobject = l_t_object importing e_lockid = l_lockid changing c_t_msg = l_t_msg exceptions locked = 1 others = 2.

DEQUEUE_ERSICENQ call function 'DEQUEUE_ERSICENQ' exceptions others = 1.

DEQUEUE_ERSICENQ call function 'DEQUEUE_ERSICENQ' exceptions others = 1.

ENQUEUE_ERSENQUEUE * call function 'ENQUEUE_ERSENQUEUE' * exporting * mode_rsenq_prot_enq = 'S' * action = '/PROC_NEW_REQ/' * object = '/PROC_NEW_REQ/' * _scope = '3' * _wait = 'X' * exceptions * foreign_lock = 1.

RSSM_SLEEP_DEBUG * call function 'RSSM_SLEEP_DEBUG' * exporting * i_seconds = 1 * i_always = 'X'.

ENQUEUE_ERSENQUEUE * call function 'ENQUEUE_ERSENQUEUE' * exporting * mode_rsenq_prot_enq = 'E' * action = '/GET_NEW_REQ/' * object = '/GET_NEW_REQ/' * _scope = '3' * _wait = 'X' * exceptions * foreign_lock = 1.

DEQUEUE_ERSENQUEUE * call function 'DEQUEUE_ERSENQUEUE' * exporting * mode_rsenq_prot_enq = 'S' * action = '/PROC_NEW_REQ/' * object = '/PROC_NEW_REQ/' * _scope = '3' * _synchron = 'X'.

RSSM_SLEEP_DEBUG * call function 'RSSM_SLEEP_DEBUG' * exporting * i_seconds = 1 * i_always = 'X'.

ENQUEUE_ERSENQUEUE * call function 'ENQUEUE_ERSENQUEUE' * exporting * mode_rsenq_prot_enq = 'E' * action = '/PROC_NEW_REQ/' * object = icube * _scope = '3' * _wait = 'X' * exceptions * foreign_lock = 1.

RSSM_SLEEP_DEBUG * call function 'RSSM_SLEEP_DEBUG' * exporting * i_seconds = 1 * i_always = 'X'.

RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_process_type = 'COMPRESS' i_status = icon_yellow_light i_t_info = l_t_info importing e_batch_id = l_batch_id.

RSSM_RSMDATASTATE_MAINTAIN call function 'RSSM_RSMDATASTATE_MAINTAIN' exporting i_infocube = icube changing c_s_rsmdatastate = rsmdatastate_s exceptions error = 1 others = 2.

DB_COMMIT





call function 'DB_COMMIT'.

RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_status = icon_yellow_light i_t_info = l_t_info i_batch_id = l_batch_id.

DEQUEUE_ERSENQUEUE *call function 'DEQUEUE_ERSENQUEUE' * exporting * mode_rsenq_prot_enq = 'E' * action = '/PROC_NEW_REQ/' * object = icube * _scope = '3' * _synchron = 'X'.

DEQUEUE_ERSENQUEUE *call function 'DEQUEUE_ERSENQUEUE' * exporting * mode_rsenq_prot_enq = 'E' * action = '/GET_NEW_REQ/' * object = '/GET_NEW_REQ/' * _scope = '3' * _synchron = 'X'.

RSSM_PROCESS_COMPRESS call function 'RSSM_PROCESS_COMPRESS' exporting i_cube = icube i_s_sele = l_s_sele i_jobname = l_jobname i_calcflag = l_calcflag i_lastpart = l_lastpart i_parent_batch_id = l_batch_id importing e_t_msg = l_t_msg e_error = l_error e_lastpart = l_lastpart e_firstpart = rsiccompplan-firstpart.

RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rsiccompplan-timestamp exceptions others = 1.

RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_status = icon_green_light i_batch_id = l_batch_id.

RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rsiccomp-timestamp exceptions others = 1.

RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rs2ndprocprot-timestamp.

RRSI_SID_VAL_SINGLE_CONVERT call function 'RRSI_SID_VAL_SINGLE_CONVERT' exporting i_iobjnm = rsd_c_dpanm-requid i_sid = max_id importing e_chavl = rs2ndprocprot-rnr exceptions others = 1.

DB_COMMIT call function 'DB_COMMIT'.

RSSM_EVENT_RAISE call function 'RSSM_EVENT_RAISE' exporting i_eventid = rsicsettings-event_id_comp_ok i_eventparm = rsicsettings-event_pm_comp_ok.

DB_COMMIT call function 'DB_COMMIT' exceptions others = 1.

RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_status = icon_red_light i_batch_id = l_batch_id.

RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rs2ndprocprot-timestamp.

RRSI_SID_VAL_SINGLE_CONVERT call function 'RRSI_SID_VAL_SINGLE_CONVERT' exporting i_iobjnm = rsd_c_dpanm-requid i_sid = max_id importing e_chavl = rs2ndprocprot-rnr exceptions others = 1.

DB_COMMIT call function 'DB_COMMIT'.

RSSM_EVENT_RAISE call function 'RSSM_EVENT_RAISE' exporting i_eventid = rsicsettings-event_id_comp_er i_eventparm = rsicsettings-event_pm_comp_er.

RSM1_CHECK_DM_GOT_REQUEST * call function 'RSM1_CHECK_DM_GOT_REQUEST' * exporting * i_partnr = l_rnr_sid * i_icube = icube * i_action = 'C' "Komprimieren * importing * e_request_state = l_request_state.

RSSM_RSMDATASTATE_MAINTAIN * call function 'RSSM_RSMDATASTATE_MAINTAIN' * exporting * i_infocube = icube * changing * c_s_rsmdatastate = rsmdatastate_s * exceptions * error = 1 * others = 2.




RSSM_CHECK_ICUBE_LOAD_RUNNING * call function 'RSSM_CHECK_ICUBE_LOAD_RUNNING' * tables * e_t_detail = l_t_details.

RSCDS_CONDENSE_CUBE * call function 'RSCDS_CONDENSE_CUBE' * exporting * i_cube = icube * i_aggr_cube = rs_c_false * i_max_requid = max_id * i_null_elimination = rsmdatastate_s-nullcomp * i_update_ref_point = l_update_ref_point * changing * c_t_msg = l_t_msg * exceptions * others = 1.

RSSM_RSMDATASTATE_MAINTAIN * call function 'RSSM_RSMDATASTATE_MAINTAIN' * exporting * i_infocube = icube * changing * c_s_rsmdatastate = rsmdatastate_s * exceptions * error = 1 * others = 2.

RSM_COMPR_RSVD_SET * call function 'RSM_COMPR_RSVD_SET' * exporting * i_infocube = icube * i_compr_rsvd = rsmdatastate_s-compr_dual.

DB_COMMIT * call function 'DB_COMMIT'.

RSSM_GET_TIME * call function 'RSSM_GET_TIME' * importing * e_timestamps = rsiccomp-timestamp * exceptions * others = 1.

RSSM_GET_TIME * call function 'RSSM_GET_TIME' * importing * e_timestamps = rsiccompplan-timestamp * exceptions * others = 1.

DB_COMMIT * call function 'DB_COMMIT'.

RSSM_GET_TIME * call function 'RSSM_GET_TIME' * importing * e_timestamps = rs2ndprocprot-timestamp.

RRSI_SID_VAL_SINGLE_CONVERT * call function 'RRSI_SID_VAL_SINGLE_CONVERT' * exporting * i_iobjnm = rsd_c_dpanm-requid * i_sid = max_id * importing * e_chavl = rs2ndprocprot-rnr * exceptions * others = 1.

DB_COMMIT * call function 'DB_COMMIT'.

RSSM_EVENT_RAISE * call function 'RSSM_EVENT_RAISE' * exporting * i_eventid = rsicsettings-event_id_comp_ok * i_eventparm = rsicsettings-event_pm_comp_ok.

DB_COMMIT * call function 'DB_COMMIT' * exceptions * others = 1.

RSSM_GET_TIME * call function 'RSSM_GET_TIME' * importing * e_timestamps = rsiccompplan-timestamp * exceptions * others = 1.

RSSM_RSMDATASTATE_MAINTAIN * call function 'RSSM_RSMDATASTATE_MAINTAIN' * exporting * i_infocube = icube * changing * c_s_rsmdatastate = rsmdatastate_s * exceptions * error = 1 * others = 2.

RSM_COMPR_RSVD_SET * call function 'RSM_COMPR_RSVD_SET' * exporting * i_infocube = icube * i_compr_rsvd = rsmdatastate_s-compr_dual.

DB_COMMIT * call function 'DB_COMMIT'.

RSSM_GET_TIME * call function 'RSSM_GET_TIME' * importing * e_timestamps = rs2ndprocprot-timestamp.

RRSI_SID_VAL_SINGLE_CONVERT * call function 'RRSI_SID_VAL_SINGLE_CONVERT' * exporting * i_iobjnm = rsd_c_dpanm-requid * i_sid = max_id * importing * e_chavl = rs2ndprocprot-rnr * exceptions * others = 1.

DB_COMMIT * call function 'DB_COMMIT'.

RSSM_EVENT_RAISE * call function 'RSSM_EVENT_RAISE' * exporting * i_eventid = rsicsettings-event_id_comp_er * i_eventparm = rsicsettings-event_pm_comp_er.

RSSM_GET_TIME * call function 'RSSM_GET_TIME' * importing * e_timestamps = rs2ndprocprot-timestamp.

RRSI_SID_VAL_SINGLE_CONVERT * call function 'RRSI_SID_VAL_SINGLE_CONVERT' * exporting * i_iobjnm = rsd_c_dpanm-requid * i_sid = max_id * importing * e_chavl = rs2ndprocprot-rnr * exceptions * others = 1.

DB_COMMIT * call function 'DB_COMMIT'.

RSSM_EVENT_RAISE * call function 'RSSM_EVENT_RAISE' * exporting * i_eventid = rsicsettings-event_id_comp_ok * i_eventparm = rsicsettings-event_pm_comp_ok.

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.



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 RSCOMP1 or its description.