MMCHCLF04 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 MMCHCLF04 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!
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = tc_materials-top_line entry_from = 1 entry_to = tc_materials-lines last_page_full = 'X' loops = g_tc_materials_lines ok_code = p_ok overlapping = 'X' IMPORTING entry_new = l_tc_new_top_line EXCEPTIONS OTHERS = 0.
CLFC_BATCH_ALLOCATION_TO_CLASS CALL FUNCTION 'CLFC_BATCH_ALLOCATION_TO_CLASS' EXPORTING material = gs_tc_materials-matnr classtype = gs_param-batch_klart i_ignore_buffer = gc_char_x IMPORTING class = lv_old_class EXCEPTIONS no_class_found = 1.
CLSE_SELECT_KLAH CALL FUNCTION 'CLSE_SELECT_KLAH' TABLES imp_exp_klah = lt_klah EXCEPTIONS no_entry_found = 1 OTHERS = 2.
CLSE_SELECT_KLAH CALL FUNCTION 'CLSE_SELECT_KLAH' TABLES imp_exp_klah = lt_klah EXCEPTIONS no_entry_found = 1 OTHERS = 2.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_file has_field_separator = ' ' TABLES data_tab = lt_lines EXCEPTIONS OTHERS = 99.
CLFC_BATCH_ALLOCATION_TO_CLASS CALL FUNCTION 'CLFC_BATCH_ALLOCATION_TO_CLASS' EXPORTING material = ls_mat_classes-matnr classtype = gs_param-batch_klart IMPORTING class = ls_mat_classes-old_class EXCEPTIONS OTHERS = 0.
CLSE_SELECT_KLAH CALL FUNCTION 'CLSE_SELECT_KLAH' TABLES imp_exp_klah = lt_klah EXCEPTIONS OTHERS = 0.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text-imq display_cancel_button = abap_false IMPORTING answer = lv_answer.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_file TABLES data_tab = lt_lines EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MMCHCLF04 - documentation and ABAP source code MMCHCLF03 - documentation and ABAP source code MMCHCLF02 - documentation and ABAP source code MMCHCLF01 - documentation and ABAP source code MMCHCLCL1 - documentation and ABAP source code MMCHANGEVAR - Characteristic Value Change of a Generic Article Variant