CKMLAVR_BUILD_DATA 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 CKMLAVR_BUILD_DATA 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: P_TEST = D .
Selection Text: P_STORE = D .
Selection Text: P_SPLIT = D .
Selection Text: P_RUNTYP = D .
Selection Text: P_RUNDAY = D .
Selection Text: P_POPER = D .
Selection Text: P_GJAHR = D .
Selection Text: P_BTCHRQ = D .
Selection Text: P_APPL = D .
Selection Text: P_WANZ = Analysis Log
Selection Text: P_SRVR = D Server name
Selection Text: P_SIZE = Scope of Package to be Updated
Selection Text: P_PRZ = Parallel Processes per Comput.
Selection Text: P_PALL = Parallel Processing
Selection Text: P_OPTI = Runtime Optimization
Selection Text: P_MGTY = Reference Quantity Structure
Selection Text: P_KALW = Costing No. to be Logged
Selection Text: P_KALC = Costing No. to be Calculated
Selection Text: P_DELE = Delete Previous Results
Title: Multiperiod Cumulation of Actual Data
Text Symbol: 308 = Next Error
Text Symbol: 307 = Previous Error
Text Symbol: 302 = Valuation Area / Component / Number
Text Symbol: 301 = Activities
Text Symbol: 300 = Materials
Text Symbol: 205 = Anlys
Text Symbol: 201 = Cumulation Step with Month Change
Text Symbol: 200 = Parallel Proc.
Text Symbol: 100 = Processing Options
Text Symbol: 042 = To Period:
Text Symbol: 041 = From Period:
Text Symbol: 031 = Cumulation Run:
Text Symbol: 024 = Server name
Text Symbol: 023 = Production
Text Symbol: 022 = Valuation Area
Text Symbol: 021 = Processing Activities/Business Processes
Text Symbol: 020 = Processing Materials
Text Symbol: 015 = Deleting Old Data
INCLUDE CKMLAVR_DATA_BUILD_TOP.
INCLUDE RKAPLTOP.
INCLUDE RKASMAWF.
INCLUDE SCHEDMAN_EVENTS.
INCLUDE CKML_RUN_SELSCREEN_PERIOD_EXT.
INCLUDE CKML_RUN_SELSCREEN_F4_EVENTS.
INCLUDE CKMLAVR_BUILD_DATAF01.
INCLUDE CKMLAVR_BUILD_DATAF02.
INCLUDE CKMLAVR_BUILD_DATAF03.
No SAP DATABASE tables are accessed within this REPORT code!
CKML_RUN_PERIOD_GET CALL FUNCTION 'CKML_RUN_PERIOD_GET' EXPORTING i_run_type = p_runtyp i_last_day = p_runday i_poper = p_poper i_gjahr = p_gjahr i_appl = p_appl IMPORTING es_runperiod = lf_runperiod.
CKML_RUN_PERIOD_GET CALL FUNCTION 'CKML_RUN_PERIOD_GET' exporting i_run_type = p_runtyp i_last_day = p_runday i_poper = p_poper i_gjahr = p_gjahr i_appl = p_appl importing es_runperiod = lf_runperiod.
CKML_RUN_VALAREAS_GET call function 'CKML_RUN_VALAREAS_GET' exporting i_run_type = p_runtyp i_last_day = p_runday i_appl = ckru0_co_appl_cum importing et_valareas = gt_valuation_areas.
ENQUEUE_ECKMLRUNPERIOD call function 'ENQUEUE_ECKMLRUNPERIOD' exporting mode_ckmlrunperiod = 'E' mandt = sy-mandt run_id = ls_runperiod-run_id * X_RUN_ID = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' exceptions foreign_lock = 1.
CM_F_INFO call function 'CM_F_INFO' * EXPORTING * ALL = 'X' * APLID = ' ' * OBJECT = ' ' * OBJECT_ID = ' ' * WILDCARD_SEARCH = ' ' importing * APLIDENT = * A_MSG_COUNTER_PRO = * A_MSG_COUNTER_SCR = * E_MSG_COUNTER_PRO = * E_MSG_COUNTER_SCR = * I_MSG_COUNTER_PRO = * I_MSG_COUNTER_SCR = * MAX_SEVERITY_PRO = * MAX_SEVERITY_SCR = * MSGTY_PRO = * MSGTY_SCR = msg_counter_pro = h_msg_counter_pro.
CM_F_DISPLAY_LOG call function 'CM_F_DISPLAY_LOG' exporting * APLID = ' ' * HEADLINE = ' ' * OCS_ACTIV = ' ' * OCS_SEND_IMMEDIATE = ' ' skip_info_screen = h_skip_info_screen * DISPLAY_IN_NEW_TASK = ' ' * TITLEBAR = ' ' * TITLE = ' ' * OBJECT = ' ' * WITH_OBJECTINDEPENDENT = 'X' * ADDITIONAL_INFO = * MSG_EXITCALL_ICON = ' ' grid_display = 'X' alv_variant = ckru0_co_msg_alv_variant.
CM_F_INITIALIZE * CALL FUNCTION 'CM_F_INITIALIZE' * EXPORTING * aplid = 'ACT '.
CM_F_COLLECT_MESSAGE * CALL FUNCTION 'CM_F_COLLECT_MESSAGE' * EXPORTING * append_same_message = 'X' * msgid = 'CKMLAVR' * msgno = '000' * msgty = 'I' * msgv1 = m1 * msgv2 = m2.
CKML_RUN_PERIOD_GET * CALL FUNCTION 'CKML_RUN_PERIOD_GET' * EXPORTING * i_run_type = t * i_last_day = l * i_poper = p * i_gjahr = y * i_appl = p_appl * IMPORTING * es_runperiod = q.
CKMLAVR_CHECK_CLOSED * CALL FUNCTION 'CKMLAVR_CHECK_CLOSED' * EXPORTING * i_run_id = q-run_id * EXCEPTIONS * cumulation_closed = 1 * no_document_found = 2 * OTHERS = 3.
CKML_LA_SET_DATE * CALL FUNCTION 'CKML_LA_SET_DATE' * EXPORTING * i_date = q-last_day.
CKML_RUN_PLANTS_GET * CALL FUNCTION 'CKML_RUN_PLANTS_GET' * EXPORTING * i_run_id = q-run_id * IMPORTING * et_plants = lt_plants.
CKML_LA_CUSTOMIZING_READ * CALL FUNCTION 'CKML_LA_CUSTOMIZING_READ' * EXPORTING * i_werks = lw_plants-werks * IMPORTING * e_mgvlaupd = ld_laupdt * EXCEPTIONS * werks_not_found = 1 * OTHERS = 2.
CKML_RUN_VALAREAS_GET * CALL FUNCTION 'CKML_RUN_VALAREAS_GET' * EXPORTING * i_run_id = r * IMPORTING * et_valareas = gt_valuation_areas.
CKML_RUN_PERIOD_GET * CALL FUNCTION 'CKML_RUN_PERIOD_GET' * EXPORTING * i_run_id = q-prev_run_id * i_appl = p_appl * IMPORTING * es_runperiod = prev_run.
CKML_RUN_VALAREAS_GET * CALL FUNCTION 'CKML_RUN_VALAREAS_GET' * EXPORTING * i_run_id = prev_run-run_id * IMPORTING * et_valareas = prev_run_areas.
CKML_SCHEDMAN_RECORD_OPEN * CALL FUNCTION 'CKML_SCHEDMAN_RECORD_OPEN' * EXPORTING * i_function = ckru0_sm_function-cumulate * i_activity = ckru0_co_activity-perform ** I_SCMA_WITEM = * i_repid = repid ** I_TCODE = 'CKMLCUM' ** I_TEST = ' ' * i_run_id = r * .
CM_F_COLLECT_MESSAGE * CALL FUNCTION 'CM_F_COLLECT_MESSAGE' * EXPORTING * append_same_message = 'X' * msgid = 'CKMLAVR' * msgno = '001' * msgty = 'I' * msgv1 = m1.
CM_F_STORE * CALL FUNCTION 'CM_F_STORE' * EXPORTING * aplid = 'ACT ' * in_update_task = 'X' * IMPORTING * e_cmf_nr = l_protocol_number * EXCEPTIONS * OTHERS = 1.
CM_F_MESSAGE * CALL FUNCTION 'CM_F_MESSAGE' * EXPORTING * arbgb = 'C+' * msgnr = '718' * msgty = 'I' * msgv1 = l_protocol_number * EXCEPTIONS * OTHERS = 0.
CM_F_MESSAGE * CALL FUNCTION 'CM_F_MESSAGE' * EXPORTING * arbgb = 'C+' * msgnr = '719' * msgty = 'E' * EXCEPTIONS * OTHERS = 0.
CKML_SCHEDMAN_RECORD_CLOSE * CALL FUNCTION 'CKML_SCHEDMAN_RECORD_CLOSE' * EXPORTING * i_objects = overall_objects * i_aplication_status = appl_status * i_prot_number = l_protocol_number ** EXCEPTIONS ** NO_OPEN_RECORD_FOUND = 1 ** OTHERS = 2 * .
K_BATCH_REQUEST * CALL FUNCTION 'K_BATCH_REQUEST' * EXPORTING * par_dialg = 'X' * par_jname = l_jobname * par_print = 'X' * par_rname = l_repid "#EC DOM_EQUAL * par_sdmsg = 'X' * par_abend = 'X' * TABLES * tab_selpa = lt_selektionen.
CM_F_COLLECT_MESSAGE call function 'CM_F_COLLECT_MESSAGE' exporting append_same_message = 'X' msgid = 'CKMLAVR' msgno = '107' msgty = 'E' msgv1 = m.
CM_F_COLLECT_MESSAGE call function 'CM_F_COLLECT_MESSAGE' exporting append_same_message = 'X' msgid = 'CKMLAVR' msgno = '102' msgty = 'E' msgv1 = m.
CM_F_COLLECT_MESSAGE call function 'CM_F_COLLECT_MESSAGE' exporting append_same_message = 'X' msgid = 'CKMLAVR' msgno = '103' msgty = 'W' msgv1 = m.
CM_F_COLLECT_MESSAGE call function 'CM_F_COLLECT_MESSAGE' exporting append_same_message = 'X' msgid = 'CKMLAVR' msgno = '102' msgty = 'E' msgv1 = m.
CM_F_COLLECT_MESSAGE call function 'CM_F_COLLECT_MESSAGE' exporting append_same_message = 'X' msgid = 'CKMLAVR' msgno = '102' msgty = 'E' msgv1 = m.
CM_F_COLLECT_MESSAGE call function 'CM_F_COLLECT_MESSAGE' exporting append_same_message = 'X' msgid = 'CKMLAVR' msgno = '108' msgty = 'E' msgv1 = m.
CM_F_COLLECT_MESSAGE call function 'CM_F_COLLECT_MESSAGE' exporting append_same_message = 'X' msgid = 'C+' msgno = '099' msgty = 'E' msgv1 = msg_conversion1 msgv3 = m msgv2 = msg_conversion.
CM_F_COLLECT_MESSAGE call function 'CM_F_COLLECT_MESSAGE' exporting append_same_message = 'X' msgid = 'C+' msgno = '099' msgty = 'E' msgv1 = msg_conversion1 msgv3 = m msgv2 = msg_conversion.
CALL FUNCTION 'CM_F_COLLECT_MESSAGE' EXPORTING append_same_message = 'X' msgid = 'C+' msgno = '099' msgty = 'E' msgv1 = msg_conversion1 msgv3 = m msgv2 = msg_conversion.
CM_F_COLLECT_MESSAGE call function 'CM_F_COLLECT_MESSAGE' exporting append_same_message = 'X' msgid = 'C+' msgno = '099' msgty = 'E' msgv1 = msg_conversion1 msgv3 = m msgv2 = msg_conversion.
CKMLAVR_ADMIN_CKMLRUNPERIOD CALL FUNCTION 'CKMLAVR_ADMIN_CKMLRUNPERIOD' EXPORTING id_run_id = is_run-run_id id_action = 'INIT'.
CKMLAVR_ADMIN_CKMLRUNPERIOD CALL FUNCTION 'CKMLAVR_ADMIN_CKMLRUNPERIOD' EXPORTING id_run_id = is_run-run_id id_action = 'GET_RUNSCALE' IMPORTING ed_runscale = ld_runscale.
CKMLAVR_ADMIN_CKMLRUNPERIOD CALL FUNCTION 'CKMLAVR_ADMIN_CKMLRUNPERIOD' EXPORTING id_run_id = is_run-run_id id_action = 'GET_SCALE_AUTHORITY' IMPORTING ed_answer = ld_answer.
CKMLAVR_ADMIN_CKMLRUNPERIOD CALL FUNCTION 'CKMLAVR_ADMIN_CKMLRUNPERIOD' EXPORTING id_run_id = is_run-run_id id_action = 'SCALE_BY_USER' is_change = ls_ckmlrunperiod.
CKMLAVR_ADMIN_CKMLRUNPERIOD CALL FUNCTION 'CKMLAVR_ADMIN_CKMLRUNPERIOD' EXPORTING id_run_id = is_run-run_id id_action = 'SAVE'.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING ddic_structure = 'RFCHOSTS' retfield = 'RFCDEST' dynpprog = h_repid_1 dynpnr = '1000' dynprofield = 'P_SRVR' window_title = text-024 value_org = 'C' callback_program = h_repid_1 TABLES value_tab = t_rfchosts EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.
RFC_GET_LOCAL_DESTINATIONS CALL FUNCTION 'RFC_GET_LOCAL_DESTINATIONS' EXPORTING consistency_check = ' ' TABLES localdest = lt_rfchosts1.
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 CKMLAVR_BUILD_DATA or its description.