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

ML01AI0W SAP ABAP INCLUDE - Save Shipment Costs







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

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_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = haufi-fiwrk IMPORTING ex_t001w = t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2.

WAUF_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = hauvz-vzwrk IMPORTING ex_t001w = t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2.

WAUF_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = hauvz-vzwrk IMPORTING ex_t001w = t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2.

WAUF_SCHEDULE_GENERATION_DATE * CALL FUNCTION 'WAUF_SCHEDULE_GENERATION_DATE' * EXPORTING * IM_TRMAR = TRMAR-BEDAT * IM_WERKS = HAUVZ-VZWRK ** IM_FABKL = * IM_WEDAT = RW13A-WEVDT * IM_PLIFZ = HAUVZ-PLIFZ * IM_WEBAZ = HAUVZ-WEBAZ * CHANGING * EX_BEDAT = RW13A-BEDAT * EX_LEDAT = * EX_UMDAT = * EX_WEDAT = RW13A-WEDTB * EXCEPTIONS * IMPORTPARAMETER_UNVOLLSTAENDIG = 1 * BETRIEBSKALENDER_NICHT_LESBAR = 2 * TERMINIERUNGSART_FALSCH = 3 * OTHERS = 4.

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

WAUF_SEASONAL_SCHED_DC_DARK CALL FUNCTION 'WAUF_SEASONAL_SCHED_DC_DARK' EXPORTING is_t621 = t621 im_matnr = haupo-matnr im_simulate = kreuz im_uptyp = g_uptyp im_satnr = g_satnr is_auko = xauko is_auvz = hauvz IMPORTING et_messg = gt_messg_ssc_tmp CHANGING ch_auvw = g_auvw.

WAUF_SEASONAL_SCHED_DC_DARK CALL FUNCTION 'WAUF_SEASONAL_SCHED_DC_DARK' EXPORTING is_t621 = t621 im_matnr = haupo-matnr im_uptyp = g_uptyp im_satnr = g_satnr is_auko = xauko is_auvz = hauvz IMPORTING et_messg = gt_messg_ssc_tmp CHANGING ch_auvw = g_auvw.

WAUF_DETERMINE_GENERAT_DATE_DC CALL FUNCTION 'WAUF_DETERMINE_GENERAT_DATE_DC' EXPORTING * FBI_CALLED_BY_ALLOC_GENERATION = ' ' fbi_material = haupo-matnr fbi_vzwrk = hauvz-vzwrk fbi_fabkl = t001w-fabkl fbi_plifz = hauvz-plifz fbi_webaz = hauvz-webaz fbi_wedat = rw13a-wevdt fbi_header_po_gen_date = xauko-fbdat * FBI_DC_DP_PO_GEN_DATE = fbi_t621 = t621 * FBI_NO_MESSAGE = ' ' IMPORTING fbo_po_gen_date = rw13a-bedat fbo_wedat_neu = rw13a-wedtb EXCEPTIONS determination_gen_date_failed = 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 ML01AI0W or its description.