RSDB2_DATAGEN 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 RSDB2_DATAGEN 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: RSDB2_DATAGEN Program
INCLUDE RSDB2_ADBC.
No SAP DATABASE tables are accessed within this REPORT code!
RSDB2_GENERATE_MASTER_DATA call function 'RSDB2_GENERATE_MASTER_DATA' exporting i_infocube = l_infocube exceptions metadata_error = 1 generate_error = 2 write_error = 3 others = 4.
RSDU_INFOCUBE_INDEXES_DROP call function 'RSDU_INFOCUBE_INDEXES_DROP' exporting i_infocube = l_infocube i_double_facttab = rs_c_false exceptions others = 0. " ignore errors
RSDB2_GENERATE_MULTI_REQUESTS call function 'RSDB2_GENERATE_MULTI_REQUESTS' exporting i_infocube = l_infocube i_num_requests = l_num i_size = l_size exceptions metadata_error = 1 generate_error = 2 write_error = 3 execution_error = 4 too_few_resources = 5 others = 6.
RSDB2_GENERATE_SINGLE_REQUEST call function 'RSDB2_GENERATE_SINGLE_REQUEST' exporting i_infocube = l_infocube i_size = l_size exceptions metadata_error = 1 generate_error = 2 write_error = 3 others = 4.
RSDU_INFOCUBE_INDEXES_REPAIR call function 'RSDU_INFOCUBE_INDEXES_REPAIR' exporting i_infocube = l_infocube i_double_facttab = rs_c_false exceptions dropping_error = 1 index_error = 2 check_error = 3 inherited_error = 4 others = 5.
RSDU_ANALYZE_INFOCUBE call function 'RSDU_ANALYZE_INFOCUBE' exporting i_infocube = l_infocube i_percentage = 10 i_analyze_ffacttable = rs_c_true i_analyze_efacttable = rs_c_true 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_TRUE * I_ANALYZE_INDEXES = RS_C_FALSE exceptions analyze_failed = 1 infocube_error = 2 inherited_error = 3 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.