SAP Reports / Programs | Logistics - General | Batches(LO-BM) SAP LO

MMCHCLF04 SAP ABAP INCLUDE - documentation and ABAP source code







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


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


INCLUDES used within this REPORT MMCHCLF04

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:

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.



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