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

ML01AFKD0 SAP ABAP INCLUDE - documentation and ABAP source code







ML01AFKD0 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 ML01AFKD0 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 ML01AFKD0. "Basic submit
SUBMIT ML01AFKD0 AND RETURN. "Return to original report after report execution complete
SUBMIT ML01AFKD0 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 ML01AFKD0

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_ARTICLE_SELECTION CALL FUNCTION 'WAUF_ARTICLE_SELECTION' EXPORTING im_alloc_header = xauko im_alloc_type = t620 im_vaupo = vaupo TABLES im_alloc_items = xaupo im_alloc_del_phases = xaulw ex_messg_aaw = gt_messg_aaw.

WAUF_ARTICLE_SELECTION CALL FUNCTION 'WAUF_ARTICLE_SELECTION' EXPORTING im_alloc_header = xauko im_alloc_type = t620 im_vaupo = vaupo TABLES im_alloc_items = xaupo im_alloc_del_phases = xaulw ex_messg_aaw = gt_messg_aaw.

WALL_COLLECT_AND_DISPLAY_PROT CALL FUNCTION 'WALL_COLLECT_AND_DISPLAY_PROT' EXPORTING fbi_name = m fbi_msg_id = prot-msgcl fbi_msg_no = '494' TABLES fbt_msg_tab = gt_messg_aaw.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = hs_mtcom IMPORTING matdaten = ps_mara return = hs_mtcor EXCEPTIONS account_not_found = 1 batch_not_found = 2 forecast_not_found = 3 lock_on_account = 4 lock_on_material = 5 lock_on_plant = 6 lock_on_sales = 7 lock_on_sloc = 8 lock_on_batch = 9 lock_system_error = 10 material_not_found = 11 plant_not_found = 12 sales_not_found = 13 sloc_not_found = 14 slocnumber_not_found = 15 sloctype_not_found = 16 text_not_found = 17 unit_not_found = 18 invalid_mch1_matnr = 19 invalid_mtcom = 20 sa_material = 21 wv_material = 22 waart_error = 23 t134m_not_found = 24 OTHERS = 25.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = hs_mtcom IMPORTING matdaten = ps_mt06a return = hs_mtcor TABLES seqmat01 = tdummy EXCEPTIONS material_not_found = 04 text_not_found = 08.

MAW1_SINGLE_READ CALL FUNCTION 'MAW1_SINGLE_READ' EXPORTING matnr = pt_articles-material EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

TVMS_SINGLE_READ CALL FUNCTION 'TVMS_SINGLE_READ' EXPORTING tvms_vmsta = ps_mara-mstav IMPORTING wtvms = hs_tvms EXCEPTIONS not_found = 1 OTHERS = 2.

MARM_GENERIC_READ_WITH_MATNR CALL FUNCTION 'MARM_GENERIC_READ_WITH_MATNR' EXPORTING matnr = pt_articles-material TABLES marm_tab = ht_marm EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

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.



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