RMLIFO28 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 RMLIFO28 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MRLK - LIFO: Adjust Units of Measure
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.
Selection Text: SO_BWKEY = Plant
Selection Text: PA_MYML = D .
Selection Text: PA_MYMLM = D .
Selection Text: PA_MYMP = D .
Selection Text: PA_MYPL = D .
Selection Text: PA_MYPLM = D .
Selection Text: PA_UPDT = D .
Selection Text: SO_BUKRS = D .
Selection Text: SO_GJAHR = D .
Selection Text: SO_MATNR = D .
Selection Text: SO_MYVER = D .
Selection Text: SO_PERID = D .
Selection Text: SO_POOLN = D .
Title: LIFO Valuation: Adjust Units of Measure/Price Units
Text Symbol: 101 = Records Updated
Text Symbol: 111 = Update
Text Symbol: 114 = Material Master:
Text Symbol: 130 = Print List
Text Symbol: 151 = Application log saved
Text Symbol: 162 = Messages
Text Symbol: 164 = Output Messages
Text Symbol: 190 = Program Run ID:
Text Symbol: 191 = Report Name:
Text Symbol: 192 = Runtime of:
Text Symbol: 193 = Variant:
Text Symbol: 195 = Duration:
Text Symbol: 201 = Records Processed
Text Symbol: 300 = Adjust
Text Symbol: 301 = Units of Measure
Text Symbol: 302 = Price Units
Text Symbol: 083 = Restriction of Selection
Text Symbol: 001 = |&1 V Material Year &2| Qty Old UoM | Qty New UoM |
Text Symbol: 002 = |&1 V Pool Year &2| Qty Old UoM | Qty New UoM |
Text Symbol: 003 = Pe
Text Symbol: 004 = VaAr
Text Symbol: 005 = CoCd
Text Symbol: 006 = |&1 V Material Year &2| PUnOld Price 1 Price 2 Price 3 | PUnNew Price 1 Price 2 Price 3 |
Text Symbol: 007 = LIFO Valuation: Adjust Units of Measure
INCLUDE MRYTAB01.
INCLUDE MRYTAB03.
INCLUDE MRYPAR07.
INCLUDE MRYDAT01.
INCLUDE MRYDAT03.
INCLUDE MRYDAT04.
INCLUDE MRYDAT06.
INCLUDE MRYMAC01.
INCLUDE MRYF_COMMON_ROUTINES_ALV.
No SAP DATABASE tables are accessed within this REPORT code!
MY_VALUATION_LEVEL_GET CALL FUNCTION 'MY_VALUATION_LEVEL_GET' EXPORTING i_myxxfo = lifo IMPORTING e_val_level = level e_mymp_level = mymp_level e_tcurm = tcurm EXCEPTIONS no_lifo = 1 no_fifo = 2 OTHERS = 3.
MY_APPLICATION_LOG_DISPLAY CALL FUNCTION 'MY_APPLICATION_LOG_DISPLAY' EXPORTING i_prgid = sniwe-prgid i_repid = sniwe-repid i_tcode = sniwe-tcode.
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 = 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.
MY_MATERIAL_LAYER_ARRAY_FETCH CALL FUNCTION 'MY_MATERIAL_LAYER_ARRAY_FETCH' TABLES r_myver = so_myver r_mykey = ra_mykey r_matnr = so_matnr r_gjahr = so_gjahr r_period = so_perid t_myml = tab_myml t_mymlm = tab_mymlm EXCEPTIONS no_material = 4.
MY_POOL_LAYER_ARRAY_FETCH CALL FUNCTION 'MY_POOL_LAYER_ARRAY_FETCH' TABLES r_myver = so_myver r_mykey = ra_mykey r_mypol = so_pooln r_gjahr = so_gjahr r_period = so_perid t_mypl = tab_mypl t_myplm = tab_myplm EXCEPTIONS no_pool = 4.
MY_RECEIPT_DATA_ARRAY_FETCH CALL FUNCTION 'MY_RECEIPT_DATA_ARRAY_FETCH' TABLES r_mymp = ra_mymp r_matnr = so_matnr r_gjahr = so_gjahr r_period = so_perid * r_budat = s_budat t_mymp = tab_mymp t_mymp1 = tab_mymp1 EXCEPTIONS no_data = 4.
MY_RECEIPT_DATA_UPDATE CALL FUNCTION 'MY_RECEIPT_DATA_UPDATE' EXPORTING i_mymp = *mymp i_tcode = c_tcode IMPORTING e_ins_up = ins_up e_com_work = com_work CHANGING c_update_count = mysta-updct c_commit_count = mysta-dtbct EXCEPTIONS not_found = 1.
TPOOL_SINGLE_READ CALL FUNCTION 'TPOOL_SINGLE_READ' EXPORTING tpool_mykey = myk tpool_mypool = pol IMPORTING wtpool = tpool EXCEPTIONS not_found = 1.
MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING matnr = iolay-matnr meins = mara-meins input = qty meinh = unit kzmeinh = x IMPORTING output = umeng EXCEPTIONS conversion_not_found = 1 no_meinh = 2.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING unit_out = tpool-meins unit_in = unit input = qty IMPORTING output = umeng EXCEPTIONS conversion_not_found = 1 unit_in_not_found = 2 unit_out_not_found = 3.
MY_MATERIAL_LAYER_UPDATE CALL FUNCTION 'MY_MATERIAL_LAYER_UPDATE' EXPORTING i_matlayer = *mymlm i_tcode = c_tcode IMPORTING e_com_work = com_work e_ins_up = ins_up CHANGING c_update_count = mysta-updct c_commit_count = mysta-dtbct EXCEPTIONS not_found = 1.
MY_POOL_LAYER_UPDATE CALL FUNCTION 'MY_POOL_LAYER_UPDATE' EXPORTING i_poollayer = *myplm i_tcode = c_tcode IMPORTING e_com_work = com_work e_ins_up = ins_up CHANGING c_update_count = mysta-updct c_commit_count = mysta-dtbct EXCEPTIONS not_found = 1.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_line.
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 RMLIFO28 or its description.