SAP Reports / Programs

SD_CMDC0 SAP ABAP Report - Check condition master data







SD_CMDC0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for After client copies or transports, problems often occur in the area of condition master data, for reasons such as: termination during maintenance of condition records or incorrectly set condition records in pricing The cause of the problems is often due to inconsistencies in the condition master data making it even harder to identify the condition tables, agreements or records involved...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 SD_CMDC0 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

VK+C - Condition master data check


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 SD_CMDC0. "Basic submit
SUBMIT SD_CMDC0 AND RETURN. "Return to original report after report execution complete
SUBMIT SD_CMDC0 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: INTERV = Overlapping periods
Selection Text: KAPPL = Applications
Selection Text: KONADB = Duplicated agreements
Selection Text: KONHEX = Existence of KONH records
Selection Text: KONPEX = Existence of KONP records
Selection Text: KOTABNR = Condition tables
Selection Text: KVEWE_A = Pricing
Selection Text: KVEWE_E = Rebate
Selection Text: NUMMCH = Number assignment KNUMH
Selection Text: SCHVAK = Check KSCHL and VAKEY
Selection Text: STFBZG = Scale check
Selection Text: KNUMH = D .
Selection Text: KSCHL = D .
Title: Check condition master data
Text Symbol: 052 = in table KONP
Text Symbol: 103 = Entries with temporary KNUMH
Text Symbol: 106 = Current number range status KONH
Text Symbol: 112 = Number assignment for field KNUMH
Text Symbol: 500 = mssng
Text Symbol: 501 = exists
Text Symbol: 502 = Untested
Text Symbol: 503 = incorr
Text Symbol: 600 = All checks
Text Symbol: 601 = No check
Text Symbol: 602 = Comments
Text Symbol: 603 = No. Range KONH (max.)
Text Symbol: 604 = No. Range KONP (max.)
Text Symbol: 605 = Status
Text Symbol: 606 = Number Range OK
Text Symbol: 607 = Max. No. in KONH/KONH > Cur. No.Range
Text Symbol: 608 = Variable Key
Text Symbol: 609 = CType Cond.Tab
Text Symbol: 610 = Variable Cond.Tab. Key
Text Symbol: 611 = CTyp KONH
Text Symbol: 612 = Variable KONH Key
Text Symbol: 613 = CTyp KONP
Text Symbol: 622 = No Restriction
Text Symbol: 623 = Cond. Type





Text Symbol: 624 = Record No.
Text Symbol: 001 = Usage
Text Symbol: 002 = Tables
Text Symbol: 003 = CheckScope
Text Symbol: 004 = Condition records exist for every entry in the condition tables
Text Symbol: 005 = CTyp
Text Symbol: 006 = Variable key
Text Symbol: 007 = Tab
Text Symbol: 008 = No deviation for condition keys and VAKEY
Text Symbol: 010 = No deviations for entries in KONM / KONW
Text Symbol: 011 = No duplicated agreements
Text Symbol: 012 = Table entry
Text Symbol: 013 = Rj
Text Symbol: 014 = No overlap of validity periods
Text Symbol: 017 = No entries
Text Symbol: 018 = Application
Text Symbol: 019 = Restriction of Selection
Text Symbol: 020 = Consistency check KONH / KONP
Text Symbol: 021 = Check condition key and VAKEY
Text Symbol: 022 = Check scale ref. value
Text Symbol: 023 = Check for duplicated agreements
Text Symbol: 024 = Overlapping periods
Text Symbol: 025 = KNUMH
Text Symbol: 026 = KONH rec.
Text Symbol: 027 = KONP rec.
Text Symbol: 031 = Arrngment no.
Text Symbol: 032 = End
Text Symbol: 033 = KZBZG
Text Symbol: 036 = but qty scale exists
Text Symbol: 037 = but value scale exists
Text Symbol: 040 = Table
Text Symbol: 041 = Error
Text Symbol: 042 = Import KONH
Text Symbol: 043 = Import KONP
Text Symbol: 044 = Check recs
Text Symbol: 045 = Import condition table
Text Symbol: 046 = Check agreements
Text Symbol: 047 = Validity periods
Text Symbol: 050 = in the condition table





Text Symbol: 051 = in table KONH


INCLUDES used within this REPORT SD_CMDC0

INCLUDE CMDC0TOP.
INCLUDE CMDC0001.
INCLUDE CMDC0002.
INCLUDE CMDC0003.


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:

RV_CONDITION_RESET CALL FUNCTION 'RV_CONDITION_RESET'.

RV_CONDITION_RECORD CALL FUNCTION 'RV_CONDITION_RECORD' EXPORTING condition_number = xresult-knumh item_number = '01' condition_use = act_kvewe.



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