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

MV45A_MSRF04 SAP ABAP INCLUDE - MV45AMSRF04







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

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:

SD_CALL_PERFORM CALL FUNCTION 'SD_CALL_PERFORM' EXPORTING iv_form = 'MSR_CHECK_ITEM' iv_program = 'SAPMV45A' CHANGING cv_using1 = lv_error cv_using2 = lv_info EXCEPTIONS error_message = 1.

SD_CALL_PERFORM CALL FUNCTION 'SD_CALL_PERFORM' EXPORTING iv_form = 'MSR_CHECK_ITEM' iv_program = 'SAPMV45A' CHANGING cv_using1 = lv_error cv_using2 = lv_info EXCEPTIONS error_message = 1.

LFA1_SINGLE_READ CALL FUNCTION 'LFA1_SINGLE_READ' EXPORTING lfa1_lifnr = gs_msr_sales_fastchange-lifnr IMPORTING wlfa1 = ls_lfa1 EXCEPTIONS not_found = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = ls_addr_sel IMPORTING sadr = ls_sadr EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.

T001W_READ CALL FUNCTION 'T001W_READ' EXPORTING werks = gs_msr_sales_fastchange-next_plant IMPORTING struct = ls_t001w EXCEPTIONS no_entry = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'MAT_RECEIVED' value_org = chars TABLES value_tab = lt_mat_received_values EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'AT_CUSTOMER_SITE' value_org = chars TABLES value_tab = lt_at_cust_site_values EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = lv_icon text = space info = lv_text IMPORTING result = gv_next_plants_icon EXCEPTIONS icon_not_found = 01 outputfield_too_short = 02 OTHERS = 99.



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