ML01AF3B 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 ML01AF3B 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_T621_LESEN CALL FUNCTION 'WAUF_T621_LESEN' EXPORTING im_apstp = xaupo-apstp IMPORTING ex_t621 = t621.
WAUF_T001W_LESEN * CALL FUNCTION 'WAUF_T001W_LESEN' * EXPORTING * im_werks = xaupo-vzwrk * IMPORTING * ex_t001w = t001w * EXCEPTIONS * no_valid_input = 01 * no_record_found = 02.
WAUF_SEASONAL_SCHED_SITE_DARK CALL FUNCTION 'WAUF_SEASONAL_SCHED_SITE_DARK' EXPORTING is_t621 = t621 im_matnr = xaupo-matnr im_uptyp = l_uptyp im_satnr = l_satnr is_auko = xauko is_aufi = xaufi IMPORTING et_messg = lt_messg CHANGING ch_aulw = xaulw .
WAUF_DETERMINE_GENERATION_DATE CALL FUNCTION 'WAUF_DETERMINE_GENERATION_DATE' EXPORTING fbi_material = xaupo-matnr fbi_fiwrk = xaufi-fiwrk fbi_filnr = xaufi-filnr fbi_vzwrk = xaufi-vzwrk fbi_plifz = xaufi-plifz fbi_webaz = xaufi-webaz fbi_wedat = xaulw-wedat fbi_header_po_gen_date = xauko-fbdat fbi_header_wo_gen_date = xauko-fudat fbi_header_dl_gen_date = xauko-fldat fbi_t621 = t621 IMPORTING fbo_po_gen_date = xaulw-bedat fbo_wo_gen_date = xaulw-umdat fbo_dl_gen_date = xaulw-ledat fbo_wedat_neu = xaulw-wedtb.
WAUF_QUANTITY_FROM_PERCENTAGE CALL FUNCTION 'WAUF_QUANTITY_FROM_PERCENTAGE' EXPORTING fbi_material = xaupo-matnr fbi_base_unit = xaupo-meins fbi_quantity = xaufi-pmngu fbi_alloc_unit = xaufi-aufme fbi_order_quantity = xaufi-bstmg fbi_order_unit = xaufi-bstme fbi_quantity_remainder = h_restmenge_p fbi_order_quantity_remainder = h_restmenge_o fbi_percentage_remainder = h_rest_prozent IMPORTING fbo_quantity_delivery_ph = xaulw-menge fbo_order_quantity_delivery_ph = xaulw-bstmg CHANGING fbc_percentage = xaulw-weprz.
WAUF_SEASONAL_SCHED_SITE_DARK CALL FUNCTION 'WAUF_SEASONAL_SCHED_SITE_DARK' EXPORTING is_t621 = t621 im_matnr = xaupo-matnr im_uptyp = l_uptyp im_satnr = l_satnr is_auko = xauko is_aufi = xaufi IMPORTING et_messg = lt_messg CHANGING ch_aulw = xaulw .
WAUF_DETERMINE_GENERATION_DATE CALL FUNCTION 'WAUF_DETERMINE_GENERATION_DATE' EXPORTING fbi_material = xaupo-matnr fbi_fiwrk = xaufi-fiwrk fbi_filnr = xaufi-filnr fbi_vzwrk = xaufi-vzwrk fbi_plifz = xaufi-plifz fbi_webaz = xaufi-webaz fbi_wedat = xaulw-wedat fbi_header_po_gen_date = xauko-fbdat fbi_header_wo_gen_date = xauko-fudat fbi_header_dl_gen_date = xauko-fldat fbi_t621 = t621 IMPORTING fbo_po_gen_date = xaulw-bedat fbo_wo_gen_date = xaulw-umdat fbo_dl_gen_date = xaulw-ledat fbo_wedat_neu = xaulw-wedtb.
WAUF_SEASONAL_SCHED_DC_DARK CALL FUNCTION 'WAUF_SEASONAL_SCHED_DC_DARK' EXPORTING is_t621 = t621 im_matnr = xaupo-matnr im_uptyp = l_uptyp im_satnr = l_satnr is_auko = xauko is_auvz = xauvz * IT_AUVW = IMPORTING et_messg = lt_messg CHANGING ch_auvw = xauvw.
WAUF_DETERMINE_GENERAT_DATE_DC CALL FUNCTION 'WAUF_DETERMINE_GENERAT_DATE_DC' EXPORTING * FBI_CALLED_BY_ALLOC_GENERATION = ' ' fbi_material = xaupo-matnr fbi_vzwrk = xauvz-vzwrk * FBI_FABKL = fbi_plifz = xauvz-plifz fbi_webaz = xauvz-webaz fbi_wedat = xauvw-wevdt fbi_header_po_gen_date = xauko-fbdat * FBI_DC_DP_PO_GEN_DATE = fbi_t621 = t621 fbi_no_message = kreuz IMPORTING fbo_po_gen_date = xauvw-bedat fbo_wedat_neu = xauvw-wedtb EXCEPTIONS determination_gen_date_failed = 1 OTHERS = 2.
WAUF_SCHEDULE_GENERATION_DATE * CALL FUNCTION 'WAUF_SCHEDULE_GENERATION_DATE' * EXPORTING * im_trmar = trmar-bedat * im_werks = xauvz-vzwrk * im_wedat = xauvw-wevdt * im_plifz = xauvz-plifz * im_webaz = xauvz-webaz * CHANGING * ex_bedat = xauvw-bedat * ex_wedat = xauvw-wedtb * EXCEPTIONS * importparameter_unvollstaendig = 1 * betriebskalender_nicht_lesbar = 2 * terminierungsart_falsch = 3 * OTHERS = 4.
WAUF_SEASONAL_SCHED_DC_DARK CALL FUNCTION 'WAUF_SEASONAL_SCHED_DC_DARK' EXPORTING is_t621 = t621 im_matnr = xaupo-matnr im_uptyp = l_uptyp im_satnr = l_satnr is_auko = xauko is_auvz = xauvz * IT_AUVW = IMPORTING et_messg = lt_messg CHANGING ch_auvw = xauvw.
WAUF_DETERMINE_GENERAT_DATE_DC CALL FUNCTION 'WAUF_DETERMINE_GENERAT_DATE_DC' EXPORTING * FBI_CALLED_BY_ALLOC_GENERATION = ' ' fbi_material = xaupo-matnr fbi_vzwrk = xauvz-vzwrk * FBI_FABKL = fbi_plifz = xauvz-plifz fbi_webaz = xauvz-webaz fbi_wedat = xauvw-wevdt fbi_header_po_gen_date = xauko-fbdat * FBI_DC_DP_PO_GEN_DATE = fbi_t621 = t621 fbi_no_message = kreuz IMPORTING fbo_po_gen_date = xauvw-bedat fbo_wedat_neu = xauvw-wedtb EXCEPTIONS determination_gen_date_failed = 1 OTHERS = 2.
WAUF_QUANTITY_FROM_PERCENTAGE CALL FUNCTION 'WAUF_QUANTITY_FROM_PERCENTAGE' EXPORTING fbi_material = xaupo-matnr fbi_base_unit = xaupo-meins fbi_quantity = xaufi-wmnge fbi_alloc_unit = xaufi-aufme fbi_order_quantity = xaufi-bstmg fbi_order_unit = xaufi-bstme fbi_quantity_remainder = h_restmenge_w fbi_order_quantity_remainder = h_restmenge_o fbi_percentage_remainder = h_rest_prozent fbi_no_order_optimization = kreuz IMPORTING fbo_quantity_delivery_ph = xaulw-wmnge fbo_order_quantity_delivery_ph = h_bestellmenge CHANGING fbc_percentage = h_prozent.
WAUF_QUANTITY_FROM_PERCENTAGE * call function 'WAUF_QUANTITY_FROM_PERCENTAGE' * exporting * fbi_material = xaupo-matnr * fbi_base_unit = xaupo-meins * fbi_quantity = xaufi-imngu * fbi_alloc_unit = xaufi-aufme * fbi_order_quantity = xaufi-bstmg * fbi_order_unit = xaufi-bstme * fbi_quantity_remainder = h_restmenge_b * fbi_order_quantity_remainder * = h_restmenge_bestellung * fbi_percentage_remainder = h_rest_prozent * importing * fbo_quantity_delivery_ph = xaulw-imngl * fbo_order_quantity_delivery_ph = h_bestellmenge * changing * fbc_percentage = h_prozent.
WAUF_QUANTITY_FROM_PERCENTAGE CALL FUNCTION 'WAUF_QUANTITY_FROM_PERCENTAGE' EXPORTING fbi_material = xaupo-matnr fbi_base_unit = xaupo-meins fbi_quantity = xaufi-imngu fbi_alloc_unit = xaufi-aufme fbi_order_quantity = xaufi-bstmg fbi_order_unit = xaufi-bstme fbi_quantity_remainder = h_restmenge_b fbi_order_quantity_remainder = h_restmenge_o * auft*5/note 675952 * fbi_percentage_remainder = h_rest_prozent fbi_percentage_remainder = h_rest_prozent_w fbi_percentage_decimals_5 = h_prozent_dec_5 IMPORTING fbo_quantity_delivery_ph = xaulw-imngl fbo_order_quantity_delivery_ph = h_bestellmenge CHANGING fbc_percentage = h_prozent.
WAUF_QUANTITY_FROM_PERCENTAGE CALL FUNCTION 'WAUF_QUANTITY_FROM_PERCENTAGE' EXPORTING fbi_material = xaupo-matnr fbi_base_unit = xaupo-meins fbi_quantity = xaufi-imngu fbi_alloc_unit = xaufi-aufme fbi_order_quantity = xaufi-bstmg fbi_order_unit = xaufi-bstme fbi_quantity_remainder = h_restmenge_b fbi_order_quantity_remainder = h_restmenge_o fbi_percentage_remainder = h_rest_prozent IMPORTING fbo_quantity_delivery_ph = xaulw-imngl fbo_order_quantity_delivery_ph = h_bestellmenge CHANGING fbc_percentage = h_prozent.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.