SAP Reports / Programs | Sales and Distribution | Sales | Sales Returns(SD-SLS-RE-SR) SAP SD

/BEV1/MSR0F02 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

/BEV1/SR_CHECK_DC_EMPTY_ORDER CALL FUNCTION '/BEV1/SR_CHECK_DC_EMPTY_ORDER' EXPORTING ip_vbak = vbak IMPORTING ep_order_exist = g_flag_no_empty_order_button ep_order_number = g_empty_order_vbeln.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'VBAP' CHANGING ct_fieldcat = g_it_top_grid_f_cata.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = '/BEV1/SRBEF_S' CHANGING ct_fieldcat = g_it_bottom_grid_f_cata.

/BEV1/SR_CREATE_EMPTIES_ORDER CALL FUNCTION '/BEV1/SR_CREATE_EMPTIES_ORDER' EXPORTING ip_vbak = vbak IMPORTING ep_order_created = g_flag_no_empty_order_button ep_doc_num = g_empty_order_vbeln TABLES tp_vbap = xvbap tp_vbkd = xvbkd.

/BEV1/SR_CANCEL_ALL CALL FUNCTION '/BEV1/SR_CANCEL_ALL' EXPORTING ip_vbak = vbak ip_kna1 = kna1 TABLES tp_vbap_output = g_it_vbap tp_bot_grid_cont = g_it_bot_grid_cont tp_vbap = xvbap tp_vbkd = xvbkd EXCEPTIONS doc_flow_error = 1 cancel_mm_error = 2 cancel_sd_error = 3 OTHERS = 4.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = text-i01 txt1 = text-i02 txt2 = text-i03 txt3 = text-i04.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-004 textline2 = text-005 titel = text-006 IMPORTING answer = l_answer.

DEQUEUE_EVVBAKE CALL FUNCTION 'DEQUEUE_EVVBAKE' EXPORTING vbeln = vbak-vbeln.

ENQUEUE_EVVBAKE CALL FUNCTION 'ENQUEUE_EVVBAKE' EXPORTING vbeln = vbak-vbeln _wait = 'X' EXCEPTIONS foreign_lock = 2 system_failure = 3.

/BEV1/SR_VIEW_APPL_LOG CALL FUNCTION '/BEV1/SR_VIEW_APPL_LOG' EXPORTING ip_vbak_vbeln = vbak-vbeln.



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 /BEV1/MSR0F02 or its description.