ML01AF2P 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 ML01AF2P 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!
WAUF_DETERMINE_QUANTITIES CALL FUNCTION 'WAUF_DETERMINE_QUANTITIES' EXPORTING im_quantity_to_split = up_simulations_menge im_alloc_tbl = up_abeln im_alloc_tbl_item = up_abelp im_material = up_matnr im_base_unit = up_meins im_item_category = up_apstp im_quantity_simulation = up_simam im_rounding = up_rundg im_split_remainder = up_restv im_min_max_qty = up_bermima im_contract_no = up_rfktn "auft*5 / 99A IMPORTING ex_quantity_splitted = h_verteilte_menge TABLES im_ex_stores = ut_xaufi im_ex_store_groups = ut_xaufg * auft*1/Rel.99: falsche ME in Lieferung (Bestellmengenoptimierung)
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.