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

ML01AF3P SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

WALL_QUANTITY_CONVERT_UNIT_RND CALL FUNCTION 'WALL_QUANTITY_CONVERT_UNIT_RND' EXPORTING * auft*1 fbi_material = xaupo-matnr * fbi_base_unit = xaupo-meins fbi_material = up_npos-matnr fbi_base_unit = up_npos-meins fbi_source_quantity = xauvz-bstmg fbi_source_unit = xauvz-bstme fbi_destination_unit = up_npos-aufme * FBI_ROUND_SIGN_1 = 'X' * FBI_ROUND_SIGN_2 = 'X' * FBI_ROUND_SIGN_3 = 'X' IMPORTING fbo_destination_quantity = h_auvz-menge_opt fbo_source_quantity_new = h_menge_opt_neu.

WAUF_STOCK_PLANT_MATERIAL_DET CALL FUNCTION 'WAUF_STOCK_PLANT_MATERIAL_DET' EXPORTING fbi_plant = haufi-fiwrk fbi_material = up_npos-matnr fbi_alloc_unit = up_npos-aufme fbi_base_unit = up_npos-meins IMPORTING fbe_stock_plant_mat = haufi-labst fbe_return_code = rcode.

WAVI_READ_TABLE_AVIS_TYPE * call function 'WAVI_READ_TABLE_AVIS_TYPE' * exporting * fbi_avis_type = up_npos-aavit * importing * fbe_avis_type_data = t626 * exceptions * fba_error_read_avis_type = 01 * fba_avis_type_invalid = 02.

WAVI_READ_TABLE_AVIS_TYPE CALL FUNCTION 'WAVI_READ_TABLE_AVIS_TYPE' EXPORTING fbi_avis_type = up_npos-aavit IMPORTING fbe_avis_type_data = t626 EXCEPTIONS fba_error_read_avis_type = 01 fba_avis_type_invalid = 02.

WAVI_READ_TABLE_AVIS_TYPE CALL FUNCTION 'WAVI_READ_TABLE_AVIS_TYPE' EXPORTING fbi_avis_type = haufi-aavit IMPORTING fbe_avis_type_data = h_t626 EXCEPTIONS fba_error_read_avis_type = 01 fba_avis_type_invalid = 02.

WAVI_READ_TABLE_AVIS_TYPE CALL FUNCTION 'WAVI_READ_TABLE_AVIS_TYPE' EXPORTING fbi_avis_type = haufi-aavit IMPORTING fbe_avis_type_data = h_t626 EXCEPTIONS fba_error_read_avis_type = 01 fba_avis_type_invalid = 02.

PROMOTION_CHK_UPD_GLBL_BUFFER CALL FUNCTION 'PROMOTION_CHK_UPD_GLBL_BUFFER' EXPORTING aktnr = up_npos-aktnr artnr = up_npos-matnr auft_nr = up_npos-abeln auft_pos = up_npos-abelp * ONLY_CHECK = IMPORTING aenderung_erlaubt = g_aenderung_erlaubt TABLES t_betriebe = gt_waled EXCEPTIONS foreign_lock = 1 system_failure = 2 not_found = 3 OTHERS = 4.

WAUF_ADD_MD_BUFFER_ENTRY CALL FUNCTION 'WAUF_ADD_MD_BUFFER_ENTRY' EXPORTING it_rel_mat_werks = lt_marc_data_work_area i_prefetch_marc = 'X' i_prefetch_mbew = 'X' EXCEPTIONS marc_read_failed = 1 mbew_read_failed = 2 OTHERS = 3.



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