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

MWFRM5F0F SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

W_FRM_TO_CREATE_GENERAL CALL FUNCTION 'W_FRM_TO_CREATE_GENERAL' EXPORTING I_INIT_WFR2 = NO I_CHECK_EXISTING_TOS = NO T_TO_DATA = X_TO_REC_TAB[] T_TO_MAX_QUANTS = Y_TO_REC_TAB[] TABLES T_ERRORLOG = ERRORLOG CHANGING T_TONBRS = GEN_TO_TAB[] T_XFRET = XFRET[] EXCEPTIONS NOTHING_TO_DO = 1 ERROR_ACCORDING_ERRORLOG = 2 MAX_QUANTS_MISSING = 3 OTHERS = 4.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' EXPORTING _SYNCHRON = YES.

W_FRM_ASSIGNMENT_SHOW CALL FUNCTION 'W_FRM_ASSIGNMENT_SHOW' EXPORTING SALESORDER = YES PURCHASEORDER = YES DELIVERY = YES PUTAWAY = YES NO_ACTION = NO_ACTION TABLES * T_FRET = T_MATNR = MATERIAL T_ABNNR = RECEIVER T_WERKS = WERK_TAB T_BLNRB = P_ORDER * t_ebeln = * T_VBELN = * T_LBELN = EXCEPTIONS TABLE_EMPTY = 1 OTHERS = 2.

W_FRM_DELIVERY_ERRORLOG_SHOW CALL FUNCTION 'W_FRM_DELIVERY_ERRORLOG_SHOW' TABLES T_ERRORLOG = ERRORLOG EXCEPTIONS NOTHING_TO_DO = 1 OTHERS = 2.

W_FRM_TOS_SHOW CALL FUNCTION 'W_FRM_TOS_SHOW' EXPORTING T_TRANSPORT_ORDERS = GEN_TO_TAB[] I_IMMEDIATE_PRINT = NO EXCEPTIONS NOTHING_TO_DO = 1 OTHERS = 2.

W_FRM_FILL_QUAN_TABLES CALL FUNCTION 'W_FRM_FILL_QUAN_TABLES' EXPORTING I_INIT_WFR2 = NO T_ASSIGNMENT = XFRET[] TABLES RECEIVER_RANGE = RECEIVER ORDER_RANGE = P_ORDER CHANGING X_MAT_QUAN = FRET_TMP_TAB[] Y_MAT_QUAN = TMP_ZMAT_TAB[] X_REC_QUAN = TMP_REC_TAB[] Y_REC_QUAN = FRET_REC_TAB[] Y_GEN_QUAN = FRET_GEN_TAB[] EXCEPTIONS ERROR_AT_UNIT_CONVERSION = 1 OTHERS = 2.

W_FRM_TO_CREATE_FROM_ASSIGNM CALL FUNCTION 'W_FRM_TO_CREATE_FROM_ASSIGNM' EXPORTING I_INIT_WFR2 = NO I_CHECK_EXISTING_TOS = TO_CHECK TABLES T_ERRORLOG = ERRORLOG T_RECEIVER_RANGE = RECEIVER T_ORDERS_RANGE = P_ORDER CHANGING T_TONBRS = GEN_TO_TAB[] T_ASSIGNMENT = XFRET[] EXCEPTIONS NOTHING_TO_DO = 1 ERROR_ACCORDING_ERRORLOG = 2 OTHERS = 3.

W_FRM_FILL_QUAN_TABLES CALL FUNCTION 'W_FRM_FILL_QUAN_TABLES' EXPORTING I_INIT_WFR2 = NO T_ASSIGNMENT = XFRET[] TABLES RECEIVER_RANGE = RECEIVER ORDER_RANGE = P_ORDER CHANGING X_MAT_QUAN = FRET_TMP_TAB[] Y_MAT_QUAN = Z_TO_MAT_TAB[] X_REC_QUAN = X_TO_REC_TAB[] Y_REC_QUAN = Y_TO_REC_TAB[] Y_GEN_QUAN = Y_TO_GEN_TAB[] EXCEPTIONS ERROR_AT_UNIT_CONVERSION = 1 OTHERS = 2.

W_FRM_UNIT_CONVERSION CALL FUNCTION 'W_FRM_UNIT_CONVERSION' TABLES T_CONVERSIONS = TMP_CONV_TAB EXCEPTIONS NOTHING_TO_DO = 1 OTHERS = 2.



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