ROIH1L04 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to check the excise duty values for excise duty-paid materials...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 ROIH1L04 into the relevant SAP transactions such as SE38 or SE80
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: BUKRS = Company code
Selection Text: LST_DIF = List ED valuation record diff.
Selection Text: OK_UPD = Adjust ED valuation records
Selection Text: PERC = Percentage
Selection Text: PSIZ_MS = Packet size DB-access
Selection Text: P_MATNR = Material
Selection Text: P_WERKS = Plant
Selection Text: ST_CON = Stock consistent
Title: Excise Duty Inventory check report - Material Valuation Differences
Text Symbol: 001 = missing entry in table OIH01
Text Symbol: 002 = Some materials are blocked
Text Symbol: 011 = The excise duty revaluation is active (not completed)!
Text Symbol: 012 = Please use the listed information below to complete
Text Symbol: 013 = the excise duty revaluation.
Text Symbol: 014 = Excise Duty Valuation Records
Text Symbol: 015 = The Excise Duty UoM is NOT EQUAL to the Base UoM!
Text Symbol: 016 = --> It is required to check the consistency of the additional quantities (HPM)
Text Symbol: 017 = before the adjustment of the Excise Duty valuation records!
Text Symbol: 018 = --> for details see OSS Notes 67261/212707
INCLUDE ROIH1L04_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_EMMBEWE CALL FUNCTION 'ENQUEUE_EMMBEWE' "MBEW exclusiv for all Materials EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.
MARA_SINGLE_READ * CALL FUNCTION 'MARA_SINGLE_READ' * EXPORTING * MATNR = OIH_MBEW-MATNR * IMPORTING * WMARA = MARA * EXCEPTIONS * LOCK_ON_MATERIAL = 1 * LOCK_SYSTEM_ERROR = 2 * WRONG_CALL = 3 * NOT_FOUND = 4 * OTHERS = 5.
MB_UNIT_CONVERSION CALL FUNCTION 'MB_UNIT_CONVERSION' EXPORTING MEINS = MARA-MEINS ERFME = OIH_EDVAL-QTYUT MATNR = MARA-MATNR MENGE = OIH_MBEW-LBKUM ERFMG = *MBEW-LBKUM UMREZ = DM07M-BPUMZ UMREN = DM07M-BPUMN IMPORTING O_MENGE = OIH_MBEW-LBKUM O_ERFMG = *MBEW-LBKUM O_UMREZ = DM07M-BPUMZ O_UMREN = DM07M-BPUMN EXCEPTIONS CONVERSION_NOT_FOUND = 4.
IS_OIH01_SINGLE_READ CALL FUNCTION 'IS_OIH01_SINGLE_READ' EXPORTING I_BUKRS = BUKRS I_WERKS = *OIH01-WERKS I_TAXGRP = *OIH01-TAXGRP I_HANTYP = *OIH01-HANTYP I_DATUV = *OIH01-DATUV I_BYPASSING_BUFFER = 'B' "B=only fr. buffer (prefetch once)
IS_OIH01_SINGLE_READ CALL FUNCTION 'IS_OIH01_SINGLE_READ' EXPORTING I_BUKRS = BUKRS I_WERKS = '****' I_TAXGRP = *OIH01-TAXGRP I_HANTYP = *OIH01-HANTYP I_DATUV = *OIH01-DATUV I_BYPASSING_BUFFER = 'B' "B=only fr.buffer(prefetch above)
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ROIH1L04 - Excise Duty Inventory check report - Material Valuation Differences ROIH1L04 - Excise Duty Inventory check report - Material Valuation Differences ROIH1L02 - documentation and ABAP source code ROIH1L02 - documentation and ABAP source code ROIH1L01 - Tax Revaluation Report (Status of Tax Revaluation) ROIH1L01 - Tax Revaluation Report (Status of Tax Revaluation)