SAP Reports / Programs | Materials Management | Inventory Management | Balance Sheet Valuation Procedures(MM-IM-VP) SAP MM

RMNIWE80_01 SAP ABAP Report - Determine Lowest Value: Market Price Variances







RMNIWE80_01 is a standard Executable ABAP Report 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 RMNIWE80_01 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 RMNIWE80_01. "Basic submit
SUBMIT RMNIWE80_01 AND RETURN. "Return to original report after report execution complete
SUBMIT RMNIWE80_01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_MATKL = D Material group
Selection Text: SO_BKLAS = D Valuation class
Selection Text: PA_BUKRS = D Company code
Selection Text: MTART = D Material type
Title: Determine Lowest Value: Market Price Variances
Text Symbol: 023 = Minimum Variance:
Text Symbol: 021 = Check revaluation
Text Symbol: 020 = Check devaluations
Text Symbol: 017 = Key date:
Text Symbol: 016 = Currency
Text Symbol: 015 = Company code:
Text Symbol: 007 = %


INCLUDES used within this REPORT RMNIWE80_01

INCLUDE MRYTAB01.
INCLUDE MRYTAB02.
INCLUDE MRYDAT01.
INCLUDE MRYDAT02.
INCLUDE MRYDAT04.
INCLUDE MRYDAT05.


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:

MY_FISCAL_YEAR_ANALYZE CALL FUNCTION 'MY_FISCAL_YEAR_ANALYZE' EXPORTING i_bukrs = pa_bukrs i_sniwe = sniwe IMPORTING e_niwefy = sniwefy.

MY_KEYDATE_DATA_ASSIGN CALL FUNCTION 'MY_KEYDATE_DATA_ASSIGN' EXPORTING is_niwefy = sniwefy CHANGING xs_mry_mt08y = s_mry_mt08y.

MY_BASE_PRICE_GET CALL FUNCTION 'MY_BASE_PRICE_GET' EXPORTING i_sniwe = sniwe i_mry_mt08y = s_mry_mt08y IMPORTING e_basis_preis = fpreis e_no_price = lc_no_price TABLES t_priceact = tab_priceact.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_header_list1[] * I_LOGO = * I_END_OF_LIST_GRID = .

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = g_repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = ' ' * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = s_layout it_fieldcat = tab_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = s_variant it_events = gt_event[] * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_ADD_FIELDCAT = * IT_HYPERLINK = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = tab_list_80 EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = 'TAB_LIST_80' i_structure_name = 'SMYLIST_N8' i_client_never_display = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = tab_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3 .



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