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

/CWM/MOD_ZXLHUU58 SAP ABAP INCLUDE - /CWM/MODZXLHUU58







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

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_MATDATEN_GET CALL FUNCTION '/CWM/MDMM_MATDATEN_GET' EXPORTING i_material = lf_matnr IMPORTING e_matdaten = ls_/cwm/matdaten EXCEPTIONS material_not_found = 1 conversion_not_found = 2 base_unit_2tq_not_found = 3 OTHERS = 4.

/CWM/MDMM_UNIT_INFO_GET CALL FUNCTION '/CWM/MDMM_UNIT_INFO_GET' EXPORTING i_material = lf_matnr i_unit = rlmob-chuuom EXCEPTIONS unit_is_logistic_base = 1 unit_is_logistic_alternative = 2 unit_is_2tq_base = 3 unit_is_2tq_alternative = 4 unit_not_found = 6 OTHERS = 7.

/CWM/MDMM_UNIT_INFO_GET CALL FUNCTION '/CWM/MDMM_UNIT_INFO_GET' EXPORTING i_material = lf_matnr i_unit = rlmob-/cwm/chuuom EXCEPTIONS unit_is_logistic_base = 1 unit_is_logistic_alternative = 2 unit_is_2tq_base = 3 unit_is_2tq_alternative = 4 unit_not_found = 6 OTHERS = 7.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING input = rlmob-chuqty kzmeinh = 'X' matnr = lf_matnr meinh = rlmob-chuuom meins = ls_/cwm/matdaten-meins charge = rlmob-chubatch werks = vekp-werks IMPORTING output = lf_result EXCEPTIONS conversion_not_found = 1 input_invalid = 2 material_not_found = 3 meinh_not_found = 4 meins_missing = 5 no_meinh = 6 output_invalid = 7 overflow = 8 OTHERS = 9.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING input = rlmob-/cwm/chuqty kzmeinh = 'X' matnr = lf_matnr meinh = rlmob-/cwm/chuuom meins = ls_/cwm/matdaten-/cwm/meins charge = rlmob-chubatch werks = vekp-werks IMPORTING output = lf_cwm_result EXCEPTIONS conversion_not_found = 1 input_invalid = 2 material_not_found = 3 meinh_not_found = 4 meins_missing = 5 no_meinh = 6 output_invalid = 7 overflow = 8 OTHERS = 9.

/CWM/MDMM_TOLERANCE_CHECK CALL FUNCTION '/CWM/MDMM_TOLERANCE_CHECK' EXPORTING i_material = lf_matnr i_batch = rlmob-chubatch i_plant = vekp-werks i_erfmg = lf_result i_erfme = ls_/cwm/matdaten-meins i_erfmg_2tq = lf_cwm_result i_erfme_2tq = ls_/cwm/matdaten-/cwm/meins EXCEPTIONS material_not_found = 1 unit_not_found = 2 tolerance_group_not_found = 3 material_not_catch_weight = 4 no_tolerance_group_defined = 5 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_ZXLHUU58 or its description.