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

MWFRM1F0F SAP ABAP INCLUDE - Include MWFRM1F0F







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

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:

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = textline textline2 = text-abb titel = text-tab IMPORTING answer = answer.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

W_FRM_SELECT_MATERIAL CALL FUNCTION 'W_FRM_SELECT_MATERIAL' EXPORTING xcoordinate = 5 ycoordinate = 5 plant = current_matwerk-werks IMPORTING matnr = current_matwerk-matnr TABLES t_mat_plant = xmatwerk EXCEPTIONS no_plant_specified = 1 no_index = 2 OTHERS = 99.

W_FRM_SELECT_MATERIALPLANT CALL FUNCTION 'W_FRM_SELECT_MATERIALPLANT' EXPORTING xcoordinate = 10 ycoordinate = 10 IMPORTING plant = current_matwerk-werks matnr = current_matwerk-matnr TABLES t_mat_plant = xmatwerk EXCEPTIONS no_index = 1 OTHERS = 99.

W_FRM_SELECT_PLANT CALL FUNCTION 'W_FRM_SELECT_PLANT' EXPORTING xcoordinate = 10 ycoordinate = 10 matnr = current_matwerk-matnr IMPORTING plant = current_matwerk-werks TABLES t_mat_plant = xmatwerk EXCEPTIONS no_material_specified = 1 no_index = 2 OTHERS = 3.

W_FRM_GENERATE_PO CALL FUNCTION 'W_FRM_GENERATE_PO' EXPORTING i_show_progress_indicator = yes TABLES t_matwerk = xmatwerk t_vbak = xvbak t_vbuk = xvbuk t_vbup = xvbup t_vbfa = xvbfa t_vbap = xvbap t_vbep = xvbep t_ekko = xekko t_ekpo = xekpo t_eket = xeket t_ekpv = xekpv t_gen_del = i_portab t_orders = i_sumtab t_commlog = commlog t_deleted_gen_dels = del_tab EXCEPTIONS nothing_to_do = 1 OTHERS = 2.

W_FRM_GENERATE_PO CALL FUNCTION 'W_FRM_GENERATE_PO' EXPORTING i_show_progress_indicator = yes TABLES t_matwerk = xmatwerk t_vbak = xvbak t_vbuk = xvbuk t_vbup = xvbup t_vbfa = xvbfa t_vbap = xvbap t_vbep = xvbep t_ekko = xekko t_ekpo = xekpo t_eket = xeket t_ekpv = xekpv t_gen_del = sportab t_orders = ssumtab t_commlog = commlog t_deleted_gen_dels = del_tab EXCEPTIONS nothing_to_do = 1 OTHERS = 2.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-dvl textline2 = text-exi titel = text-tex IMPORTING answer = answer.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

W_FRM_GENERATE_PO CALL FUNCTION 'W_FRM_GENERATE_PO' EXPORTING i_show_progress_indicator = yes TABLES t_matwerk = xmatwerk t_vbak = xvbak t_vbuk = xvbuk t_vbup = xvbup t_vbfa = xvbfa t_vbap = xvbap t_vbep = xvbep t_ekko = xekko t_ekpo = xekpo t_eket = xeket t_ekpv = xekpv t_gen_del = local_xportab t_orders = xsumtab EXCEPTIONS OTHERS = 0.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-dvl textline2 = text-exi titel = text-tex IMPORTING answer = answer.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

W_FRM_GENERATE_PO CALL FUNCTION 'W_FRM_GENERATE_PO' TABLES t_matwerk = xmatwerk t_vbak = xvbak t_vbuk = xvbuk t_vbup = xvbup t_vbfa = xvbfa t_vbap = xvbap t_vbep = xvbep t_ekko = xekko t_ekpo = xekpo t_eket = xeket t_ekpv = xekpv t_gen_del = local_xportab t_orders = xsumtab EXCEPTIONS OTHERS = 0.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL





CALL FUNCTION 'DEQUEUE_ALL'.

RV_CALL_DISPLAY_TRANSACTION CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' EXPORTING * BUKRS = ' ' * FCODE = ' ' * GJAHR = '0000' * LGNUM = ' ' * POSNR = '000000' vbeln = sumtab-blnra * AUFNR = vbtyp = 'C' * FI_APPLI = ' ' EXCEPTIONS OTHERS = 1.

RV_CALL_DISPLAY_TRANSACTION CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' EXPORTING * BUKRS = ' ' * FCODE = ' ' * GJAHR = '0000' * LGNUM = ' ' * POSNR = '000000' vbeln = sumtab-blnra * AUFNR = vbtyp = 'V' * FI_APPLI = ' ' EXCEPTIONS OTHERS = 1.

RV_CALL_DISPLAY_TRANSACTION CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' EXPORTING * BUKRS = ' ' * FCODE = ' ' * GJAHR = '0000' * LGNUM = ' ' * POSNR = '000000' vbeln = sumtab-blnra * AUFNR = vbtyp = 'J' * FI_APPLI = ' ' EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-lo1 text_question = l_text_question display_cancel_button = no popup_type = 'ICON_MESSAGE_WARNING' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 99.

W_VAS_CPO_SERVICES_GET CALL FUNCTION 'W_VAS_CPO_SERVICES_GET' EXPORTING i_gen_del_wa = xportab CHANGING e_gen_del_wa = xportab EXCEPTIONS no_services = 1 no_determination_possible = 2 services_not_active = 3 OTHERS = 4.

W_VAS_CPO_SERVICES_GET CALL FUNCTION 'W_VAS_CPO_SERVICES_GET' EXPORTING i_gen_del_wa = xportab CHANGING e_gen_del_wa = xportab EXCEPTIONS no_services = 1 no_determination_possible = 2 services_not_active = 3 OTHERS = 4.

W_FRM_DELIVERY_ERRORLOG_SHOW CALL FUNCTION 'W_FRM_DELIVERY_ERRORLOG_SHOW' TABLES t_errorlog = commlog EXCEPTIONS OTHERS = 0.

BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = l_appl_log_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_appl_log_profile i_t_log_handle = lt_log_handle.

W_FRM_CPO_SELECTION_LOG_SHOW CALL FUNCTION 'W_FRM_CPO_SELECTION_LOG_SHOW' * EXPORTING * I_IMMEDIATE_PRINT = ' ' * TABLES * T_INTERNAL_LOG = EXCEPTIONS OTHERS = 0.

W_FRM_DELIVERY_ERRORLOG_SHOW CALL FUNCTION 'W_FRM_DELIVERY_ERRORLOG_SHOW' TABLES t_errorlog = messages_during_selection EXCEPTIONS OTHERS = 0.

BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = l_appl_log_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_appl_log_profile i_t_log_handle = gt_log_handle_select.

W_VAS_CPO_SERVICES_GET CALL FUNCTION 'W_VAS_CPO_SERVICES_GET' EXPORTING i_gen_del_wa = l_proc_wa CHANGING e_gen_del_wa = l_proc_wa EXCEPTIONS no_services = 1 no_determination_possible = 2 services_not_active = 3 OTHERS = 4.



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