ML01AF0R 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 ML01AF0R 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.
Title: Include ML01AF0R
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_EWWAKH CALL FUNCTION 'ENQUEUE_EWWAKH' EXPORTING mandt = sy-mandt aktnr = h_ref_akt_pos-aktion x_aktnr = space _scope = '2' _wait = space EXCEPTIONS foreign_lock = 01 system_failure = 02.
PROMOTION_POS_TO_PO_READ CALL FUNCTION 'PROMOTION_POS_TO_PO_READ' EXPORTING i_aktnr = h_ref_akt_pos-aktion i_matnr = h_ref_akt_pos-material i_lief = h_ref_akt_pos-lieferant i_vzwerk = h_ref_akt_pos-vz_werk i_bstge = pi_t621-bstge IMPORTING e_mebme = h_ref_akt_pos-vk_me e_auftregel = h_ref_akt_pos-aufteilregel e_auftstrat = h_ref_akt_pos-aufteilstrat e_auftnr = h_ref_akt_pos-aufteiler_nr e_auftme = h_ref_akt_pos-auft_me e_retcode = h_ref_akt_pos-ret_code e_vzekorg = h_ref_akt_pos-vz_ekorg e_vzvkorg = h_ref_akt_pos-vz_vkorg e_vzvtweg = h_ref_akt_pos-vz_vtweg e_vzspart = h_ref_akt_pos-vz_spart TABLES e_t_filpos = pt_ref_akt_btr EXCEPTIONS error = 1 OTHERS = 2.
WAUF_READ_DISPATCHERRULE CALL FUNCTION 'WAUF_READ_DISPATCHERRULE' EXPORTING im_key = h_auft_key im_pincr = 10 im_sbeln = h_ref_akt_pos-aufteilregel * auft*1: Material mitgeben für Prefetch im_material = h_ref_akt_pos-material * auft*4: Aktionslistung vorher, daher kein prefetch auf WLk1 noetig im_prefetch_wlk1 = space IMPORTING ex_svko = po_svko TABLES ex_figr = pt_ar_aufg ex_filn = pt_ar_aufi EXCEPTIONS ar_nicht_vorhanden = 1 ar_pos_nicht_selektierbar = 2 * clint_convert_error = 3 figr_existiert_nicht = 4.
WF04_CHECK_ARTICLE_VC_RULE CALL FUNCTION 'WF04_CHECK_ARTICLE_VC_RULE' EXPORTING i_matnr = h_ref_akt_pos-material i_matkl = pi_matkl i_sbeln = h_ref_akt_pos-aufteilregel i_svko = po_svko * I_EKORG = * I_EKGRP = * I_WITH_EKORG_CHECK = * IMPORTING * CHECK_RESULT =.
POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING defaultoption = '1' diagnosetext1 = atxt-diagnose1 diagnosetext2 = atxt-diagnose2 textline1 = atxt-textline1 textline2 = atxt-textline2 textline3 = atxt-textline3 text_option1 = atxt-varoption1 text_option2 = atxt-varoption2 titel = atxt-titel cancel_display = ' ' IMPORTING answer = h_antwort.
WAUF_T627_LESEN CALL FUNCTION 'WAUF_T627_LESEN' EXPORTING im_astra = h_ref_akt_pos-aufteilstrat IMPORTING ex_t627 = po_t627 EXCEPTIONS no_record_found = 01.
WALL_QUANTITY_CONVERT_UNIT_RND CALL FUNCTION 'WALL_QUANTITY_CONVERT_UNIT_RND' EXPORTING fbi_material = h_ref_akt_pos-material fbi_base_unit = pi_ref_basis_me fbi_source_quantity = pi_ref_bel_menge fbi_source_unit = pi_ref_bel_me fbi_destination_unit = po_auft_me * FBI_ROUND_SIGN_1 = 'X' * FBI_ROUND_SIGN_2 = 'X' * FBI_ROUND_SIGN_3 = 'X' IMPORTING fbo_destination_quantity = po_auft_menge fbo_source_quantity_new = h_menge.
WAVI_READ_TABLE_AVIS_TYPE CALL FUNCTION 'WAVI_READ_TABLE_AVIS_TYPE' EXPORTING fbi_avis_type = pt_ref_akt_btr-avistyp IMPORTING fbe_avis_type_data = h_t626 EXCEPTIONS fba_error_read_avis_type = 1 fba_avis_type_invalid = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.