/CWM/MOD_LBARMF01 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 /CWM/MOD_LBARMF01 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!
/CWM/MDMM_UNIT_INFO_GET CALL FUNCTION '/CWM/MDMM_UNIT_INFO_GET' EXPORTING i_material = matnr i_unit = erfme EXCEPTIONS unit_is_logistic_base = 1 unit_is_logistic_alternative = 1 unit_is_2tq_base = 3 unit_is_2tq_alternative = 3 OTHERS = 7.
/CWM/MDMM_2TQ_BASE_UNIT_GET CALL FUNCTION '/CWM/MDMM_2TQ_BASE_UNIT_GET' EXPORTING i_material = matnr IMPORTING e_base_unit_of_2tq = /cwm/meins.
/CWM/MDMM_UNIT_INFO_GET CALL FUNCTION '/CWM/MDMM_UNIT_INFO_GET' EXPORTING i_material = matnr i_unit = /cwm/erfme EXCEPTIONS unit_is_logistic_base = 1 unit_is_logistic_alternative = 1 unit_is_2tq_base = 3 unit_is_2tq_alternative = 3 unit_not_found = 6 OTHERS = 7.
MD_AUFLOESUNG_PLANAUFTRAG CALL FUNCTION 'MD_AUFLOESUNG_PLANAUFTRAG' EXPORTING eplaf = ls_plaf " Planauftrag emt61d = p_mt61d " Matstammview eselid = ' ' " SelektionsID Stüli/ DispWerkTab ecm61m = ls_cm61m " CO-Bereich Materialartenebene eno_scrap = 'X' " VGA /cwm/e_comp_check = 'X' IMPORTING iplaf = ls_plaf /cwm/i_mdsk = ls_/cwm/mdsk TABLES mdpmx = lt_mdpmx " View auf Matkomponenten im Pauf EXCEPTIONS error_message = 1.
/CWM/MDMM_UNIT_INFO_GET CALL FUNCTION '/CWM/MDMM_UNIT_INFO_GET' EXPORTING i_material = am61b-matnr i_unit = gs_/cwm/mdsk-stbme EXCEPTIONS unit_is_2tq_base = 1 unit_is_2tq_alternative = 1 OTHERS = 2.
MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING kzmeinh = 'X' matnr = am61b-matnr meinh = gs_/cwm/mdsk-stbme meins = am61b-meins no_output = 'X' IMPORTING umren = l_/cwm/umren umrez = l_/cwm/umrez EXCEPTIONS OTHERS = 9.
/CWM/MDMM_TOLERANCE_CHECK CALL FUNCTION '/CWM/MDMM_TOLERANCE_CHECK' EXPORTING i_material = matnr i_erfmg = menge i_erfme = meins i_erfmg_2tq = /cwm/menge i_erfme_2tq = /cwm/meins EXCEPTIONS upper_tolerance_reached = 6 lower_tolerance_reached = 7 OTHERS = 8.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.