MLCCS_CONS_CHECK 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 MLCCS_CONS_CHECK 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: R_MATNR = D Material
Selection Text: R_BWKEY = D Valuation Area
Selection Text: P_POPER = D Posting period
Selection Text: P_MATNV = Material (from)
Selection Text: P_MATNB = Material (to)
Selection Text: P_CORR_X = Correct (all)
Selection Text: P_CORR_W = Correct (update)
Selection Text: P_CORR_N = Test run
Selection Text: P_BWKEY = D Valuation area
Selection Text: P_BDATJ = D Year
Title: Consistancy check and correction of cost component split records
Text Symbol: T01 = Corrections
Text Symbol: G01 = Mater.-from
Text Symbol: G02 = Material-to
Text Symbol: H01 = Valuation Area
Text Symbol: H02 = Material
Text Symbol: H03 = Posting period
Text Symbol: H04 = Year
Text Symbol: L01 = Status
Text Symbol: O01 = Fld
Text Symbol: O02 = App.
Text Symbol: O03 = Total val.
Text Symbol: O04 = CCS
Text Symbol: O05 = Std prc
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MLCCS_READ_CUSTOMIZING CALL FUNCTION 'MLCCS_READ_CUSTOMIZING' EXPORTING i_bwkey = ld_bwkey IMPORTING ef_mlccs_customizing = ld_cust EXCEPTIONS mlccs_not_active = 1 OTHERS = 2.
MLCCS_CKMLKEPH_INIT CALL FUNCTION 'MLCCS_CKMLKEPH_INIT' EXPORTING is_cust = ld_cust i_kalnr = r_ckmlcr-kalnr i_bdatj = r_ckmlcr-bdatj i_poper = r_ckmlcr-poper i_untper = r_ckmlcr-untper i_categ = v_info-categ i_ptyp = ccs00_ptyp-gesamt i_bvalt = ccs00_bvalt-gesamt i_mlcct = v_info-mlcct i_curtp = r_ckmlcr-curtp CHANGING t_ckmlkeph = ld_keph_null_tbl.
MLCCS_CKMLKEPH_INIT CALL FUNCTION 'MLCCS_CKMLKEPH_INIT' EXPORTING is_cust = ld_cust i_kalnr = r_mlcd-kalnr i_bdatj = r_mlcd-bdatj i_poper = r_mlcd-poper i_untper = r_mlcd-untper i_categ = r_mlcd-categ i_ptyp = r_mlcd-ptyp i_bvalt = r_mlcd-bvalt i_mlcct = v_info-mlcct i_curtp = r_mlcd-curtp CHANGING t_ckmlkeph = ld_keph_null_tbl.
MLCCS_SCALE_UPDOWN CALL FUNCTION 'MLCCS_SCALE_UPDOWN' EXPORTING i_source_value = ld_source_value i_destin_value = ld_delta i_destin_curtp = r_keph-curtp i_bwkey = ld_bwkey i_bdatj = r_keph-bdatj i_poper = r_keph-poper i_keart = r_keph-keart i_kkzst = r_keph-kkzst CHANGING cf_keph = ld_wa_keph.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gd_program i_internal_tabname = gd_tabname i_inclname = gd_program i_bypassing_buffer = 'X' CHANGING ct_fieldcat = gd_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = ld_callb_prog i_callback_pf_status_set = ld_cb_status i_callback_user_command = ld_cb_ucom * I_STRUCTURE_NAME = is_layout = s_layout it_fieldcat = gd_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' it_events = t_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gd_error_tbl * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2 .
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gd_olist_top_of_list.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gd_program i_internal_tabname = gd_tabname i_inclname = gd_program i_bypassing_buffer = 'X' CHANGING ct_fieldcat = gd_glist_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = ld_callb_prog i_callback_pf_status_set = ld_cb_status i_callback_user_command = ld_cb_ucom * I_STRUCTURE_NAME = is_layout = s_layout it_fieldcat = gd_glist_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' it_events = t_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gd_objekt_tbl * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2 .
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gd_glist_top_of_list.
MLCCS_SCALE_UPDOWN CALL FUNCTION 'MLCCS_SCALE_UPDOWN' EXPORTING i_source_value = ld_source_value i_destin_value = ld_delta i_destin_curtp = r_keph-curtp i_bwkey = ld_bwkey i_bdatj = r_keph-bdatj i_poper = r_keph-poper i_keart = r_keph-keart i_kkzst = r_keph-kkzst CHANGING cf_keph = ld_wa_keph.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = percentage text = text EXCEPTIONS OTHERS = 0.
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING matnr = ld_ckmlhd-matnr IMPORTING wmara = ld_mara.
CKML_XBEW_KALNR_READ CALL FUNCTION 'CKML_XBEW_KALNR_READ' CHANGING is_xbew = ls_xbew EXCEPTIONS MATERIAL_NOT_FOUND = 1.
MLCCS_READ_CUSTOMIZING CALL FUNCTION 'MLCCS_READ_CUSTOMIZING' EXPORTING i_bwkey = ld_ckmlhd-bwkey IMPORTING ef_mlccs_customizing = ld_mlccs_customizing EXCEPTIONS OTHERS = 1.
MLCCS_GET_LAYOUT CALL FUNCTION 'MLCCS_GET_LAYOUT' EXPORTING i_bwkey = ld_ckmlhd-bwkey i_bdatj = v_bdatj i_poper = v_poper i_curtp = v_curtp IMPORTING ef_ckmlkev = ld_ckmlkev EXCEPTIONS error_occurred = 1 OTHERS = 2.
MLCCS_KSTAR_GET CALL FUNCTION 'MLCCS_KSTAR_GET' EXPORTING i_matnr = ld_ckmlhd-matnr i_bwkey = ld_ckmlhd-bwkey i_bwtar = ld_ckmlhd-bwtar "note 673417 i_bwmod = ld_mlccs_customizing-bwmod i_ktopl = ld_mlccs_customizing-ktopl i_mtart = ld_mara-mtart i_bklas = ls_xbew-bklas IMPORTING e_kstar = ld_kstar e_hrkft = ld_hrkft EXCEPTIONS account_not_found = 1 OTHERS = 2.
MLCCS_KSTAR_TO_KSTEL CALL FUNCTION 'MLCCS_KSTAR_TO_KSTEL' EXPORTING i_elehk = ld_elehk i_kstar = ld_kstar i_hrkft = ld_hrkft i_bukrs = ld_mlccs_customizing-bukrs i_wtgbtr = ld_eins CHANGING f_costcomp = ld_ckmlkeph 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.
MLCCS_CONS_CHECK - Consistancy check and correction of cost component split records MLCCS_CONS_CHECK - Consistancy check and correction of cost component split records ML05STOP - Function Module for Account Determination (T030 AND Substitution) ML05SOR0 - documentation and ABAP source code ML05SO00_SONDERREGELN - ML05SO00SONDERREGELN ML05SO00_SET_RIDER - ML05SO00SETRIDER