C_DefectAffectedObjectFDP
FDP view for QM Defect Affected Object
C_DefectAffectedObjectFDP is a Consumption CDS View that provides data about "FDP view for QM Defect Affected Object" in SAP S/4HANA. It reads from 1 data source (I_DefectAffectedObjectTP) and exposes 13 fields with key fields DefectInternalID, DefectAffectedObject. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DefectAffectedObjectTP | _DefectAffectedObjectTP | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_DefectFDP | _Defect | $projection.DefectInternalID = _Defect.DefectInternalID |
| [1..1] | E_DefectAffectedObject | _Extension | $projection.DefectInternalID = _Extension.Notification and _Extension.NotificationItem = '0000' and $projection.DefectAffectedObject = _Extension.DefectAffectedObject |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDEFECTAOFDP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | FDP view for QM Defect Affected Object | 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 | DefectInternalID | view | |
| Metadata.allowExtensions | true | view | |
| Consumption.semanticObject | Defect | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DefectInternalID | I_DefectAffectedObjectTP | DefectInternalID | Internal Defect ID |
| KEY | DefectAffectedObject | I_DefectAffectedObjectTP | DefectAffectedObject | |
| Defect | I_DefectAffectedObjectTP | Defect | ||
| DefectAffectedObjectType | I_DefectAffectedObjectTP | DefectAffectedObjectType | ||
| Material | I_DefectAffectedObjectTP | Material | Vehicle Model | |
| DefectAffectedObjectQuantity | I_DefectAffectedObjectTP | DefectAffectedObjectQuantity | ||
| DefectAffcdObjQuantityUnit | I_DefectAffectedObjectTP | DefectAffcdObjQuantityUnit | ||
| Batch | I_DefectAffectedObjectTP | Batch | Lot No. | |
| QltyTaskFollowUpAction | I_DefectAffectedObjectTP | QltyTaskFollowUpAction | ||
| QltyTaskFllwUpActionSts | I_DefectAffectedObjectTP | QltyTaskFllwUpActionSts | ||
| QualityTask | I_DefectAffectedObjectTP | QualityTask | ||
| DefectAffcdObjIsDefective | I_DefectAffectedObjectTP | DefectAffcdObjIsDefective | ||
| _Defect | _Defect |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_DefectAffectedObjectFDP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CDEFECTAOFDP
CREATE VIEW C_DefectAffectedObjectFDP AS
SELECT
_DefectAffectedObjectTP.DefectInternalID AS DefectInternalID,
_DefectAffectedObjectTP.DefectAffectedObject AS DefectAffectedObject,
_DefectAffectedObjectTP.Defect AS Defect,
_DefectAffectedObjectTP.DefectAffectedObjectType AS DefectAffectedObjectType,
_DefectAffectedObjectTP.Material AS Material,
_DefectAffectedObjectTP.DefectAffectedObjectQuantity AS DefectAffectedObjectQuantity,
_DefectAffectedObjectTP.DefectAffcdObjQuantityUnit AS DefectAffcdObjQuantityUnit,
_DefectAffectedObjectTP.Batch AS Batch,
_DefectAffectedObjectTP.QltyTaskFollowUpAction AS QltyTaskFollowUpAction,
_DefectAffectedObjectTP.QltyTaskFllwUpActionSts AS QltyTaskFllwUpActionSts,
_DefectAffectedObjectTP.QualityTask AS QualityTask,
_DefectAffectedObjectTP.DefectAffcdObjIsDefective AS DefectAffcdObjIsDefective
FROM I_DefectAffectedObjectTP AS _DefectAffectedObjectTP
LEFT OUTER JOIN C_DefectFDP AS _Defect ON DefectInternalID = _Defect.DefectInternalID -- association [1..1]
LEFT OUTER JOIN E_DefectAffectedObject AS _Extension ON DefectInternalID = _Extension.Notification AND _Extension.NotificationItem = '0000' AND DefectAffectedObject = _Extension.DefectAffectedObject -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA