RSCDS_CONDENSE_CUBE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RSCDS_CONDENSE_CUBE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSCONDENSE
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSCDS_CONDENSE_CUBE' "Compresses the fact table of a spec. Cube(InfoCube or Aggreagte)
EXPORTING
i_cube = " rsdcube-infocube Name of the INFOCUBES
* i_aggr_cube = RS_C_FALSE " rs_bool If the Cube is a basis or aggregate cube?
i_max_requid = " rssid Request ID up to which compression is performned
* i_max_cnsid = 0 " rssid Change-ID upto which compression is performed
* i_null_elimination = RS_C_FALSE " rs_bool Zero elemination during compression?
* i_update_ref_point = RS_C_TRUE " rs_bool For stocks: adapt marker
* i_show_report = RS_C_FALSE " rs_bool Display generated sources?
IMPORTING
e_ins_cnt = " sy-dbcnt Number of movement records into E-table
e_ref_ins_cnt = " sy-dbcnt Number of inserted marker records in E-table
e_del_cnt = " sy-dbcnt Number of deleted records from F-Table
CHANGING
c_t_msg = " rs_t_msg BW: Table with Messages (Application Log)
EXCEPTIONS
INHERITED_ERROR = 1 " Error that has already been dealt with on a deeper level
NOTHING_TO_DO = 2 "
. " RSCDS_CONDENSE_CUBE
The ABAP code below is a full code listing to execute function module RSCDS_CONDENSE_CUBE including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_e_ins_cnt | TYPE SY-DBCNT , |
| ld_e_ref_ins_cnt | TYPE SY-DBCNT , |
| ld_e_del_cnt | TYPE SY-DBCNT . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_c_t_msg | TYPE RS_T_MSG , |
| ld_e_ins_cnt | TYPE SY-DBCNT , |
| ld_i_cube | TYPE RSDCUBE-INFOCUBE , |
| ld_e_ref_ins_cnt | TYPE SY-DBCNT , |
| ld_i_aggr_cube | TYPE RS_BOOL , |
| ld_e_del_cnt | TYPE SY-DBCNT , |
| ld_i_max_requid | TYPE RSSID , |
| ld_i_max_cnsid | TYPE RSSID , |
| ld_i_null_elimination | TYPE RS_BOOL , |
| ld_i_update_ref_point | TYPE RS_BOOL , |
| ld_i_show_report | TYPE RS_BOOL . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSCDS_CONDENSE_CUBE or its description.
RSCDS_CONDENSE_CUBE - Compresses the fact table of a spec. Cube(InfoCube or Aggreagte) RSCC_RSADM_ENQ_DEQ - Call Locking Module for ZRSADMINx RSCC_RSADM_ACC - Access to ZRSADMINx Tables RSCC_DEBUG_STATUS_GET - Determines Whether Debugging Is Permitted in This System/for This User RSCAF_TABLE_REMOTE_LOCK - Remote interface for locking Entity services at CAF RSCAF_TABLE_LOCK - Calls remote lock routine to lock Entity services at CAF