SAPRCKM_KALNR_CONSISTENCY 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 SAPRCKM_KALNR_CONSISTENCY into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
KALNRREORG - Reorg. of Old Costing Number Entries
KALNRCHECK - Consist. Check for Costing Run Nos.
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: S_TYPE = D .
Selection Text: S_OTABLE = D .
Selection Text: S_KALNR = D .
Selection Text: STANDARD = Standard check
Selection Text: P_MAT_QU = Delete Despite Inventory/Value
Selection Text: OVERALL = Global consistency check
Title: Consistency check of costing numbers
Text Symbol: 026 = Number of Entries in Table CKMLKEPH:
Text Symbol: 027 = Number of Entries in Table CKMLPRKEPH:
Text Symbol: 028 = Number of Entries in Table MLCD:
Text Symbol: 030 = Entry CKMLPP with Inventory Quantity:
Text Symbol: 031 = Entry CKMLCR with Inventory Value:
Text Symbol: 032 = Entries from CKMLHD Deleted:
Text Symbol: 033 = Entries from CKMLPR Deleted:
Text Symbol: 034 = Entries from CKMLPP Deleted:
Text Symbol: 035 = Entries from CKMLCR Deleted:
Text Symbol: 036 = Entries from CKMLKALNR Deleted:
Text Symbol: 037 = Entries from CKMLPRKEKO Deleted:
Text Symbol: 038 = Entries from CKMLKEPH Deleted:
Text Symbol: 039 = Entries from CKMLPRKEPH Deleted:
Text Symbol: 040 = Entries from MLCD Deleted:
Text Symbol: 041 = Selected Function:
Text Symbol: 100 = Cost estimate numbers reorganized
Text Symbol: 025 = Number of Entries in Table CKMLPRKEKO:
Text Symbol: 001 = No entries in the original table:
Text Symbol: 002 = Serious inconsistency:
Text Symbol: 003 = not found in
Text Symbol: 004 = Number
Text Symbol: 005 = No inconsistent cost estimate numbers
Text Symbol: 006 = Largest costing number found:
Text Symbol: 007 = Current no. level
Text Symbol: 008 = Costing number assigned several times:
Text Symbol: 009 = Table:
Text Symbol: 010 = Check MBEW
Text Symbol: 011 = Check EBEW
Text Symbol: 012 = Check QBEW
Text Symbol: 013 = Check OBEW
Text Symbol: 014 = Check CKMLMV001
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = last_percentage text = text-017.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = wa_kalnr-otable IMPORTING gotstate = tablestate EXCEPTIONS illegal_input = 1 OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = last_percentage text = text-017.
CKMS_KALNR_INFO_GET CALL FUNCTION 'CKMS_KALNR_INFO_GET' EXPORTING * REFRESH_BUFFER = 'X' if_ckmlkalnr = lf_ckmlkalnr consistency_check = 'X' IMPORTING ef_ckmlkalnr = lf_ckmlkalnr EXCEPTIONS interface_error = 1 OTHERS = 2.
CK_F_KLVAR_NUMBERAREA_ASSIGN CALL FUNCTION 'CK_F_KLVAR_NUMBERAREA_ASSIGN' EXPORTING p_unit_costing = space EXCEPTIONS OTHERS = 1.
CK_F_TCK03_STANDARD_READING CALL FUNCTION 'CK_F_TCK03_STANDARD_READING' EXPORTING valuation = '0' TABLES t_tck03 = lt_tck03.
CK_F_TCK03_HIERARCHY_READING CALL FUNCTION 'CK_F_TCK03_HIERARCHY_READING' EXPORTING p_klvar = ld_klvar IMPORTING f_tck03 = ls_tck03 f_tck01 = ls_tck01 f_tck05 = ls_tck05 f_tck22 = ls_tck22 EXCEPTIONS OTHERS = 0.
CK_F_TCK03_HIERARCHY_READING CALL FUNCTION 'CK_F_TCK03_HIERARCHY_READING' EXPORTING p_klvar = ld_klvar p_refresh_cache = 'X' IMPORTING f_tck03 = ls_tck03.
NUMBER_GET_INFO CALL FUNCTION 'NUMBER_GET_INFO' EXPORTING nr_range_nr = ls_tck03-numkr object = ls_tck22-object IMPORTING interval = ld_interval EXCEPTIONS interval_not_found = 1 object_not_found = 2 OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 15 text = text-010.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 30 text = text-011.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 45 text = text-012.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 60 text = text-013.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 75 text = text-014.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 90 text = text-015.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 100 text = text-016.
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 SAPRCKM_KALNR_CONSISTENCY or its description.
SAPRCKM_KALNR_CONSISTENCY - Consistency check of costing numbers SAPRCKM_KALNR_CONSISTENCY - Consistency check of costing numbers SAPRCKM_CURRENCIES_CHECK - Currency Types and Valuations in ML, FI and CO SAPRCKM_CURRENCIES_CHECK - Currency Types and Valuations in ML, FI and CO SAPRCKM_CORRECT_MGV_DATA - Corrects the Quantity Structure Using Corrected Documents (If Any) SAPRCKM_CORRECT_MGV_DATA - Corrects the Quantity Structure Using Corrected Documents (If Any)