ML01AF0M 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 ML01AF0M 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!
ROUND * call function 'ROUND' * exporting * decimals = '-0' * input = up_menge * sign = rundung * importing * output = up_menge * exceptions * input_invalid = 1 * overflow = 2 * type_invalid = 3.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = pc_menge no_type_check = 'X' round_sign = h_rundungs_kezi unit_in = pi_me unit_out = pi_me IMPORTING * ADD_CONST = * DECIMALS = * DENOMINATOR = * NUMERATOR = output = pc_menge 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.
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = p_matnr * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' IMPORTING wmara = mara_struc EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.
TVMS_SINGLE_READ CALL FUNCTION 'TVMS_SINGLE_READ' EXPORTING * KZRFB = ' ' tvms_vmsta = mara_struc-mstav IMPORTING wtvms = tvms_struc EXCEPTIONS not_found = 1 OTHERS = 2.
MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = im_matnr * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' IMPORTING wmara = mara_struc EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.
TVMS_SINGLE_READ CALL FUNCTION 'TVMS_SINGLE_READ' EXPORTING * KZRFB = ' ' tvms_vmsta = mara_struc-mstav IMPORTING wtvms = ex_tvms EXCEPTIONS not_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.