SAP Reports / Programs | Logistics - General | Logistics Information System (LIS) | Data Collection(LO-LIS-DC) SAP LO

MMCS2F20 SAP ABAP INCLUDE - documentation and ABAP source code







MMCS2F20 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 MMCS2F20 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 MMCS2F20. "Basic submit
SUBMIT MMCS2F20 AND RETURN. "Return to original report after report execution complete
SUBMIT MMCS2F20 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 MMCS2F20

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:

STRING_CONCATENATE CALL FUNCTION 'STRING_CONCATENATE' EXPORTING string1 = string2 = ' 1' IMPORTING string = EXCEPTIONS too_small = 01.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.

STRING_CONCATENATE CALL FUNCTION 'STRING_CONCATENATE' EXPORTING string1 = string2 = aa_endnr IMPORTING string = EXCEPTIONS too_small = 01.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.

SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = bl_anfang entry_to = bl_zeilen loops = bl_loopc ok_code = bl_fcode IMPORTING entry_new = bl_anfang.

CHECK_FORMULA CALL FUNCTION 'CHECK_FORMULA' EXPORTING formula = fu_formel program = fu_program routine = fu_routine IMPORTING funcname = fu_funcname MESSAGE = fu_message pos = fu_fehlerpos subrc = fu_subrc.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'J' diagnosetext1 = ga_diagnose1 diagnosetext2 = ga_diagnose2 diagnosetext3 = ga_diagnose3 textline1 = ga_textline1 textline2 = ga_textline2 titel = ga_titel IMPORTING answer = ga_antwort.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.

MC_POPUP_TO_SELECT_FIELDS CALL FUNCTION 'MC_POPUP_TO_SELECT_FIELDS' EXPORTING i_field_first = kb_listanfang i_library_name = tmcsc-mclib i_object_name_plural = text-003 * 'Kennzahlen' i_object_name_plural_titlebar = text-008 * 'Kennzahlen' i_object_name_singular = text-004 * 'Kennzahl' i_popup_length = kb_popup_laenge i_selection_source = '3' i_selection_type = '2' * Konvention TMCSB-MCINF und dazugehörige TMC4-STABL sind gleich i_table_name = tmcsb-mcinf IMPORTING e_field_changed = kb_flg_change e_field_first = kb_listanfang TABLES t_fields = datfeld_sstab t_fields_exclude = excl_felder.

STRING_CONCATENATE CALL FUNCTION 'STRING_CONCATENATE' EXPORTING string1 = string2 = ka_kennzahl IMPORTING string = EXCEPTIONS too_small = 01.

GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING ACCESSIBILITY = gf_acc_on EXCEPTIONS ITS_NOT_AVAILABLE = 1 OTHERS = 2 .

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' * 'Möchten Sie die Auswertung löschen?' textline1 = text-009 textline2 = ''(010) titel = 'Auswertung löschen'(007) IMPORTING answer = la_antwort.

G_RW_GET_LIST_OF_OPERANDS CALL FUNCTION 'G_RW_GET_LIST_OF_OPERANDS' EXPORTING formula = sk_formel * APPEND_OPERANDS = 'X' old_format = sk_old_format TABLES operands = sk_operan EXCEPTIONS no_ending_delimiter = 1 illegal_operand = 2 OTHERS = 3.

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = 'J' text_before = sa_textline1 objectvalue = sav_job text_after = sa_textline2 titel = sa_titel IMPORTING answer = sa_antwort EXCEPTIONS text_too_long = 01.

STRING_SPLIT CALL FUNCTION 'STRING_SPLIT' EXPORTING delimiter = '''' string = vp_name IMPORTING head = vp_name tail = vp_hlp_str EXCEPTIONS not_found = 01 not_valid = 02 too_long = 03 too_small = 04.

GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING ACCESSIBILITY = gf_acc_on EXCEPTIONS ITS_NOT_AVAILABLE = 1 OTHERS = 2 .

MC_POPUP_TO_SELECT_FIELDS CALL FUNCTION 'MC_POPUP_TO_SELECT_FIELDS' EXPORTING i_field_first = vb_listanfang i_field_number_max = 99 i_library_name = tmcsc-mclib i_object_name_plural = text-001 * 'Merkmale' i_object_name_plural_titlebar = text-034 * 'Merkmale' i_object_name_singular = text-002 * 'Merkmal' i_popup_length = vb_popup_laenge i_selection_source = '3' i_selection_type = '1' * Konvention TMCSB-MCINF und dazugehörige TMC4-STABL sind gleich i_table_name = tmcsb-mcinf IMPORTING e_field_changed = vb_flg_change e_field_first = vb_listanfang TABLES t_fields = keyfeld_sstab t_fields_exclude = excl_felder.

STRING_CONCATENATE





CALL FUNCTION 'STRING_CONCATENATE' EXPORTING string1 = string2 = ' 1' IMPORTING string = EXCEPTIONS too_small = 01.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.

STRING_CONCATENATE CALL FUNCTION 'STRING_CONCATENATE' EXPORTING string1 = string2 = aa_endnr IMPORTING string = EXCEPTIONS too_small = 01.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.

STRING_CENTER CALL FUNCTION 'STRING_CENTER' EXPORTING string = IMPORTING cstring = EXCEPTIONS too_small = 01.



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