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

ML01AFKD6 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

WAUF_DETERMINE_DELIVERY_PHASE CALL FUNCTION 'WAUF_DETERMINE_DELIVERY_PHASE' EXPORTING fbi_t621 = up_t621 fbi_auko = up_auko fbi_aupo = up_aupo fbi_del_phase_for_item = kreuz TABLES fbt_aufi = ut_aufi fbt_aulw_default = xaulw fbt_aulw_current = ut_aulw_fil EXCEPTIONS fbe_no_default_date_available = 1 OTHERS = 2.

WAUF_DETERMINE_DELIVERY_PHASE CALL FUNCTION 'WAUF_DETERMINE_DELIVERY_PHASE' EXPORTING fbi_t621 = up_t621 fbi_auko = up_auko fbi_aupo = up_aupo fbi_del_phase_for_item = space TABLES fbt_aufi = ut_aufi fbt_aulw_default = xaulw fbt_aulw_current = ht_aulw EXCEPTIONS fbe_no_default_date_available = 1 OTHERS = 2.

WAUF_DETERMINE_DELIVERY_PHASE CALL FUNCTION 'WAUF_DETERMINE_DELIVERY_PHASE' EXPORTING fbi_t621 = up_t621 fbi_auko = up_auko fbi_aupo = up_aupo fbi_del_phase_for_item = space TABLES fbt_aufi = ht_aufi fbt_aulw_default = xaulw fbt_aulw_current = ht_aulw EXCEPTIONS fbe_no_default_date_available = 1 OTHERS = 2.

WAUF_T621_LESEN CALL FUNCTION 'WAUF_T621_LESEN' EXPORTING im_apstp = up_aupo-apstp IMPORTING ex_t621 = l_t621 * EX_T621T = EXCEPTIONS no_record_found = 1 db_error = 2 OTHERS = 3.

WAVI_READ_TABLE_AVIS_TYPE CALL FUNCTION 'WAVI_READ_TABLE_AVIS_TYPE' EXPORTING fbi_avis_type = ut_aufi-aavit * FBI_READ_AVIS_TYPE_TEXT = ' ' IMPORTING fbe_avis_type_data = l_t626 * FBE_AVIS_TYPE_TEXT = EXCEPTIONS fba_error_read_avis_type = 1 fba_avis_type_invalid = 2 OTHERS = 3.

WAUF_SEASONAL_SCHED_SITE_DARK CALL FUNCTION 'WAUF_SEASONAL_SCHED_SITE_DARK' EXPORTING is_t621 = l_t621 im_matnr = up_aupo-matnr is_auko = xauko is_aufi = ut_aufi IMPORTING et_messg = lt_messg CHANGING ch_aulw = xaulw .

WAUF_DETERMINE_GENERATION_DATE CALL FUNCTION 'WAUF_DETERMINE_GENERATION_DATE' EXPORTING fbi_material = up_aupo-matnr fbi_fiwrk = ut_aufi-fiwrk fbi_filnr = ut_aufi-filnr fbi_vzwrk = ut_aufi-vzwrk fbi_plifz = ut_aufi-plifz fbi_webaz = ut_aufi-webaz fbi_wedat = ut_aulw_fil-wedat fbi_header_po_gen_date = up_auko-fbdat fbi_header_wo_gen_date = up_auko-fudat fbi_header_dl_gen_date = up_auko-fldat fbi_t621 = l_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 = up_aupo-matnr fbi_base_unit = up_aupo-meins fbi_quantity = ut_aufi-pmngu fbi_alloc_unit = ut_aufi-aufme fbi_order_quantity = ut_aufi-bstmg fbi_order_unit = ut_aufi-bstme fbi_quantity_remainder = l_restmenge_p fbi_order_quantity_remainder = l_restmenge_o fbi_percentage_remainder = l_rest_prozent IMPORTING fbo_quantity_delivery_ph = xaulw-menge fbo_order_quantity_delivery_ph = xaulw-bstmg CHANGING fbc_percentage = xaulw-weprz.

WAUF_QUANTITY_FROM_PERCENTAGE CALL FUNCTION 'WAUF_QUANTITY_FROM_PERCENTAGE' EXPORTING fbi_material = up_aupo-matnr fbi_base_unit = up_aupo-meins fbi_quantity = ut_aufi-imngu fbi_alloc_unit = ut_aufi-aufme fbi_order_quantity = ut_aufi-bstmg fbi_order_unit = ut_aufi-bstme fbi_quantity_remainder = l_restmenge_b fbi_order_quantity_remainder = l_restmenge_o fbi_percentage_remainder = l_rest_prozent IMPORTING fbo_quantity_delivery_ph = xaulw-imngl fbo_order_quantity_delivery_ph = xaulw-bstmg CHANGING fbc_percentage = h_prozent.

WAUF_QUANTITY_FROM_PERCENTAGE CALL FUNCTION 'WAUF_QUANTITY_FROM_PERCENTAGE' EXPORTING fbi_material = up_aupo-matnr fbi_base_unit = up_aupo-meins fbi_quantity = ut_aufi-wmnge fbi_alloc_unit = ut_aufi-aufme fbi_order_quantity = ut_aufi-bstmg fbi_order_unit = ut_aufi-bstme fbi_quantity_remainder = l_restmenge_w fbi_order_quantity_remainder = l_restmenge_o fbi_percentage_remainder = l_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_w.

WAUF_DETERMINE_DELIV_PHASE_DC CALL FUNCTION 'WAUF_DETERMINE_DELIV_PHASE_DC' EXPORTING fbi_t621 = up_t621 fbi_auko = up_auko fbi_aupo = up_aupo fbi_auvz = up_auvz TABLES fbt_auvw_default = ut_auvw_ges fbt_auvw_current = lt_auvw_vz EXCEPTIONS fbe_no_default_date_available = 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 ML01AFKD6 or its description.