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

MWFRM3F0F SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

DEQUEUE_E_FRET_E CALL FUNCTION 'DEQUEUE_E_FRET_E' EXPORTING mode_fret = enqueue_mode_shared mandt = sy-mandt btypb = xfret-btypb blnrb = xfret-blnrb bposb = xfret-bposb btypa = xfret-btypa blnra = xfret-blnra bposa = xfret-bposa _scope = '3' _synchron = yes _collect = no.

W_FRM_DELIVERY_CREATE CALL FUNCTION 'W_FRM_DELIVERY_CREATE' EXPORTING i_internal_commit = yes i_init_unit_conv = no i_read_assignment_from_db = data_changed i_no_database_update = no TABLES t_quantities = quant_tab t_messagelog = errorlog t_assignment = fret_tab t_vbfs = vbfs_tab t_vbls = vbls_tab EXCEPTIONS nothing_to_do = 1 message_according_logs = 2 enqueue_error = 3 assignment_data_missing = 4 assignment_not_found = 5 OTHERS = 6.

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 = fret_tmp * t_matnr = matnr_tab * t_abnnr = abnnr_tab * t_werks = werk_tab * T_BLNRB = * 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_DELIVERY_VBFS_SHOW CALL FUNCTION 'W_FRM_DELIVERY_VBFS_SHOW' TABLES t_vbfs = vbfs_tab EXCEPTIONS nothing_to_do = 1 OTHERS = 2.

DEQUEUE_E_FRET_E CALL FUNCTION 'DEQUEUE_E_FRET_E' EXPORTING mode_fret = enqueue_mode_shared mandt = sy-mandt btypb = xfret-btypb blnrb = xfret-blnrb bposb = xfret-bposb btypa = xfret-btypa blnra = xfret-blnra bposa = xfret-bposa _scope = '3' _synchron = yes _collect = no.

ENQUEUE_E_FRET_E CALL FUNCTION 'ENQUEUE_E_FRET_E' EXPORTING mode_fret = enqueue_mode_shared mandt = sy-mandt btypb = xfret-btypb blnrb = xfret-blnrb bposb = xfret-bposb btypa = xfret-btypa blnra = xfret-blnra bposa = xfret-bposa _scope = '3' _collect = no EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

W_FRM_GET_CUSTOMIZING CALL FUNCTION 'W_FRM_GET_CUSTOMIZING' EXPORTING get_customizing = yes get_mat_unit = no TABLES t_werks_material = tmp_plant_tab t_cust_werk_tab = tmp_plant_cust EXCEPTIONS OTHERS = 1.

W_FRM_DELIVERY_CREATE_ASSIGNM CALL FUNCTION 'W_FRM_DELIVERY_CREATE_ASSIGNM' EXPORTING i_internal_commit = yes i_init_unit_conv = no i_no_database_update = no i_no_locks = no i_enqueue_level_assignment = enqueue_level_full i_call_mode = call_mode_online i_packages_create = yes TABLES t_assignment = tmp_fret_ass t_messagelog = errorlog t_vbfs = vbfs_tab t_vbls = vbls_tab EXCEPTIONS nothing_to_do = 1 message_according_logs = 2 enqueue_error = 3 OTHERS = 4.

W_FRM_DELIVERY_CREATE_ASS_BG CALL FUNCTION 'W_FRM_DELIVERY_CREATE_ASS_BG' IN BACKGROUND TASK AS SEPARATE UNIT EXPORTING i_no_locks = no i_enqueue_level_assignment = enqueue_level_full i_wait_for_locks = yes i_process_mode = h_kzdas i_packages_create = yes TABLES t_assignment = tmp_fret t_quantities = tmp_quant it_yfret = tmp_fret.

ID_OF_BACKGROUNDTASK CALL FUNCTION 'ID_OF_BACKGROUNDTASK' IMPORTING tid = background_tid.

STATUS_OF_BACKGROUNDTASK CALL FUNCTION 'STATUS_OF_BACKGROUNDTASK' EXPORTING tid = background_tid TABLES errortab = lt_background_errors EXCEPTIONS communication = 1 recorded = 2 rollback = 3 OTHERS = 4.

W_FRM_DELIVERIES_SHOW CALL FUNCTION 'W_FRM_DELIVERIES_SHOW' TABLES t_vbls = vbls_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 MWFRM3F0F or its description.