RSDDS_AGGREGATES_MAINTAIN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program has the same functionality as the function 'Tools -> Hierarchy/Attribute changes' of the Administrator Workbench...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RSDDS_AGGREGATES_MAINTAIN 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.
Selection Text: I_ID_ERR = Event after errors
Selection Text: I_ID_OK = Event after success
Selection Text: I_PM_ERR = Parameters after errors
Selection Text: I_PM_OK = Parameters after success
Selection Text: I_T_HIER = Hierarchy List
Selection Text: I_T_IOBN = InfoObject list
Title: Program RSDDS_AGGREGATES_MAINTAIN
Text Symbol: 001 = Structure realignment run
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 = 20 .
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_strucbatprefix 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.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rscstru-timestamp exceptions others = 1.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rscstru-timestamp.
DB_COMMIT call function 'DB_COMMIT'.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rscstru-timestamp.
DB_COMMIT call function 'DB_COMMIT'.
DEQUEUE_ERSICENQ call function 'DEQUEUE_ERSICENQ' exceptions others = 1.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rscstru-timestamp_start exceptions others = 1.
RSSM_SLEEP_DEBUG CALL FUNCTION 'RSSM_SLEEP_DEBUG' exporting i_seconds = 1 i_always = 'X'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' exceptions others = 1.
DEQUEUE_ERSICENQ call function 'DEQUEUE_ERSICENQ' exceptions others = 1.
RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_process_type = 'CHANGERUN' i_status = icon_yellow_light importing e_batch_id = l_batch_id.
RSSM_PROCESS_ATTRIBCHANGE CALL FUNCTION 'RSSM_PROCESS_ATTRIBCHANGE' exporting i_jobname = l_jobname i_jobcount = l_jobcount i_t_iobn = i_t_iobn[] i_t_hier = i_t_hier[] i_s_rscstru = rscstru i_parent_batch_id = l_batch_id importing e_t_msg = l_t_msg e_error = l_error.
RSDDS_AGGREGATES_MAINTAIN * call function 'RSDDS_AGGREGATES_MAINTAIN' * exporting * i_protnumber = l_text * importing * e_t_msg = l_t_msg * exceptions * rollup_in_progress = 1 * metadata_error = 2 * others = 3.
RSBATCH_INFORM_MANAGER call function 'RSBATCH_INFORM_MANAGER' exporting i_status = icon_red_light i_batch_id = l_batch_id.
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 = i_id_err i_eventparm = i_pm_err.
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 = rs2ndprocprot-timestamp.
DB_COMMIT call function 'DB_COMMIT'.
RSSM_EVENT_RAISE call function 'RSSM_EVENT_RAISE' exporting i_eventid = i_id_ok i_eventparm = i_pm_ok.
RSSM_SLEEP_DEBUG CALL FUNCTION 'RSSM_SLEEP_DEBUG' exporting i_seconds = 3 i_always = 'X'.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rscstru-timestamp exceptions others = 1.
RSSM_GET_TIME call function 'RSSM_GET_TIME' importing e_timestamps = rscstru-timestamp exceptions others = 1.
DB_COMMIT call function 'DB_COMMIT'.
RSD_IOBJ_F4 call function 'RSD_IOBJ_F4' exporting i_show_cha = rs_c_true i_bchreffl = ' ' changing c_iobjnm = e_iobjnm exceptions others = 1.
RSD_CHA_HELP_VALUES_SHLP call function 'RSD_CHA_HELP_VALUES_SHLP' exporting i_chanm = rsd_c_dpanm-hier_hienm i_mostrecent = rs_c_true "only M-Versions, KN20021210 changing c_t_dep = l_t_dep exceptions others = 1.
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 RSDDS_AGGREGATES_MAINTAIN or its description.
RSDDS_AGGREGATES_MAINTAIN - Program RSDDS_AGGREGATES_MAINTAIN RSDDS_AGGREGATES_MAINTAIN - Program RSDDS_AGGREGATES_MAINTAIN RSDDSTAT_DATA_DELETE - Deletion of Data from the BW Statistics Tables RSDDSTAT_DATA_DELETE - Deletion of Data from the BW Statistics Tables RSDDLTIP_UI_START - Browser Start: Virtual InfoProviders RSDDLTIP_UI_START - Browser Start: Virtual InfoProviders