ML01AFKD1 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 ML01AFKD1 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!
READ_G_DETERMINE_SORT CALL FUNCTION 'READ_G_DETERMINE_SORT' IMPORTING E_G_DETERMINE_SORT = l_global_sort.
WAUF_T621_LESEN CALL FUNCTION 'WAUF_T621_LESEN' EXPORTING im_apstp = pi_aupo-apstp IMPORTING ex_t621 = pi_t621 EXCEPTIONS no_record_found = 1 db_error = 2 OTHERS = 3.
WEMF_EMFIN_LESEN CALL FUNCTION 'WEMF_EMFIN_LESEN' EXPORTING im_nremfin = pi_aupo-nremfin IMPORTING ex_emfin = hs_emfin ex_emfint = hs_emfint EXCEPTIONS no_record_found = 1 number_is_initial = 2 OTHERS = 3.
WAUF_DETERMINE_PROCUREMENT_TYP CALL FUNCTION 'WAUF_DETERMINE_PROCUREMENT_TYP' EXPORTING im_auko = pi_auko im_aupo = pi_aupo im_t621 = pi_t621 IMPORTING ex_es_gibt_betrieb_mit_ka = l_es_gibt_betrieb_mit_ka TABLES im_aulw = xaulw im_ex_aufi = pt_aufi.
WLK1_READ_INTO_BUFFER * CALL FUNCTION 'WLK1_READ_INTO_BUFFER' * EXPORTING * sortierung = '4' * TABLES * t_wlk1 = ht_wlk1_prefetch.
WLK1_READ_INTO_BUFFER CALL FUNCTION 'WLK1_READ_INTO_BUFFER' EXPORTING sortierung = '4' TABLES t_wlk1 = ht_wlk1_prefetch.
WLK1_READ_INTO_BUFFER CALL FUNCTION 'WLK1_READ_INTO_BUFFER' EXPORTING SORTIERUNG = '2' TABLES t_mara = lt_mara.
WAUF_PREFETCH_KNA1 * CALL FUNCTION 'WAUF_PREFETCH_KNA1' * TABLES * im_aufi = ht_kna1_prefetch * EXCEPTIONS * no_record_found = 1 * not_all_records_found = 2 * OTHERS = 3.
LOCATION_PREFETCH_WRF1 CALL FUNCTION 'LOCATION_PREFETCH_WRF1' TABLES i_kunnr = ht_wrf1_prefetch EXCEPTIONS no_entries_found = 1 OTHERS = 2.
MATERIAL_PRE_READ_RCFMW CALL FUNCTION 'MATERIAL_PRE_READ_RCFMW' EXPORTING kzrfb = ' ' TABLES rcfmw_keytab = ht_marc_prefetch.
VENDOR_MASTER_DATA_SELECT_00 CALL FUNCTION 'VENDOR_MASTER_DATA_SELECT_00' EXPORTING i_lfa1_lifnr = in_rat_ship_to_party-vendor EXCEPTIONS vendor_not_found = 1 internal_error = 2 OTHERS = 3.
WAUF_KNA1_READ CALL FUNCTION 'WAUF_KNA1_READ' EXPORTING im_kunnr = p_kunnr IMPORTING ex_kna1 = pt_kna1 EXCEPTIONS no_kunnr = 1 no_record_found = 2 OTHERS = 3.
WAUF_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = p_kna1_werks IMPORTING ex_t001w = ps_t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2 OTHERS = 3.
WAUF_T024E_LESEN CALL FUNCTION 'WAUF_T024E_LESEN' EXPORTING im_ekorg = p_rat_ship_to_party-purchasing_org EXCEPTIONS no_record_found = 1 no_valid_input = 2 OTHERS = 3.
WAUF_T024_LESEN CALL FUNCTION 'WAUF_T024_LESEN' EXPORTING im_ekgrp = p_rat_ship_to_party-purchasing_grp EXCEPTIONS no_record_found = 1 OTHERS = 2.
KNVV_SINGLE_READ CALL FUNCTION 'KNVV_SINGLE_READ' EXPORTING i_kunnr = p_rat_ship_to_party-customer i_vkorg = p_rat_ship_to_party-sales_org i_vtweg = p_rat_ship_to_party-distrib_channel i_spart = p_rat_ship_to_party-division EXCEPTIONS not_found = 1 parameter_error = 2 OTHERS = 3.
WALL_COLLECT_AND_DISPLAY_PROT CALL FUNCTION 'WALL_COLLECT_AND_DISPLAY_PROT' EXPORTING fbi_name = j fbi_msg_id = prot-msgcl fbi_msg_no = '494' TABLES fbt_msg_tab = gt_messg.
POPUP_TO_DECIDE_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_DECIDE_WITH_MESSAGE' EXPORTING defaultoption = '2' diagnosetext1 = atxt-diagnose1 diagnosetext2 = atxt-diagnose2 diagnosetext3 = atxt-diagnose3 textline1 = atxt-textline1 textline2 = atxt-textline2 * textline3 = text_option1 = atxt-varoption1 text_option2 = atxt-varoption2 titel = atxt-titel cancel_display = space IMPORTING answer = up_antwort.
CALL FUNCTION 'WAUF_T024W_LESEN' EXPORTING im_werks = upi_werk im_ekorg = upi_ekorg IMPORTING ex_t024w = t024w EXCEPTIONS no_record_found = 01.
WAUF_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = upi_werk IMPORTING ex_t001w = t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2.
WAUF_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = upi_werk IMPORTING ex_t001w = t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2.
WAUF_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = upi_werk IMPORTING ex_t001w = t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2.
WAUF_T001K_LESEN CALL FUNCTION 'WAUF_T001K_LESEN' EXPORTING im_bwkey = h_bwkey IMPORTING ex_t001k = t001k EXCEPTIONS no_valid_input = 1 no_record_found = 2.
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 ML01AFKD1 or its description.