ML01AFRK 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 ML01AFRK 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_T621_LESEN CALL FUNCTION 'WAUF_T621_LESEN' EXPORTING im_apstp = vaupo-apstp IMPORTING ex_t621 = t621 ex_t621t = t621t EXCEPTIONS no_record_found = 1 OTHERS = 2.
MATERIAL_READ_CLASSIFIC_RT CALL FUNCTION 'MATERIAL_READ_CLASSIFIC_RT' EXPORTING p_matnr = ekpo-matnr * kz_mara_read = 'X' * P_MARA = * kz_makt_read = 'X' * KZRFB = ' ' * MAXTZ = 0 * SPERRMODUS = ' ' IMPORTING p_class = h_p_class p_mara = h_p_mara p_makt = h_p_makt TABLES exp_var_tab = ht_var_tab * EXP_CHAR = * EXP_VALU = exp_char_vari = ht_char_vari exp_valu_vari = ht_valu_vari * EXP_VALU_ASSIGNED = EXCEPTIONS wrong_call = 1 mara_not_exist = 2 no_class = 3 no_char = 4 no_valu_vari = 5 OTHERS = 6.
WALL_MERCHANDISE_CAT_FROM_MCHL CALL FUNCTION 'WALL_MERCHANDISE_CAT_FROM_MCHL' EXPORTING fbi_class_no = klah-class TABLES fbt_merch_cat = it_matkl.
WALL_TC_RESET CALL FUNCTION 'WALL_TC_RESET' EXPORTING fbi_tc_lines = tc_0205_anz_lines_refekpo CHANGING fbc_tc_lines = tc_0205-lines fbc_tc_top_line = tc_0205-top_line.
WAUF_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = it_refekpo-werks IMPORTING ex_t001w = h_t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2.
WMOD_GENERIC_ARTICLE_ADAPTION CALL FUNCTION 'WMOD_GENERIC_ARTICLE_ADAPTION' EXPORTING generic_article_abelp = xaupo-abelp TABLES im_ex_aupo = xaupo im_ex_aufg = xaufg im_ex_aufi = xaufi im_ex_auvz = xauvz.
WALL_TC_RESET CALL FUNCTION 'WALL_TC_RESET' EXPORTING fbi_tc_lines = tc_0122_anz_lines_aupo CHANGING fbc_tc_lines = tc_0122-lines fbc_tc_top_line = tc_0122-top_line.
WAUF_DETERMINE_QUANTITY_DC CALL FUNCTION 'WAUF_DETERMINE_QUANTITY_DC' EXPORTING im_material = up_aupo-matnr im_item_category = up_aupo-apstp im_rounding = up_aupo-rundg im_contract_no = up_aupo-rfktn im_base_unit = up_aupo-meins * auft*1/Rel.99: Reduzierte Bestellmenge
WAUF_DETERMINE_QUANTITY_DC CALL FUNCTION 'WAUF_DETERMINE_QUANTITY_DC' EXPORTING im_material = up_aupo-matnr im_item_category = up_aupo-apstp im_rounding = up_aupo-rundg im_contract_no = up_aupo-rfktn im_base_unit = up_aupo-meins * auft*1/Rel.99: Reduzierte Bestellmenge
WAUF_PROCESS_TYPE_DC_DETERMINE CALL FUNCTION 'WAUF_PROCESS_TYPE_DC_DETERMINE' EXPORTING fbi_t621 = up_t621 fbi_plant = up_auvz-vzwrk fbi_material = up_aupo-matnr fbi_art_type = up_aupo-attyp fbi_vendor = up_auvz-lifnr fbi_item_no = up_auvz-abelp * FBI_DISPLAY_INFO_MSG = ' ' IMPORTING fbo_process_type = up_auvz-waflu_vz.
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING matdaten = mt06e return = mtcor TABLES seqmat01 = tdummy EXCEPTIONS lock_on_material = 5 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 = l_werks IMPORTING EX_MARC = l_ref_marc .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.