SAP Reports / Programs | Logistics - General | Merchandise Distribution | Allocation(LO-MDS-AL) SAP LO

ML01AFRK SAP ABAP INCLUDE - documentation and ABAP source code







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT ML01AFRK. "Basic submit
SUBMIT ML01AFRK AND RETURN. "Return to original report after report execution complete
SUBMIT ML01AFRK VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT ML01AFRK

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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 .



Contribute (Add Comments)

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 ML01AFRK or its description.