C_SFIMfgDefectDcsnScrap
View for SFI with decision Scrap
C_SFIMfgDefectDcsnScrap is a Consumption CDS View that provides data about "View for SFI with decision Scrap" in SAP S/4HANA. It reads from 2 data sources (I_MfgOrdDefectDecision, I_Defect_TP) and exposes 2 fields with key field ShopFloorItem. Part of development package MPE_EXEC_NON_CONFORMANCE.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrdDefectDecision | DefectDecision | inner |
| I_Defect_TP | DefectTP | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSFIMFGDEFSCRAP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | View for SFI with decision Scrap | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ShopFloorItem | InspectionSubset | ShopFloorItem | |
| Defect |
@AbapCatalog.sqlViewName: 'CSFIMFGDEFSCRAP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'View for SFI with decision Scrap'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM: {viewType: #CONSUMPTION}
define view C_SFIMfgDefectDcsnScrap
as select distinct from I_InspectionSubset as InspectionSubset
inner join I_Defect_TP as DefectTP on DefectTP.InspectionLot = InspectionSubset.InspectionLot
and DefectTP.InspPlanOperationInternalID = InspectionSubset.InspPlanOperationInternalID
and DefectTP.InspectionSubsetInternalID = InspectionSubset.InspectionSubsetInternalID
inner join I_MfgOrdDefectDecision as DefectDecision on DefectDecision.Notification = DefectTP.DefectInternalID
and DefectDecision.NotificationItem = '0000'
{
key InspectionSubset.ShopFloorItem,
max(DefectTP.Defect) as Defect
}
where
DefectDecision.MfgDefectDecision = '2'
and InspectionSubset.InspectionSubsetInternalID <> '000000'
group by
ShopFloorItem
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