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

RMLIFO36 SAP ABAP Report - Adopt "Lowest Value" Prices







RMLIFO36 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for LIFO valuation: copy lowest value prices from material master ..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RMLIFO36 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

MRLD - Transfer Valuation Prices


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 RMLIFO36. "Basic submit
SUBMIT RMLIFO36 AND RETURN. "Return to original report after report execution complete
SUBMIT RMLIFO36 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 LIFO Pool
Selection Text: SO_MTART = D Material Type
Selection Text: SO_MATNR = D Material
Selection Text: SO_BWKEY = Plant
Selection Text: PA_VERSI = D Layer Version
Selection Text: PA_UMBEW = D Database Update
Selection Text: PA_MYPER = D Posting Period
Selection Text: PA_METHD = D LIFO/FIFO Method
Selection Text: PA_GJAHR = D Fiscal Year
Selection Text: PA_BUKRS = D Company Code
Title: Adopt "Lowest Value" Prices
Text Symbol: 139 = Price 1/2/3
Text Symbol: 127 = Procedures
Text Symbol: 120 = Transfer price to layer
Text Symbol: 119 = Update
Text Symbol: 115 = LIFO Method
Text Symbol: 109 = Restriction of Selection
Text Symbol: 108 = Settlement Period
Text Symbol: 106 = Fiscal Year
Text Symbol: 104 = Layer Version
Text Symbol: 071 = Company Code
Text Symbol: 070 = Valuation Area
Text Symbol: 040 = Records Updated
Text Symbol: 039 = Records Created
Text Symbol: 008 = Layer Version:
Text Symbol: 007 = Page
Text Symbol: 004 = CoCde Material Tax price Commer.price per
Text Symbol: 003 = ValA Material Tax price Commer.price per
Text Symbol: 001 = C O P Y L O W E S T P R I C E S


INCLUDES used within this REPORT RMLIFO36

INCLUDE MRYTAB01.
INCLUDE MRYTAB03.
INCLUDE MRYPAR01.
INCLUDE MRYPAR10.
INCLUDE MRYPAR12.
INCLUDE RMLIFO36_DARKPARAMETERS_DEFINE.
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 = single i_prog = 'LIFO36' i_versi_space = versi_space IMPORTING e_level = level e_myebene = ebene CHANGING xs_mypar = mypar xs_niwefy = sniwefy x_bukrs = pa_bukrs x_gjahr = pa_gjahr x_myper = pa_myper x_myver = pa_versi x_method = pa_methd.

MY_PRICE123_POPUP CALL FUNCTION 'MY_PRICE123_POPUP' EXPORTING i_sniwe = sniwe CHANGING c_sniwel = sniwel.

MY_METHOD_F4_HELP CALL FUNCTION 'MY_METHOD_F4_HELP' EXPORTING i_repid = sy-repid i_dynnr = sy-dynnr i_field = 'PA_METHD' i_myxxfo = c_myxxfo i_myfid = c_myfid.

MY_MATERIAL_DATA_GET CALL FUNCTION 'MY_MATERIAL_DATA_GET' EXPORTING is_mypar = mypar is_niwe = sniwe i_level = level i_matnr = *myms-matnr i_mykey = mykey it_bwkeys_werks = tab_bwkeys_werks IMPORTING es_niwemat = sniwemat et_niweabw = tab_niweabw[] TABLES tra_mtart = so_mtart EXCEPTIONS unit_conversion_error = 1 account_assignment_error = 2 mtart_check = 3 OTHERS = 4.

MY_MATERIAL_LAYER_SINGLE_READ CALL FUNCTION 'MY_MATERIAL_LAYER_SINGLE_READ' EXPORTING i_myhist = annual i_myver = pa_versi i_mykey = mykey i_matnr = *myms-matnr i_gjahr = pa_gjahr IMPORTING e_myml = *myml EXCEPTIONS not_found = 1 OTHERS = 2.

MY_MATERIAL_LAYER_UPDATE CALL FUNCTION 'MY_MATERIAL_LAYER_UPDATE' EXPORTING i_matlayer = *mymlm i_tcode = c_tcode IMPORTING e_ins_up = ins_up e_com_work = com_work CHANGING c_insert_count = mysta-insct c_update_count = mysta-updct c_commit_count = mysta-dtbct EXCEPTIONS not_found = 1.

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_VERSION_AND_METHOD_CHECK * CALL FUNCTION 'MY_VERSION_AND_METHOD_CHECK' * EXPORTING * i_mykey = *myms-mykey * i_myxxfo = lifo * IMPORTING * e_my05 = tmy05 * CHANGING * x_myver = pa_versi * x_method = pa_methd.

MY_PARAMETERS_GET CALL FUNCTION 'MY_PARAMETERS_GET' EXPORTING i_bukrs = bukrs i_myxxfo = lifo IMPORTING e_mypar = mypar.

MY_VALUATION_AREAS_GET CALL FUNCTION 'MY_VALUATION_AREAS_GET' EXPORTING i_level = level i_mymp_level = mymp_level i_actvt = akt_flag 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.



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