ML01AF2A 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 ML01AF2A 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_READ_DISPATCHERRULE CALL FUNCTION 'WAUF_READ_DISPATCHERRULE' EXPORTING * auft*1 / Hinweis 333617 * im_pincr = up_pincr * im_sbeln = up_sbeln * auft*1: Material mitgeben für Prefetch * im_material = up_matnr * auft*4: Listungskennzeichen mitgeben für Prefetch WLK1 * im_prefetch_wlk1 = up_listg * im_key = up_key im_pincr = up_pincr im_sbeln = up_aupo-sbeln im_material = up_aupo-matnr im_prefetch_wlk1 = up_aupo-listg im_key = up_key IMPORTING ex_svko = up_svko TABLES ex_figr = ut_aufg ex_filn = ut_aufi EXCEPTIONS ar_nicht_vorhanden = 1 ar_pos_nicht_selektierbar = 2 figr_existiert_nicht = 4.
WAUF_DETERMINE_PROCUREMENT_TYP CALL FUNCTION 'WAUF_DETERMINE_PROCUREMENT_TYP' EXPORTING IM_AUKO = xauko IM_AUPO = up_aupo IM_T621 = t621 TABLES IM_AULW = xaulw IM_EX_AUFI = ut_aufi.
NUMBER_GET_INFO * CALL FUNCTION 'NUMBER_GET_INFO' * EXPORTING * NR_RANGE_NR = T620-NUMKI * OBJECT = NUMK_OBJEKT * SUBOBJECT = T620-AUFAR * EXCEPTIONS * INTERVAL_NOT_FOUND = 01 * OBJECT_NOT_FOUND = 02.
WALL_NUMBER_GET_INFO CALL FUNCTION 'WALL_NUMBER_GET_INFO' EXPORTING im_object = numk_objekt im_range_nr = t620-numki.
NUMBER_CHECK * CALL FUNCTION 'NUMBER_CHECK' * EXPORTING * NR_RANGE_NR = T620-NUMKE * NUMBER = UP_ABELN * OBJECT = NUMK_OBJEKT * IMPORTING * RETURNCODE = RETCO * EXCEPTIONS * INTERVAL_NOT_FOUND = 01 * NUMBER_RANGE_NOT_EXTERN = 02 * OBJECT_NOT_FOUND = 03.
WAUF_DETERMINE_ALLOC_NO CALL FUNCTION 'WAUF_DETERMINE_ALLOC_NO' EXPORTING im_alloc_no = up_abeln im_alloc_header = xauko im_alloc_type = t620 IMPORTING ex_alloc_no = up_abeln.
WALL_NUMBER_CHECK CALL FUNCTION 'WALL_NUMBER_CHECK' EXPORTING im_object = numk_objekt im_range_nr = t620-numke im_number = up_abeln.
ENQUEUE_MWAUKOE CALL FUNCTION 'ENQUEUE_MWAUKOE' EXPORTING mandt = sy-mandt abeln = up_abeln x_abeln = space _scope = '3' _wait = ' ' EXCEPTIONS foreign_lock = 01 system_failure = 02.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.