SAP Reports / Programs | Logistics - General | Merchandise Distribution | Allocation(LO-MDS-AL) SAP LO

ML01AF0M SAP ABAP INCLUDE - documentation and ABAP source code







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


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

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:

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.



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