SAP Reports / Programs

RMLIFO22 SAP ABAP Report - LIFO Valuation: Display Pool Formation







RMLIFO22 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 RMLIFO22 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MRL7 - Display Pool Formation


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 RMLIFO22. "Basic submit
SUBMIT RMLIFO22 AND RETURN. "Return to original report after report execution complete
SUBMIT RMLIFO22 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_POOLN = D .
Selection Text: SO_MATNR = D .
Selection Text: PA_VMBAS = D .
Selection Text: PA_VJBAS = D .
Selection Text: PA_SUM = D .
Selection Text: PA_BUKRS = D .
Selection Text: PA_AKBAS = D .
Selection Text: SO_BWKEY = Plant
Title: LIFO Valuation: Display Pool Formation
Text Symbol: 072 = Text
Text Symbol: 073 = Stock Value
Text Symbol: 074 = Stock Quantity
Text Symbol: 075 = Unit
Text Symbol: 076 = Price
Text Symbol: 077 = Per
Text Symbol: 105 = Options
Text Symbol: 109 = Restriction of Selection
Text Symbol: 119 = Current Values
Text Symbol: 120 = Prev. Mth Vals
Text Symbol: 121 = Prev. Yr Values
Text Symbol: 144 = Only Tot. Vals
Text Symbol: 145 = Print/Transmit
Text Symbol: 162 = Messages
Text Symbol: 001 = Pool:
Text Symbol: 002 = Currency:
Text Symbol: 003 = Company Code:
Text Symbol: 004 = Total: Pool
Text Symbol: 007 = Values for Previous Year
Text Symbol: 008 = Current Values
Text Symbol: 009 = Page
Text Symbol: 010 = Min. Price
Text Symbol: 011 = Max. Price
Text Symbol: 012 = Average Price
Text Symbol: 013 = Number of Materials
Text Symbol: 014 = Pool Statistics
Text Symbol: 015 = Variance Max. Price / Min. Price
Text Symbol: 016 = Valuation Area:
Text Symbol: 017 = |Material |Text | Stock value | Stock qty | Price | per|





Text Symbol: 018 = DISPLAY POOL FORMATION
Text Symbol: 019 = Guideline Price
Text Symbol: 020 = Prev. Mth Vals
Text Symbol: 021 = Maximum Variance from Guideline Price
Text Symbol: 051 = /
Text Symbol: 052 = %
Text Symbol: 070 = Valuation Area
Text Symbol: 071 = Company Code


INCLUDES used within this REPORT RMLIFO22

INCLUDE MRYTAB01.
INCLUDE MRYTAB03.
INCLUDE MRYPAR12.
INCLUDE MRYDAT01.
INCLUDE MRYDAT03.
INCLUDE MRYDAT04.
INCLUDE MRYDAT06.


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_BEFORE_OUTPUT_PROCESS CALL FUNCTION 'MY_BEFORE_OUTPUT_PROCESS' EXPORTING i_myfid = pool IMPORTING e_level = level e_myebene = ebene CHANGING xs_mypar = mypar x_bukrs = pa_bukrs.

MY_APPLICATION_LOG_DISPLAY CALL FUNCTION 'MY_APPLICATION_LOG_DISPLAY' "note1037918 EXPORTING "note1037918 i_prgid = sniwe-prgid "note1037918 i_repid = sniwe-repid "note1037918 i_tcode = sniwe-tcode. "note1037918

MATERIAL_READ_MAKF CALL FUNCTION 'MATERIAL_READ_MAKF' EXPORTING schluessel = mtcom IMPORTING matdaten = mt08y return = errfield TABLES seqmat01 = dummy EXCEPTIONS account_not_found = 4 material_not_found = 8.

MATERIAL_READ_MAKF CALL FUNCTION 'MATERIAL_READ_MAKF' EXPORTING schluessel = mtcom IMPORTING matdaten = mt08y return = errfield TABLES seqmat01 = dummy EXCEPTIONS account_not_found = 4 material_not_found = 8.

MY_VALUATION_LEVEL_GET CALL FUNCTION 'MY_VALUATION_LEVEL_GET' EXPORTING i_myxxfo = lifo IMPORTING e_val_level = level e_mymp_level = mymp_level.

MY_VALUATION_AREAS_GET CALL FUNCTION 'MY_VALUATION_AREAS_GET' EXPORTING i_level = level i_mymp_level = mymp_level i_actvt = display_mode i_myxxfo = lifo IMPORTING et_bwkeys_werks = tab_bwkeys_werks TABLES tra_bukrs = ra_bukrs tra_bwkey = ra_bwkey tra_mykey = ra_mykey tra_mymp = ra_mymp.

MY_PARAMETERS_GET CALL FUNCTION 'MY_PARAMETERS_GET' EXPORTING i_bukrs = pa_bukrs i_mykey = mykey i_myxxfo = lifo i_myfid = pool IMPORTING e_mypar = mypar.

TPOOL_SINGLE_READ CALL FUNCTION 'TPOOL_SINGLE_READ' EXPORTING tpool_mykey = mykey tpool_mypool = *myms-mypool IMPORTING wtpool = tpool EXCEPTIONS not_found = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid it_fieldcat = it_fieldcat it_events = it_events is_layout = is_layout i_tabname_header = gc_alv_output_header i_tabname_item = gc_alv_output_detail is_keyinfo = gs_keyinfo TABLES t_outtab_header = gt_outtab1 t_outtab_item = gt_outtab2 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = iv_struct i_internal_tabname = iv_itab CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.






REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 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 RMLIFO22 or its description.