I_InspLotCharcNumberOfDefects
Number of Defects for Inspection Charc
I_InspLotCharcNumberOfDefects is a Composite CDS View that provides data about "Number of Defects for Inspection Charc" in SAP S/4HANA. It reads from 3 data sources (I_Defect, I_NotificationItem, I_QltyNotification) and exposes 8 fields.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_Defect | I_Defect | union |
| I_NotificationItem | I_NotificationItem | from |
| I_QltyNotification | I_QltyNotification | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Number of Defects for Inspection Charc | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| InspectionLot | I_QltyNotification | InspectionLot | ||
| InspPlanOperationInternalID | I_NotificationItem | InspPlanOperationInternalID | ||
| InspectionCharacteristic | I_NotificationItem | InspectionCharacteristic | ||
| InspectionSubsetInternalID | I_NotificationItem | InspectionSubsetInternalID | ||
| InspPlanOperationInternalID | InspPlanOperationInternalID | |||
| InspectionCharacteristic | InspectionCharacteristic | |||
| InspectionSubsetInternalID | I_Defect | InspectionSubsetInternalID | ||
| NumberOfDefects |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'Number of Defects for Inspection Charc'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #M,
dataClass: #TRANSACTIONAL
}
@VDM.viewType: #COMPOSITE
define view entity I_InspLotCharcNumberOfDefects
as select from I_NotificationItem
inner join I_QltyNotification on I_NotificationItem.Notification = I_QltyNotification.QualityNotification
{
I_QltyNotification.InspectionLot,
I_NotificationItem.InspPlanOperationInternalID,
I_NotificationItem.InspectionCharacteristic,
I_NotificationItem.InspectionSubsetInternalID,
sum(I_NotificationItem.NumberOfDefects) as NumberOfDefects
}
where
I_QltyNotification.InspectionLot is not initial
group by
I_QltyNotification.InspectionLot,
I_NotificationItem.InspPlanOperationInternalID,
I_NotificationItem.InspectionCharacteristic,
I_NotificationItem.InspectionSubsetInternalID
union select from I_Defect
{
InspectionLot,
InspPlanOperationInternalID,
InspectionCharacteristic,
I_Defect.InspectionSubsetInternalID,
sum(NumberOfDefects) as NumberOfDefects
}
where
I_Defect.InspectionLot is not initial
group by
InspectionLot,
InspPlanOperationInternalID,
InspectionCharacteristic,
InspectionSubsetInternalID
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