MJ7LMC01 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 MJ7LMC01 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!
J_7L_READ_PACK CALL FUNCTION 'J_7L_READ_PACK' EXPORTING i_vrpnr =
-vrpnr i_variante = -vvariante i_datab = i_date * I_DATBI = I_DATBI i_flg_buffer_on = 'X' * I_FLG_ENQUE_PACK = ' ' TABLES o_v01 = tmp_v01 * O_V01T = O_V01T o_v02 = tmp_v02 * O_V03 = O_V03 * O_V08 = O_V08 * O_M11 = O_M11 o_mm_client_data = mm_client_data * o_mm_unitsofmeasure = mm_unitsofmeasure return = return EXCEPTIONS read_error = 1 OTHERS = 2.
MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING * INPUT = 0 * KZMEINH = ' ' matnr =
-vrpnr meinh = -meins meins = wa_client-base_uom * EXTENDED_CONV = ' ' * TYPE_UMR = ' ' no_output = 'X' * CHARGE = CHARGE * CHARG_CUOBJ = CHARG_CUOBJ * WERKS = WERKS IMPORTING * ADDKO = ADDKO * MEINS = MEINS * OUTPUT = OUTPUT umren = numerator umrez = denominator * BATCH_CONVERSION_ERROR = BATCH_CONVERSION_ERROR * KZWSO = KZWSO 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.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input =
-stgew * NO_TYPE_CHECK = 'X' * ROUND_SIGN = ' ' unit_in = -gewei unit_out = -gewei IMPORTING * ADD_CONST = ADD_CONST * DECIMALS = DECIMALS * DENOMINATOR = DENOMINATOR * NUMERATOR = NUMERATOR output = wa_fraction-stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.
J_7L_READ_PACK CALL FUNCTION 'J_7L_READ_PACK' EXPORTING i_vrpnr =
-vrpnr i_variante = -vvariante * i_datab = -datab * i_datbi = -datbi i_flg_buffer_on = 'X' * I_FLG_ENQUE_PACK = ' ' TABLES * o_v01 = tmp_v01 * O_V01T = O_V01T o_v02 = tmp_v02 * O_V03 = O_V03 * O_V08 = O_V08 * O_M11 = O_M11 * o_mm_client_data = mm_client_data * o_mm_unitsofmeasure = mm_unitsofmeasure return = return EXCEPTIONS read_error = 1 OTHERS = 2.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input =
-stgew unit_in = -gewei unit_out = wa_fraction_versions-gewei IMPORTING output = -stgew EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.