C_DefectFDP
FDP view for QM Defect
C_DefectFDP is a Consumption CDS View that provides data about "FDP view for QM Defect" in SAP S/4HANA. It reads from 1 data source (I_Defect_TP) and exposes 67 fields with key field Defect. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Defect_TP | _Defect | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_DefectTaskFDP | _DefectTask | $projection.DefectInternalID = _DefectTask.DefectInternalID |
| [0..*] | C_DefectAffectedObjectFDP | _DefectAffectedObject | $projection.DefectInternalID = _DefectAffectedObject.DefectInternalID |
| [1..1] | E_NotificationItem | _Extension | $projection.DefectInternalID = _Extension.Notification and _Extension.NotificationItem = '0000' |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDEFECTFDP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | FDP view for QM Defect | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.representativeKey | Defect | view | |
| Metadata.allowExtensions | true | view | |
| Consumption.semanticObject | Defect | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (67)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Defect | I_Defect_TP | Defect | |
| DefectInternalID | I_Defect_TP | DefectInternalID | ||
| DefectCategory | I_Defect_TP | DefectCategory | ||
| CreatedByUser | I_Defect_TP | CreatedByUser | ||
| CreationDate | I_Defect_TP | CreationDate | ||
| LastChangedByUser | I_Defect_TP | LastChangedByUser | ||
| LastChangeDate | I_Defect_TP | LastChangeDate | ||
| DefectText | I_Defect_TP | DefectText | ||
| DefectCodeCatalog | I_Defect_TP | DefectCodeCatalog | ||
| DefectCodeGroup | I_Defect_TP | DefectCodeGroup | ||
| DefectCode | I_Defect_TP | DefectCode | ||
| DefectCodeVersion | I_Defect_TP | DefectCodeVersion | ||
| DefectObjectCodeCatalog | I_Defect_TP | DefectObjectCodeCatalog | ||
| DefectObjectCodeGroup | I_Defect_TP | DefectObjectCodeGroup | ||
| DefectObjectCode | I_Defect_TP | DefectObjectCode | ||
| DefectObjectCodeVersion | I_Defect_TP | DefectObjectCodeVersion | ||
| DefectCauseCodeCatalog | I_Defect_TP | DefectCauseCodeCatalog | ||
| DefectCauseCodeGroup | I_Defect_TP | DefectCauseCodeGroup | ||
| DefectCauseCode | I_Defect_TP | DefectCauseCode | ||
| DefectCauseCodeVersion | I_Defect_TP | DefectCauseCodeVersion | ||
| DefectiveQuantity | I_Defect_TP | DefectiveQuantity | ||
| DefectiveQuantityUnit | I_Defect_TP | DefectiveQuantityUnit | ||
| DefectIsCreatedAutomatically | I_Defect_TP | DefectIsCreatedAutomatically | ||
| ProductionOrderOperationActy | I_Defect_TP | ProductionOrderOperationActy | ||
| ProductionOrderOpActyVers | I_Defect_TP | ProductionOrderOpActyVers | ||
| Batch | I_Defect_TP | Batch | ||
| DefectiveSingleUnit | I_Defect_TP | DefectiveSingleUnit | ||
| ProductionOrder | I_Defect_TP | ProductionOrder | ||
| OrderInternalID | I_Defect_TP | OrderInternalID | ||
| CreationTime | I_Defect_TP | CreationTime | ||
| LastChangeTime | I_Defect_TP | LastChangeTime | ||
| DefectClass | I_Defect_TP | DefectClass | ||
| NumberOfDefects | I_Defect_TP | NumberOfDefects | ||
| InspPlanOperationInternalID | I_Defect_TP | InspPlanOperationInternalID | ||
| InspectionCharacteristic | I_Defect_TP | InspectionCharacteristic | ||
| InspectionSubsetInternalID | I_Defect_TP | InspectionSubsetInternalID | ||
| MaterialSample | I_Defect_TP | MaterialSample | ||
| WorkCenterTypeCode | I_Defect_TP | WorkCenterTypeCode | ||
| MainWorkCenterInternalID | I_Defect_TP | MainWorkCenterInternalID | ||
| MainWorkCenterPlant | I_Defect_TP | MainWorkCenterPlant | ||
| MainWorkCenter | I_Defect_TP | MainWorkCenter | ||
| Equipment | I_Defect_TP | Equipment | ||
| FunctionalLocation | I_Defect_TP | FunctionalLocation | ||
| IsDeleted | I_Defect_TP | IsDeleted | ||
| DefectOrigin | I_Defect_TP | DefectOrigin | ||
| Material | I_Defect_TP | Material | ||
| Plant | I_Defect_TP | Plant | ||
| InspectionLot | I_Defect_TP | InspectionLot | ||
| CatalogProfile | I_Defect_TP | CatalogProfile | ||
| ChangedDateTime | I_Defect_TP | ChangedDateTime | ||
| DefectLifecycleStatus | I_Defect_TP | DefectLifecycleStatus | ||
| ProblemAnalysisStatus | I_Defect_TP | ProblemAnalysisStatus | ||
| QualityIssueReference | I_Defect_TP | QualityIssueReference | ||
| MasterLanguage | I_Defect_TP | MasterLanguage | ||
| DefectUUID | I_Defect_TP | DefectUUID | ||
| StorageLocation | I_Defect_TP | StorageLocation | ||
| SourceStorageBin | I_Defect_TP | SourceStorageBin | ||
| StorageType | I_Defect_TP | StorageType | ||
| ProductionSupplyArea | I_Defect_TP | ProductionSupplyArea | ||
| Warehouse | I_Defect_TP | Warehouse | ||
| BRFFunction | ||||
| _CreatedByUserContactCard | _CreatedByUserContactCard | |||
| _InspectionLot | _InspectionLot | |||
| _LastChangedByUserContactCard | _LastChangedByUserContactCard | |||
| _Product | _Product | |||
| _DefectAffectedObject | _DefectAffectedObject | |||
| _DefectTask | _DefectTask |
@AbapCatalog.sqlViewName: 'CDEFECTFDP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #BLOCKED_DATA_EXCLUDED
}
@EndUserText.label: 'FDP view for QM Defect'
@VDM: {
viewType: #CONSUMPTION,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel.supportedCapabilities:
[ #OUTPUT_FORM_DATA_PROVIDER ]
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
sizeCategory: #XL,
serviceQuality: #C },
representativeKey: 'Defect',
semanticKey: [ 'Defect' ]
}
@AccessControl.privilegedAssociations: [ '_CreatedByUserContactCard', '_LastChangedByUserContactCard' ]
@Metadata.allowExtensions: true
@Consumption.semanticObject: 'Defect'
@ClientHandling.algorithm: #SESSION_VARIABLE
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view C_DefectFDP as select from I_Defect_TP as _Defect
association [0..*] to C_DefectTaskFDP as _DefectTask on $projection.DefectInternalID = _DefectTask.DefectInternalID
association [0..*] to C_DefectAffectedObjectFDP as _DefectAffectedObject on $projection.DefectInternalID = _DefectAffectedObject.DefectInternalID
//Extension
association [1..1] to E_NotificationItem as _Extension on $projection.DefectInternalID = _Extension.Notification and
_Extension.NotificationItem = '0000'
{
//I_Defect
//key cast (substring(DefectInternalID,2,11) as qdefectid preserving type ) as Defect,
key _Defect.Defect,
_Defect.DefectInternalID,
_Defect.DefectCategory,
_Defect.CreatedByUser,
_Defect.CreationDate,
_Defect.LastChangedByUser,
_Defect.LastChangeDate,
_Defect.DefectText,
_Defect.DefectCodeCatalog,
_Defect.DefectCodeGroup,
_Defect.DefectCode,
_Defect.DefectCodeVersion,
_Defect.DefectObjectCodeCatalog,
_Defect.DefectObjectCodeGroup,
_Defect.DefectObjectCode,
_Defect.DefectObjectCodeVersion,
_Defect.DefectCauseCodeCatalog,
_Defect.DefectCauseCodeGroup,
_Defect.DefectCauseCode,
_Defect.DefectCauseCodeVersion,
_Defect.DefectiveQuantity,
_Defect.DefectiveQuantityUnit,
@Semantics.booleanIndicator: true
_Defect.DefectIsCreatedAutomatically,
_Defect.ProductionOrderOperationActy,
_Defect.ProductionOrderOpActyVers,
_Defect.Batch,
_Defect.DefectiveSingleUnit,
_Defect.ProductionOrder,
_Defect.OrderInternalID,
_Defect.CreationTime,
_Defect.LastChangeTime,
_Defect.DefectClass,
_Defect.NumberOfDefects,
_Defect.InspPlanOperationInternalID,
_Defect.InspectionCharacteristic,
_Defect.InspectionSubsetInternalID,
_Defect.MaterialSample,
_Defect.WorkCenterTypeCode,
_Defect.MainWorkCenterInternalID,
_Defect.MainWorkCenterPlant,
_Defect.MainWorkCenter,
_Defect.Equipment,
_Defect.FunctionalLocation,
_Defect.IsDeleted,
_Defect.DefectOrigin,
_Defect.Material,
_Defect.Plant,
_Defect.InspectionLot,
_Defect.CatalogProfile,
_Defect.ChangedDateTime,
_Defect.DefectLifecycleStatus,
_Defect.ProblemAnalysisStatus,
_Defect.QualityIssueReference,
_Defect.MasterLanguage,
_Defect.DefectUUID,
_Defect.StorageLocation,
_Defect.SourceStorageBin,
_Defect.StorageType,
_Defect.ProductionSupplyArea,
_Defect.Warehouse,
//needed for Print Optioning in BRF+
cast( '00' as numc2 preserving type ) as BRFFunction,
/* Associations */
_CreatedByUserContactCard,
_InspectionLot,
_LastChangedByUserContactCard,
_Product,
_DefectAffectedObject, // List of affected Materials
_DefectTask // List of associated tasks
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DEFECT_TP"
],
"ASSOCIATED":
[
"C_DEFECTAFFECTEDOBJECTFDP",
"C_DEFECTTASKFDP",
"E_NOTIFICATIONITEM",
"I_INSPECTIONLOT",
"I_PRODUCT",
"I_USERCONTACTCARD"
],
"BASE":
[
"I_DEFECT_TP"
],
"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