SAP Reports / Programs | Logistics - General | Logistics Basic Data | Bills of Material(LO-MD-BOM) SAP LO

MC29MF16 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

CS_WHERE_USED_MAT CALL FUNCTION 'CS_WHERE_USED_MAT' EXPORTING datub = l_datub datuv = rc29n-datuv matnr = rc29n-matnr postp = rc29l-postp stlan = rc29l-stlan werks = '*' "Get all plants mclmt = g_rc29n_mclmt-mclmt mnstl = g_rc29n_mclmt-mnstl mxstl = g_rc29n_mclmt-mxstl stltp = l_stltp "note526122 IMPORTING topmat = l_topmat TABLES wultb = gt_ltb equicat = equicat kndcat = kndcat matcat = matcat stdcat = stdcat tplcat = tplcat prjcat = prjcat EXCEPTIONS material_not_found = 02 no_where_used_rec_found = 03 no_where_used_rec_selected = 04 no_where_used_rec_valid = 05.

MODX_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'MODX_FUNCTION_ACTIVE_CHECK' EXPORTING cprogname = 'SAPMC29M' funcnumber = '001' IMPORTING active = lv_active EXCEPTIONS OTHERS = 0.

CS_WHERE_USED_DOC CALL FUNCTION 'CS_WHERE_USED_DOC' EXPORTING datub = l_datub datuv = rc29n-datuv docar = rc29n-dokar docnr = rc29n-doknr doctl = rc29n-doktl docvr = rc29n-dokvr postp = rc29l-postp stlan = rc29l-stlan werks = '*' "Get all plants * mclmt = g_rc29n_mclmt-mclmt "Todo * mnstl = g_rc29n_mclmt-mnstl "Todo * mxstl = g_rc29n_mclmt-mxstl "Todo stltp = l_stltp "note526122 IMPORTING topdoc = l_topdoc TABLES wultb = gt_ltb equicat = equicat kndcat = kndcat matcat = matcat stdcat = stdcat tplcat = tplcat doccat = doccat prjcat = prjcat EXCEPTIONS document_not_found = 02 no_where_used_rec_found = 03 no_where_used_rec_selected = 04 no_where_used_rec_valid = 05.

MODX_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'MODX_FUNCTION_ACTIVE_CHECK' EXPORTING cprogname = 'SAPMC29M' funcnumber = '001' IMPORTING active = lv_active EXCEPTIONS OTHERS = 0.

CS_WHERE_USED_CLA CALL FUNCTION 'CS_WHERE_USED_CLA' EXPORTING datub = l_datub datuv = rc29n-datuv klart = rc29l-klart klass = rc29l-class postp = rc29l-postp stlan = rc29l-stlan werks = '*' "Get all plants * mclmt = g_rc29n_mclmt-mclmt "Todo * mnstl = g_rc29n_mclmt-mnstl "Todo * mxstl = g_rc29n_mclmt-mxstl "Todo stltp = l_stltp "note526122 IMPORTING topkla = l_topkla TABLES wultb = gt_ltb kndcat = kndcat matcat = matcat * prjcat = prjcat EXCEPTIONS class_not_found = 02 no_where_used_rec_found = 03 no_where_used_rec_selected = 04 no_where_used_rec_valid = 05.

MODX_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'MODX_FUNCTION_ACTIVE_CHECK' EXPORTING cprogname = 'SAPMC29M' funcnumber = '001' IMPORTING active = lv_active EXCEPTIONS OTHERS = 0.

FUNCTION_IMPORT_INTERFACE CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE' EXPORTING funcname = 'CS_WHERE_USED_MAT' TABLES exception_list = lt_rsexc export_parameter = lt_rsexp import_parameter = lt_rsimp tables_parameter = lt_rstbl EXCEPTIONS error_message = 1 function_not_found = 2 invalid_name = 3 OTHERS = 4.

FUNCTION_IMPORT_INTERFACE CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE' EXPORTING funcname = 'CS_WHERE_USED_DOC' TABLES exception_list = lt_rsexc export_parameter = lt_rsexp import_parameter = lt_rsimp tables_parameter = lt_rstbl EXCEPTIONS error_message = 1 function_not_found = 2 invalid_name = 3 OTHERS = 4.

FUNCTION_IMPORT_INTERFACE CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE' EXPORTING funcname = 'CS_WHERE_USED_CLS' TABLES exception_list = lt_rsexc export_parameter = lt_rsexp import_parameter = lt_rsimp tables_parameter = lt_rstbl EXCEPTIONS error_message = 1 function_not_found = 2 invalid_name = 3 OTHERS = 4.

ECM_PROC_CHECK CALL FUNCTION 'ECM_PROC_CHECK' IMPORTING effectivity_chk = l_eff_chk status_chk = l_sta_chk.

GET_STPO CALL FUNCTION 'GET_STPO' EXPORTING all = 'X' alter = l_stlal datub = l_eff_datub datuv = l_eff_datuv set = 'X' valid = 'X' TABLES add_wa = lt_stern wa = lt_stpob 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 MC29MF16 or its description.