SAP Reports / Programs | Industry Solution Catch Weight Management | Industry Solution Catch Weight Management(IS-CWM) SAP IS

/CWM/MOD_LBARMF01 SAP ABAP INCLUDE - /CWM/MODLBARMF01







/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


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

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:

/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.



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 /CWM/MOD_LBARMF01 or its description.