/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
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_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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.