C_DefectCalc
Manage Defects Calculation Fields
C_DefectCalc is a Consumption CDS View that provides data about "Manage Defects Calculation Fields" in SAP S/4HANA. It reads from 1 data source (I_DefectUnion) and exposes 2 fields with key field DefectInternalID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DefectUnion | I_DefectUnion | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDEFECTCALC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Manage Defects Calculation Fields | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DefectInternalID | DefectInternalID | ||
| NumberOfDefects | NumberOfDefects |
@AbapCatalog.sqlViewName: 'CDEFECTCALC'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Manage Defects Calculation Fields'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
define view C_DefectCalc as select from I_DefectUnion
{
key DefectInternalID,
NumberOfDefects,
//@ObjectModel.readOnly: true
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
case
when NumberOfDefects > 0 then 1
else 3
end as NumberOfDefectsCriticality
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DEFECTUNION"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA