SAP Reports / Programs

RSDDK_CHECK_AGGREGATE_SELOPT SAP ABAP Report - Checking Aggregates with Selection Options on the Characteristics







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


Text pool values


Selection Text: P_AGGR = Select Aggregate
Selection Text: P_BATCH = Execute in Background
Selection Text: P_BLCK = BLOCKSIZE (0 = No Blocks)
Selection Text: P_CHECK = Check Mode (A, Q, or C)
Selection Text: P_LOG = Write Log File
Selection Text: P_PARENT = Parent Check
Selection Text: P_REPO = Display SQL Statement
Selection Text: P_SELOPT = Characteristic Restriction
Title: Checking Aggregates with Selection Options on the Characteristics
Text Symbol: 101 = Settings
Text Symbol: 102 = Check


INCLUDES used within this REPORT RSDDK_CHECK_AGGREGATE_SELOPT

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:

RSAPOADM_INSERT_REPID CALL FUNCTION 'RSAPOADM_INSERT_REPID' EXPORTING i_repid = l_repnm i_appl = 'RSDDK/CHECK_SCREEN'.

RSAPOADM_DELETE_REPID CALL FUNCTION 'RSAPOADM_DELETE_REPID' EXPORTING i_repid = l_repnm.

RSS_SYSTEM_GET_UNIQUE_ID CALL FUNCTION 'RSS_SYSTEM_GET_UNIQUE_ID' IMPORTING e_uni_idc25 = l_uniqueid EXCEPTIONS OTHERS = 1.

RSD_COB_PRO_ALL_GET CALL FUNCTION 'RSD_COB_PRO_ALL_GET' EXPORTING i_infocube = i_aggrcube i_with_atr_nav = rs_c_true i_with_meta_iobj = rs_c_false i_objvers = rs_c_objvers-active i_bypass_buffer = rs_c_true IMPORTING e_t_cob_pro = l_t_cob_pro.

RSDDK_AGGRDIR_READ CALL FUNCTION 'RSDDK_AGGRDIR_READ' EXPORTING i_aggrcube = i_aggrcube i_objvers = rs_c_objvers-active i_bypass_buffer = rs_c_false IMPORTING e_sx_aggrcat = l_sx_aggrcat EXCEPTIONS aggr_not_found = 1 aggr_empty = 2 OTHERS = 3.

RSD_SIDTAB_GET_FOR_CHA_BAS CALL FUNCTION 'RSD_SIDTAB_GET_FOR_CHA_BAS' EXPORTING i_chabasnm = l_s_cob_pro-chabasnm IMPORTING e_sidtab = l_tablnm.

RSD_COB_PRO_GET_ALWAYS CALL FUNCTION 'RSD_COB_PRO_GET_ALWAYS' EXPORTING i_iobjnm = l_s_cob_pro-chabasnm IMPORTING e_s_cob_pro = l_s_cob_pro_chabasnm.

CALL FUNCTION 'CALL FUNCTION ''SELECTION_TEXTS_MODIFY'' ' TO c_t_sel_txt, ' EXPORTING ' TO c_t_sel_txt, l_line TO c_t_sel_txt, ' TABLES ' TO c_t_sel_txt, ' SELTEXTS = L_T_RSSELTEXTS ' TO c_t_sel_txt, ' EXCEPTIONS ' TO c_t_sel_txt, ' PROGRAM_NOT_FOUND = 1 ' TO c_t_sel_txt, ' PROGRAM_CANNOT_BE_GENERATED = 2 ' TO c_t_sel_txt, ' OTHERS = 3. ' TO c_t_sel_txt.

RSDDK_CHECK_AGGREGATE CALL FUNCTION 'RSDDK_CHECK_AGGREGATE' EXPORTING i_aggrcube = i_aggrcube i_build_by_parent = l_s_input-build_by_parent i_log_file = l_s_input-log_file i_show_report = l_s_input-show_report i_blocksize = l_s_input-blocksize i_check_mode = l_s_input-check_mode i_tsx_seldr_part = i_tsx_seldr IMPORTING e_t_msg = l_t_msg * E_SUBRC = l_subrc EXCEPTIONS aggr_not_found = 1 aggr_empty = 2 template_error = 3 check_not_possible = 4 OTHERS = 6.

EDITOR_TABLE CALL FUNCTION 'EDITOR_TABLE' EXPORTING DISPLAY = 'X' * NAME = ' ' * TEXTTYPE = ' ' * LINELENGTH72 = ' ' * IMPORTING * CHANGED = * SUBRC = TABLES content = l_t_code .

CALL FUNCTION 'CALL FUNCTION ''RSDDK_CHECK_AGGREGATE'' ' TO c_t_code, ' EXPORTING ' TO c_t_code, ' I_AGGRCUBE = L_AGGRCUBE ' TO c_t_code, ' I_BUILD_BY_PARENT = L_BUILD_BY_PARENT ' TO c_t_code, ' I_LOG_FILE = L_LOG_FILE ' TO c_t_code, ' I_SHOW_REPORT = L_SHOW_REPORT ' TO c_t_code, ' I_BLOCKSIZE = L_BLOCKSIZE ' TO c_t_code, ' I_CHECK_MODE = L_CHECK_MODE ' TO c_t_code, ' I_TSX_SELDR_PART = L_TSX_SELDR. ' TO c_t_code.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = 'Y' " btc_yes stdt_input = l_startspecs stdt_opcode = 14 " btc_edit_startdate IMPORTING stdt_modify_type = l_modify stdt_output = l_startspecs EXCEPTIONS fcal_id_not_defined = 1 incomplete_last_startdate = 2 incomplete_startdate = 3 invalid_dialog_type = 4 invalid_eventid = 5 invalid_opcode = 6 invalid_opmode_name = 7 invalid_periodbehaviour = 8 invalid_predecessor_jobname = 9 last_startdate_in_the_past = 10 no_period_data_given = 11 no_startdate_given = 12 period_and_predjob_no_way = 13 period_too_small_for_limit = 14 predecessor_jobname_not_unique = 15 startdate_interval_too_large = 16 startdate_in_the_past = 17 startdate_is_a_holiday = 18 startdate_out_of_fcal_range = 19 stdt_before_holiday_in_past = 20 unknown_fcal_error_occured = 21 no_workday_nr_given = 22 invalid_workday_countdir = 23 invalid_workday_nr = 24 notbefore_stdt_missing = 25 workday_starttime_missing = 26 no_eventid_given = 27.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = l_jobname jobgroup = l_c_jobgroup IMPORTING jobcount = l_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING * AT_OPMODE = ' ' * AT_OPMODE_PERIODIC = ' ' calendar_id = l_startspecs-calendarid event_id = l_startspecs-eventid event_param = l_startspecs-eventparm * EVENT_PERIODIC = ' ' jobcount = l_jobcount jobname = l_jobname laststrtdt = l_startspecs-laststrtdt laststrttm = l_startspecs-laststrttm prddays = l_startspecs-prddays prdhours = l_startspecs-prdhours prdmins = l_startspecs-prdmins prdmonths = l_startspecs-prdmonths prdweeks = l_startspecs-prdweeks predjob_checkstat = l_startspecs-checkstat pred_jobcount = l_startspecs-predjobcnt pred_jobname = l_startspecs-predjob sdlstrtdt = l_startspecs-sdlstrtdt sdlstrttm = l_startspecs-sdlstrttm startdate_restriction = space " btc_process_always strtimmed = l_strtimmed targetsystem = l_startspecs-instname * start_on_workday_not_before = sy-datum start_on_workday_nr = l_startspecs-wdayno workday_count_direction = l_startspecs-wdaycdir * RECIPIENT_OBJ = * importing * job_was_released = l_released EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7.



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