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

ML01AFCD3 SAP ABAP INCLUDE - documentation and ABAP source code







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

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 = xaupo-apstp IMPORTING ex_t621 = t621.

WAUF_KNA1_READ CALL FUNCTION 'WAUF_KNA1_READ' EXPORTING im_kunnr = xauvz-vzent IMPORTING ex_kna1 = kna1 EXCEPTIONS no_kunnr = 01 no_record_found = 02.

WAUF_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = xauvz-vzwrk IMPORTING ex_t001w = t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2.

WAUF_V_T629_LESEN CALL FUNCTION 'WAUF_V_T629_LESEN' EXPORTING im_sperr = xauvz-sperr IMPORTING ex_v_t629 = l_v_t629 EXCEPTIONS no_record_found = 1 OTHERS = 2.

WAUF_QUANTITY_FROM_PERCENTAGE ** CALL FUNCTION 'WAUF_QUANTITY_FROM_PERCENTAGE' ** EXPORTING * FBI_MATERIAL = HAUPO-MATNR * FBI_BASE_UNIT = HAUPO-MEINS * FBI_QUANTITY = XAUVZ-PMNGV * FBI_ALLOC_UNIT = XAUVZ-AUFME * FBI_ORDER_QUANTITY = XAUVZ-BSTMG * FBI_ORDER_UNIT = XAUVZ-BSTME * FBI_QUANTITY_REMAINDER = H_REST_PLANMENGE * FBI_ORDER_QUANTITY_REMAINDER = H_REST_BESTELLMENGE * FBI_PERCENTAGE_REMAINDER = H_REST_PROZENT * IMPORTING * FBO_QUANTITY_DELIVERY_PH = HAUVW-MENGE * FBO_ORDER_QUANTITY_DELIVERY_PH = H_BESTELLMENGE * CHANGING * FBC_PERCENTAGE = HAUVW-WEPRZ.

WAVI_INIT_AFTER_ABORT CALL FUNCTION 'WAVI_INIT_AFTER_ABORT'.

ENQUEUE_EVVBLKE CALL FUNCTION 'ENQUEUE_EVVBLKE' EXPORTING mandt = it_likp-mandt vbeln = it_likp-vbeln * X_VBELN = ' ' _scope = '3' * _WAIT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

MATERIAL_READ * CALL FUNCTION 'MATERIAL_READ' * EXPORTING * schluessel = mtcom * IMPORTING * matdaten = mt06e * return = mtcor * TABLES * seqmat01 = tdummy * EXCEPTIONS * material_not_found = 04 * text_not_found = 08.

WAUF_T001W_LESEN CALL FUNCTION 'WAUF_T001W_LESEN' EXPORTING im_werks = it_reflips-werks IMPORTING ex_t001w = h_t001w EXCEPTIONS no_valid_input = 1 no_record_found = 2.

WAUF_T001K_LESEN CALL FUNCTION 'WAUF_T001K_LESEN' EXPORTING im_bwkey = h_t001w-bwkey IMPORTING ex_t001k = h_t001k EXCEPTIONS no_valid_input = 1 no_record_found = 2 OTHERS = 3.

WAUF_T621_LESEN CALL FUNCTION 'WAUF_T621_LESEN' EXPORTING im_apstp = h_pos_typ IMPORTING ex_t621 = t621 ex_t621t = t621t.

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