MMCS2F10 is a standard ABAP INCLUDE 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 MMCS2F10 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MC_OBJECTS_READ CALL FUNCTION 'MC_OBJECTS_READ' EXPORTING i_mcinf = rmcs2-mcinf i_flg_reffield = false IMPORTING e_returncode = aa_rc TABLES object_tab = aa_merkmale.
MC_RATIO_UNIT_READ CALL FUNCTION 'MC_RATIO_UNIT_READ' EXPORTING i_mcinf = rmcs2-mcinf i_flg_reffield = false IMPORTING e_returncode = aa_rc TABLES ratio_tab = aa_kennzahlen unit_tab = aa_einheiten.
MC_AUSW_DEQUEUE CALL FUNCTION 'MC_AUSW_DEQUEUE' EXPORTING job = rmcs2-job mcinf = rmcs2-mcinf.
MC_AUSW_ENQUEUE CALL FUNCTION 'MC_AUSW_ENQUEUE' EXPORTING job = rmcs2-job mcinf = rmcs2-mcinf.
G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING setnr = al_setnr IMPORTING set_header = set_header TABLES formula_lines = formula_lines set_lines_basic = col_set_lines set_lines_data = data_set_lines set_lines_multi = multi_set_lines set_lines_single = s_set_lines EXCEPTIONS set_not_found = 1 OTHERS = 2.
G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING setnr = al_setnr table = al_table IMPORTING set_header = set_header TABLES formula_lines = formula_lines set_lines_basic = col_set_lines set_lines_data = data_set_lines set_lines_multi = multi_set_lines set_lines_single = s_set_lines.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = LV_TABNAME LANGU = SY-LANGU ALL_TYPES = 'X' TABLES DFIES_TAB = LT_DFIES EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.
G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING setnr = al_setnr IMPORTING set_header = set_header TABLES formula_lines = formula_lines set_lines_basic = col_set_lines set_lines_data = data_set_lines set_lines_multi = multi_set_lines set_lines_single = s_set_lines EXCEPTIONS set_not_found = 1 OTHERS = 2.
G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING setnr = al_setnr table = al_table IMPORTING set_header = set_header TABLES formula_lines = formula_lines set_lines_basic = col_set_lines set_lines_data = data_set_lines set_lines_multi = multi_set_lines set_lines_single = s_set_lines.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = LV_TABNAME LANGU = SY-LANGU ALL_TYPES = 'X' TABLES DFIES_TAB = LT_DFIES EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.
MC_SET_AVAILABLE CALL FUNCTION 'MC_SET_AVAILABLE' EXPORTING setname = set_header-setnr table = set_header-table IMPORTING subrc = abm_set_subrc.
G_SET_ENQUEUE CALL FUNCTION 'G_SET_ENQUEUE' EXPORTING setnr = set_header-setnr table = set_header-table.
G_GENERATE_MULTI_SET CALL FUNCTION 'G_GENERATE_MULTI_SET' EXPORTING set_header = set_header TABLES set_lines = multi_set_lines.
G_SET_DEQUEUE CALL FUNCTION 'G_SET_DEQUEUE' EXPORTING setnr = set_header-setnr table = set_header-table.
MC_SET_AVAILABLE CALL FUNCTION 'MC_SET_AVAILABLE' EXPORTING setname = set_header-setnr table = set_header-table IMPORTING subrc = cbs_set_subrc.
G_SET_ENQUEUE CALL FUNCTION 'G_SET_ENQUEUE' EXPORTING setnr = set_header-setnr table = set_header-table.
G_GENERATE_BASIC_SET CALL FUNCTION 'G_GENERATE_BASIC_SET' EXPORTING set_header = set_header TABLES formula_lines = formula_lines set_lines = col_set_lines.
G_SET_DEQUEUE CALL FUNCTION 'G_SET_DEQUEUE' EXPORTING setnr = set_header-setnr table = set_header-table.
CALL FUNCTION 'MC_SET_AVAILABLE' EXPORTING setname = set_header-setnr table = set_header-table IMPORTING subrc = dat_set_subrc.
G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING class = ' ' langu = sy-langu no_authority_check = 'X' setnr = set_header-setnr source_client = sy-mandt table = set_header-table IMPORTING set_header = hlp_set_header TABLES formula_lines = hlp_formula_lines set_lines_basic = hlp_set_lines_basic set_lines_data = hlp_set_lines_data set_lines_multi = hlp_set_lines_multi set_lines_single = hlp_set_lines_single EXCEPTIONS no_authority = 01 set_is_broken = 02 set_not_found = 03.
G_SET_ENQUEUE CALL FUNCTION 'G_SET_ENQUEUE' EXPORTING setnr = set_header-setnr table = set_header-table.
G_GENERATE_DATA_SET CALL FUNCTION 'G_GENERATE_DATA_SET' EXPORTING set_header = set_header TABLES formula_lines = formula_lines set_lines = data_set_lines.
G_SET_DEQUEUE CALL FUNCTION 'G_SET_DEQUEUE' EXPORTING setnr = set_header-setnr table = set_header-table.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = dr_dyname dynumb = dr_dynumb TABLES dynpfields = dr_dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.
MC_JOBNR_ENQUEUE CALL FUNCTION 'MC_JOBNR_ENQUEUE'.
MC_JOBNR_DEQUEUE CALL FUNCTION 'MC_JOBNR_DEQUEUE'.
G_JOB_ENQUEUE CALL FUNCTION 'G_JOB_ENQUEUE' EXPORTING job = gnf_job.
G_CLIENT_ENCODE * call function 'G_CLIENT_ENCODE' * exporting * mmm = sy-mandt * importing * mm = je_mm * exceptions * out_of_range = 01.
GRW_JOB_SUBMIT_PREPARE CALL FUNCTION 'GRW_JOB_SUBMIT_PREPARE' EXPORTING i_report_group = tmcsa-jobnr i_message_level = 1 i_program_type = 'X' IMPORTING e_subrc = je_gener_job_subrc e_program_name = je_report EXCEPTIONS OTHERS = 4.
G_CLIENT_ENCODE * call function 'G_CLIENT_ENCODE' * exporting * mmm = sy-mandt * importing * mm = js_mm * exceptions * out_of_range = 01.
GRW_JOB_SUBMIT_PREPARE CALL FUNCTION 'GRW_JOB_SUBMIT_PREPARE' EXPORTING i_report_group = tmcsa-jobnr i_message_level = 1 i_program_type = 'X' IMPORTING e_subrc = js_gener_job_subrc e_program_name = js_report EXCEPTIONS OTHERS = 4.
G_REPORT_GROUP_GENERATE * CALL FUNCTION 'G_REPORT_GROUP_GENERATE' * EXPORTING * GENERATE_ABAP = ' ' * KEEP_STORED_DATA = ' ' * LAYOUT_CONTROL = ' ' * MESSAGE_LEVEL = 1 * REPORT_GROUP = TMCSA-JOBNR * IMPORTING * RETURN_CODE = JS_GENER_JOB_SUBRC * EXCEPTIONS * REPORT_GROUP_NOT_EXIST = 01 * SYNTAX_ERROR = 02.
G_REPORT_LAYOUT_PARAMETERS CALL FUNCTION 'G_REPORT_LAYOUT_PARAMETERS' EXPORTING i_call_state = '1' i_t800 = t800 i_t801w = t801w i_t801x = t801x i_maincode = lp_maincode i_parameter_screen = lp_screen IMPORTING e_changed = lp_changed_para e_t800 = t800.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = 'MCLIB_D' LANGU = SY-LANGU ALL_TYPES = 'X' IMPORTING DFIES_WA = LS_DFIES EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = 'RLTEXT' LANGU = SY-LANGU ALL_TYPES = 'X' IMPORTING DFIES_WA = LS_DFIES EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.
MCS_TMC4_F4 CALL FUNCTION 'MCS_TMC4_F4' EXPORTING i_flg_evaluation = true i_mcapp = tmcsb-mcapp IMPORTING e_istxt = mf4_istxt e_mcinf = mf4_mcinf EXCEPTIONS no_field_selected = 01.
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING display = space fieldname = 'MCINF' tabname = 'TMC4' IMPORTING select_value = ms_mcinf TABLES fields = ms_felder valuetab = ms_wertetab EXCEPTIONS * FIELD_NOT_IN_DDIC = 01 * MORE_THEN_ONE_SELECTFIELD = 02 no_selectfield = 03.
MC_SET_AVAILABLE CALL FUNCTION 'MC_SET_AVAILABLE' EXPORTING setname = set_header-setnr table = set_header-table IMPORTING subrc = mul_set_subrc.
G_SET_ENQUEUE CALL FUNCTION 'G_SET_ENQUEUE' EXPORTING setnr = set_header-setnr table = set_header-table.
G_GENERATE_MULTI_SET CALL FUNCTION 'G_GENERATE_MULTI_SET' EXPORTING set_header = set_header TABLES set_lines = multi_set_lines.
G_SET_DEQUEUE CALL FUNCTION 'G_SET_DEQUEUE' EXPORTING setnr = set_header-setnr table = set_header-table.
REPORT_TEXT_UNLOAD CALL FUNCTION 'REPORT_TEXT_UNLOAD' EXPORTING application = 'FGR' text_name = rt_text_name text_type = id IMPORTING exp_rtxth = hlp_rtxth TABLES exp_rtxtf = hlp_rtxtf exp_rtxtt = hlp_rtxtt exp_rtxtl = hlp_rtxtl EXCEPTIONS text_not_found = 1 OTHERS = 2.
REPORT_TEXT_UNLOAD CALL FUNCTION 'REPORT_TEXT_UNLOAD' EXPORTING application = 'FGR' text_name = rt_model_text_name text_type = id IMPORTING exp_rtxth = hlp_rtxth TABLES exp_rtxtf = hlp_rtxtf exp_rtxtt = hlp_rtxtt exp_rtxtl = hlp_rtxtl EXCEPTIONS text_not_found = 1 OTHERS = 2.
REPORT_TEXT_LOAD CALL FUNCTION 'REPORT_TEXT_LOAD' EXPORTING imp_rtxth = hlp_rtxth delete_all_text_lines = 'X' TABLES imp_rtxtf = hlp_rtxtf imp_rtxtt = hlp_rtxtt imp_rtxtl = hlp_rtxtl EXCEPTIONS not_imported = 1 OTHERS = 2.
REPORT_TEXT_LOAD CALL FUNCTION 'REPORT_TEXT_LOAD' EXPORTING imp_rtxth = hlp_rtxth TABLES imp_rtxtf = hlp_rtxtf imp_rtxtt = hlp_rtxtt imp_rtxtl = hlp_rtxtl EXCEPTIONS not_imported = 1 OTHERS = 2.
G_REPORT_GROUP_GENERATE * CALL FUNCTION 'G_REPORT_GROUP_GENERATE' * EXPORTING * generate_abap = ' ' * keep_stored_data = ' ' * layout_control = ' ' * message_level = 1 * report_group = tmcsa-jobnr * IMPORTING * return_code = gener_job_subrc * EXCEPTIONS * report_group_not_exist = 01 * syntax_error = 02.
GRW_JOB_SUBMIT_PREPARE CALL FUNCTION 'GRW_JOB_SUBMIT_PREPARE' EXPORTING i_report_group = tmcsa-jobnr i_force_generation = 'X' i_message_level = 1 IMPORTING e_subrc = gener_job_subrc EXCEPTIONS report_group_invalid = 1 no_authority = 2 report_group_locked = 3 program_type_invalid = 4 OTHERS = 5.
G_REPORT_DEQUEUE CALL FUNCTION 'G_REPORT_DEQUEUE' EXPORTING library = r-lib report = r-rname.
G_JOB_DEQUEUE CALL FUNCTION 'G_JOB_DEQUEUE' EXPORTING job = tmcsa-jobnr.
MC_REPORT_DELETE CALL FUNCTION 'MC_REPORT_DELETE' EXPORTING tab = tmcsb-mcinf lib = tmcsc-mclib ausw = rd_ausw jobnr = tmcsa-jobnr.
G_REPORT_ENQUEUE CALL FUNCTION 'G_REPORT_ENQUEUE' EXPORTING library = t801k-lib report = rwg_report.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-040 * 'Möchten_Sie_die_Auswertung_in______;' textline2 = text-041 * 'einen_Transportauftrag_einbinden?__;' titel = text-042 * 'Transport_Auswertung_______________;' * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = tr_antwort.
TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING systemtype = tr_systemtyp.
TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'SYST' iv_cli_dep = 'X' IMPORTING ev_order = tr_order ev_task = tr_task EXCEPTIONS invalid_category = 01 no_correction_selected = 02.
TR_APPEND_TO_COMM_OBJS_KEYS CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS' EXPORTING wi_trkorr = tr_task TABLES wt_e071 = tr_e071 wt_e071k = tr_e071k EXCEPTIONS OTHERS = 01.
G_SET_GET_NEW_SETID CALL FUNCTION 'G_SET_GET_NEW_SETID' EXPORTING table = es_table setnr = es_setnr IMPORTING new_setid = es_setnr EXCEPTIONS OTHERS = 1.
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = '0003' shortname = es_setnr lib = t801k-lib rname = es_report IMPORTING setid = es_setnr EXCEPTIONS no_co_area_specified = 1 illegal_setclass = 2 OTHERS = 3.
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 MMCS2F10 or its description.