SAP Reports / Programs

RSDDK_AGGREGATE_DIRECT_FILL SAP ABAP Report - Fills an aggregate from a given aggregate / InfoCube







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


Text pool values


Title: Fills an aggregate from a given aggregate / InfoCube


INCLUDES used within this REPORT RSDDK_AGGREGATE_DIRECT_FILL

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:

RSDDK_AGGREGATES_TRUNCATE CALL FUNCTION 'RSDDK_AGGREGATES_TRUNCATE' EXPORTING i_t_aggr = l_t_aggr i_with_dim = rs_c_false i_reset_datastate = rs_c_false CHANGING c_t_msg = l_t_msg.

RSDDK_AGGRDIR_READ CALL FUNCTION 'RSDDK_AGGRDIR_READ' EXPORTING i_aggrcube = i_aggr i_objvers = rs_c_objvers-active IMPORTING e_sx_aggrcat = e_sx_aggr EXCEPTIONS aggr_not_found = 1.

RSD_CUBE_GET CALL FUNCTION 'RSD_CUBE_GET' EXPORTING i_infocube = e_sx_aggr-infocube IMPORTING e_s_cube = l_s_cube.

RSM_DATASTATE_GET CALL FUNCTION 'RSM_DATASTATE_GET' EXPORTING i_infocube = e_sx_aggr-infocube i_bypass_buffer = rs_c_true IMPORTING e_s_datastate = l_s_datastate.

RSDDK_AGGRDIR_READ CALL FUNCTION 'RSDDK_AGGRDIR_READ' EXPORTING i_aggrcube = i_source i_objvers = rs_c_objvers-active IMPORTING e_sx_aggrcat = e_sx_source EXCEPTIONS aggr_not_found = 1.

RSDDK_CAN_AGGR1_BUILD_AGGR2 CALL FUNCTION 'RSDDK_CAN_AGGR1_BUILD_AGGR2' EXPORTING i_sx_aggr1 = e_sx_source i_sx_aggr2 = e_sx_aggr IMPORTING e_can_build = l_can_build.

RSD_CUBE_GET_DATASTATE CALL FUNCTION 'RSD_CUBE_GET_DATASTATE' EXPORTING i_infocube = c_sx_aggr-infocube IMPORTING e_s_dbstat = l_s_dbstat e_s_request = l_s_request.

RSDDK_SRDATE_VAR_REPLACE CALL FUNCTION 'RSDDK_SRDATE_VAR_REPLACE' EXPORTING i_srdate_var = c_sx_aggr-srdate_var i_infocube = c_sx_aggr-infocube IMPORTING e_srdate = c_sx_aggr-srdate CHANGING c_t_msg = c_t_msg EXCEPTIONS inherited_error = 1.

RSDDK_STA_AGGR_OPEN CALL FUNCTION 'RSDDK_STA_AGGR_OPEN' EXPORTING i_infocube = c_sx_aggr-infocube.

RSDDK_AGGRDIR_UPDATE call function 'RSDDK_AGGRDIR_UPDATE' exporting i_sx_aggrcat = c_sx_aggr i_after_filling = rs_c_true exceptions x_message = 1.

RSM_DATASTATE_AGGRFILL_SET call function 'RSM_DATASTATE_AGGRFILL_SET' exporting i_infocube = c_sx_aggr-infocube i_rnsid_to = c_sx_aggr-rnsid_to i_compr_aggr = i_compr_aggr.

DB_COMMIT call function 'DB_COMMIT'.

RSDDK_AGGRCAT_SORT CALL FUNCTION 'RSDDK_AGGRCAT_SORT' EXPORTING i_infocube = c_sx_aggr-infocube changing c_t_msg = c_t_msg exceptions locked = 1.

RSDU_AGGR_INDEX_REPAIR CALL FUNCTION 'RSDU_AGGR_INDEX_REPAIR' EXPORTING i_cube = c_sx_aggr-aggrcube i_infocube = c_sx_aggr-infocube i_ts_facttab = l_ts_facttab_write i_step = rsddk_c_step-before_condense i_analyse_follows = rs_c_true i_read_follows = rs_c_false IMPORTING e_t_msg = l_t_msg EXCEPTIONS x_message = 1.

RSDDK_STA_ADD_AGGR CALL FUNCTION 'RSDDK_STA_ADD_AGGR' EXPORTING i_event = rssta_c_event-end_aggr_index_build i_aggrcube = c_sx_aggr-aggrcube.

RSDDK_AGGREGATE_CONDENSE call function 'RSDDK_AGGREGATE_CONDENSE' exporting i_s_aggrdir = l_s_aggrdir i_max_rnsid = i_compr_aggr i_null_elimination = l_s_dbstat-nullcomp importing e_t_msg = l_t_msg1.

RSDU_AGGR_INDEX_REPAIR CALL FUNCTION 'RSDU_AGGR_INDEX_REPAIR' EXPORTING i_cube = c_sx_aggr-aggrcube i_infocube = c_sx_aggr-infocube i_ts_facttab = l_ts_facttab_write i_step = rsddk_c_step-final i_analyse_follows = rs_c_false i_read_follows = rs_c_true IMPORTING e_t_msg = l_t_msg EXCEPTIONS x_message = 1.

RSDDK_AGGREGATE_INACTIVE_SET call function 'RSDDK_AGGREGATE_INACTIVE_SET' exporting i_objstat = rs_c_objstat-active i_t_aggruid = l_t_aggruid i_infocube = c_sx_aggr-infocube.

RSDDK_STA_ADD_AGGR





CALL FUNCTION 'RSDDK_STA_ADD_AGGR' EXPORTING i_event = rssta_c_event-end_aggr_index_build i_aggrcube = c_sx_aggr-aggrcube.

RSDDK_STA_AGGR_CLOSE CALL FUNCTION 'RSDDK_STA_AGGR_CLOSE'.



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