SAP Reports / Programs | Recycling Administration Core Functions | Recycling Administration | Recycling Administration Core Functions(IS-REA-COR) SAP IS

MJ7LMC01 SAP ABAP INCLUDE - documentation and ABAP source code







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


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

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:

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.



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 MJ7LMC01 or its description.