SAP Reports / Programs

RM07KO01 SAP ABAP Report - Stock Consistency Check







RM07KO01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With the Stock Consistency Check report (RM07KO01), you can check the consistency of your stock data at company code level, valuation level, or material level...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 RM07KO01 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 RM07KO01. "Basic submit
SUBMIT RM07KO01 AND RETURN. "Return to original report after report execution complete
SUBMIT RM07KO01 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: AKTUELL = Current Stock
Selection Text: ANZAHL = No of Recs per Insp. Operation
Selection Text: FR_P_Y = Docs from Beginning of Year
Selection Text: FR_START = Documents from System Start
Selection Text: F_REUSE = Materials from Last Run
Selection Text: MB_BESTD = MBEW <-> Stocks
Selection Text: MB_MMFI = MBEW <-> Accounting Documents
Selection Text: MB_MSEG = MSEG <-> Stocks
Selection Text: NUR_BEW = Valuated Materials Only
Selection Text: NUR_DIFF = List of Differences Only
Selection Text: P_KEY = Key
Selection Text: P_NO045 = No Unrealistic Prices
Selection Text: R_BWKEY = Valuation Area
Selection Text: R_MATNR = Material
Selection Text: SPERRE1 = Block Materials
Selection Text: VORJAHR = Stocks at End of Previous Year
Selection Text: VORMONAT = Stocks at End of Prev. Month
Title: Stock Consistency Check
Text Symbol: 604 = Correction not possible
Text Symbol: 603 = Correction effected
Text Symbol: 602 = Correction not possible (stock level would become negative)
Text Symbol: 601 = Correction not possible (blocked stock returns)
Text Symbol: 506 = Entry missing in history table
Text Symbol: 505 = Plant/valuation area not found
Text Symbol: 504 = Actual value not equal to total of documents
Text Symbol: 503 = Actual quantity not equal to total of documents
Text Symbol: 502 = Unrestricted-use stock and restricted-use stock exist
Text Symbol: 501 = Actual quantity not equal to total of valuation types
Text Symbol: 500 = Actual quantity not equal to total of stocks
Text Symbol: 097 = Key
Text Symbol: 096 = Materials from Last Run
Text Symbol: 095 = Stocks End Prev. Year
Text Symbol: 094 = Stocks End Prev.Month
Text Symbol: 093 = Current Stock
Text Symbol: 092 = No of Recs per Insp. Op.
Text Symbol: 091 = Material
Text Symbol: 090 = Valuation Area
Text Symbol: 084 = Checked Period





Text Symbol: 083 = Correction
Text Symbol: 082 = MSPR entry does not exist
Text Symbol: 081 = MSSQ entry does not exist
Text Symbol: S09 = Database Selections
Text Symbol: S03 = Scope of Check
Text Symbol: S02 = Material Worklist
Text Symbol: S01 = Checking Period
Text Symbol: D02 = due to material blocks. Repeat transaction.
Text Symbol: D01 = Cost estimate numbers still missing
Text Symbol: C02 = you do not have authorization
Text Symbol: C01 = The list is incomplete because
Text Symbol: B04 = Cancel
Text Symbol: B03 = Continue
Text Symbol: B02 = Do you want to continue processing?
Text Symbol: B01 = Cost estimate no. assigned for all materials
Text Symbol: A11 = Total Value
Text Symbol: A10 = Value
Text Symbol: A09 = Variance
Text Symbol: A08 = Total Qty
Text Symbol: A07 = Quantity
Text Symbol: A06 = Document
Text Symbol: A05 = Cat.
Text Symbol: A04 = Comment/Incorrect Tables
Text Symbol: A03 = Total Documents Total Documents
Text Symbol: A02 = Total Stock
Text Symbol: A01 = Material ValA Stock Qty UoM Stock Value LC Price PU
Text Symbol: 080 = MSSA entry does not exist
Text Symbol: 043 = Non-Zero Value with Zero Quantity
Text Symbol: 041 = Value/Quantity
Text Symbol: 036 = Valuation Price
Text Symbol: 034 = Cost. Est. No.
Text Symbol: 033 = Actual Value
Text Symbol: 032 = Stock Value
Text Symbol: 031 = Total ValTypes
Text Symbol: 030 = Total Docs
Text Symbol: 029 = Total Index
Text Symbol: 028 = Total Stock
Text Symbol: 027 = Actual Quantity
Text Symbol: 026 = Stock Quantity





Text Symbol: 023 = Sales Order
Text Symbol: 021 = Valuation Type
Text Symbol: 018 = Valuation Types
Text Symbol: 017 = Non-Valuated
Text Symbol: 016 = Valuation Segment
Text Symbol: 015 = Incorrect Price
Text Symbol: 014 = Negative Price
Text Symbol: 013 = Value w. Quantity of Zero
Text Symbol: 012 = New Cost Estimate No.
Text Symbol: 011 = Cost Estimate No. Missing
Text Symbol: 010 = Non-Valuated
Text Symbol: 009 = T134M Entry Not Found:
Text Symbol: 008 = MARA Not Found
Text Symbol: 007 = Blocked => No Check
Text Symbol: 006 = No Materials with Errors Found
Text Symbol: 005 = No Material Valuation Record MBEW Found
Text Symbol: 004 = Cost Estimate Number Will Be Assigned
Text Symbol: 003 = Blocked MBEW Records Checked
Text Symbol: 002 = Preparing List...
Text Symbol: 001 = MBEW Records Checked
Text Symbol: 079 = MSKA entry does not exist
Text Symbol: 078 = MSKU entry does not exist
Text Symbol: 077 = MKOL entry does not exist
Text Symbol: 076 = MSLB entry does not exist
Text Symbol: 075 = MARC entry does not exist
Text Symbol: 074 = MCHB entry does not exist
Text Symbol: 073 = MARD entry does not exist
Text Symbol: 072 = Material ledger: price inconsistency
Text Symbol: 071 = Material ledger: value inconsistency
Text Symbol: 070 = Material ledger: quantity inconsistency
Text Symbol: 069 = Material ledger price record inconsistent
Text Symbol: 068 = Mat. ledger currency rec. does not exist for previous year
Text Symbol: 067 = Mat. ledger currency rec. does not exist for previous period
Text Symbol: 066 = Mat. ledger currency rec. does not exist for current period
Text Symbol: 065 = Material ledger record does not exist for the previous year
Text Symbol: 064 = Material ledger record does not exist for the previous month
Text Symbol: 063 = Material ledger record does not exist for the current period
Text Symbol: 062 = Material ledger price record does not exist
Text Symbol: 061 = Material ledger header record does not exist



Text Symbol: 060 = Negative stock balances not allowed
Text Symbol: 059 = Batches exist although material is not handled in batches
Text Symbol: 058 = MARC entry does not exist
Text Symbol: 057 = Total Non-Val.
Text Symbol: 056 = Total Valuated
Text Symbol: 055 = Total Docs
Text Symbol: 054 = Total Stock
Text Symbol: 053 = Actual Quantity
Text Symbol: 052 = Batch Stock
Text Symbol: 051 = SLoc Stock
Text Symbol: 047 = Deletion Flag
Text Symbol: 045 = Unrealistic Total Value
Text Symbol: 044 = Negative Price


INCLUDES used within this REPORT RM07KO01

INCLUDE: RM07KODA, "INTERNE TABELLEN/FELDER
RM07KODY, "DATADEFINITION FOR MSEG-STOCK CALCULATION
MM07MABC,
MM07MFSY,


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:

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-b01 diagnose_object = 'RM07KO01_KALN1_ALL_Q' text_question = text-b02 text_button_1 = text-b03 icon_button_1 = 'ICON_OKAY' text_button_2 = text-b04 icon_button_2 = 'ICON_CANCEL' default_button = '1' display_cancel_button = '' userdefined_f1_help = 'RM07KO01_KALN1_ALL' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = answer EXCEPTIONS OTHERS = 1.



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