ML01AF5H 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 ML01AF5H 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!
WALL_TC_RESET CALL FUNCTION 'WALL_TC_RESET' EXPORTING fbi_tc_lines = tc_1101_anz_lines_aulw CHANGING fbc_tc_lines = tc_1101-lines fbc_tc_top_line = tc_1101-top_line.
WAUF_T621_LESEN CALL FUNCTION 'WAUF_T621_LESEN' EXPORTING im_apstp = up_aupo-apstp IMPORTING ex_t621 = t621.
WAUF_KNA1_READ CALL FUNCTION 'WAUF_KNA1_READ' EXPORTING im_kunnr = ut_aufi-filnr IMPORTING ex_kna1 = kna1 EXCEPTIONS no_kunnr = 01 no_record_found = 02.
ASSORTMENT_ISSUING_SELECT * call function 'ASSORTMENT_ISSUING_SELECT' * exporting * item = up_aupo-matnr * shop = ut_aufi-filnr * date = sy-datum * tables * issuing_plants = v_werk * exceptions * no_issuing_plant = 4.
WAUF_T001W_LESEN * call function 'WAUF_T001W_LESEN' * exporting * im_werks = ut_aufi-vzwrk * importing * ex_t001w = t001w * exceptions * no_valid_input = 01 * no_record_found = 02.
WAUF_KNA1_READ * call function 'WAUF_KNA1_READ' * exporting * im_kunnr = ut_aufi-vzent * importing * ex_kna1 = kna1 * exceptions * no_kunnr = 01 * no_record_found = 02.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mt06e return = mtcor TABLES seqmat01 = tdummy EXCEPTIONS lock_on_material = 05 material_not_found = 11 plant_not_found = 12.
WALL_DETERMINE_REF_MARC CALL FUNCTION 'WALL_DETERMINE_REF_MARC' EXPORTING im_matnr = up_aupo-matnr im_wrk = ut_aufi-fiwrk IMPORTING EX_MARC = l_ref_marc .
WAUF_DETERMINE_STORAGE_LOC CALL FUNCTION 'WAUF_DETERMINE_STORAGE_LOC' EXPORTING im_plant = ut_aufi-fiwrk im_promotion = up_aupo-aktnr im_material = up_aupo-matnr IMPORTING ex_storage_loc = ut_aufi-lgort EXCEPTIONS no_storage_loc_found = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.