I_Productplantqtmanagement
Product Plant QM
I_Productplantqtmanagement is a Basic CDS View (Dimension) that provides data about "Product Plant QM" in SAP S/4HANA. It reads from 1 data source (P_ProductPlantBasic) and exposes 15 fields with key fields Product, Plant. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProductPlantBasic | PlantQualityMgmt | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [0..1] | I_QualityMgmtCtrlKey | _QualityMgmtCtrlKey | $projection.QualityMgmtCtrlKey = _QualityMgmtCtrlKey.QualityMgmtCtrlKey |
| [0..1] | E_Productplant | _ProdPlantQtMgmtExt | $projection.Product = _ProdPlantQtMgmtExt.Product and $projection.Plant = _ProdPlantQtMgmtExt.Plant |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | I_QualityCertificateType | _QualityCertificateType | $projection.ProductQualityCertificateType = _QualityCertificateType.QualityCertificateType |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRDPLANTQM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Product Plant QM | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | Product | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | P_ProductPlantBasic | Product | |
| KEY | Plant | P_ProductPlantBasic | Plant | |
| MaximumStoragePeriod | P_ProductPlantBasic | MaximumStoragePeriod | ||
| QualityMgmtCtrlKey | P_ProductPlantBasic | QualityMgmtCtrlKey | ||
| _QualityMgmtCtrlKey | _QualityMgmtCtrlKey | |||
| MatlQualityAuthorizationGroup | P_ProductPlantBasic | MatlQualityAuthorizationGroup | ||
| HasPostToInspectionStock | ||||
| IsActiveEntity | ||||
| InspLotDocumentationIsRequired | P_ProductPlantBasic | InspLotDocumentationIsRequired | ||
| SuplrQualityManagementSystem | P_ProductPlantBasic | SuplrQualityManagementSystem | ||
| RecrrgInspIntervalTimeInDays | P_ProductPlantBasic | RecrrgInspIntervalTimeInDays | ||
| ProductQualityCertificateType | P_ProductPlantBasic | ProductQualityCertificateType | ||
| ProductPlantHasInspectionSetup | P_ProductPlantBasic | ProductPlantHasInspectionSetup | ||
| _Product | _Product | |||
| _Plant | _Plant |
@AbapCatalog: {
sqlViewName: 'IPRDPLANTQM',
compiler.compareFilter: true,
preserveKey: true
}
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Product Plant QM'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #XL
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations:true
@Analytics:{
dataCategory: #DIMENSION,
dataExtraction: {
enabled: true,
delta.changeDataCapture.automatic: true
}
}
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#EXTRACTION_DATA_SOURCE
]
@Metadata.allowExtensions:true
@ObjectModel.representativeKey: 'Product'
define view I_Productplantqtmanagement
as select from P_ProductPlantBasic as PlantQualityMgmt
association [1..1] to I_Product as _Product on $projection.Product = _Product.Product
association [0..1] to I_QualityMgmtCtrlKey as _QualityMgmtCtrlKey on $projection.QualityMgmtCtrlKey = _QualityMgmtCtrlKey.QualityMgmtCtrlKey
association [0..1] to E_Productplant as _ProdPlantQtMgmtExt on $projection.Product = _ProdPlantQtMgmtExt.Product
and $projection.Plant = _ProdPlantQtMgmtExt.Plant
association [1..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [1..1] to I_QualityCertificateType as _QualityCertificateType on $projection.ProductQualityCertificateType = _QualityCertificateType.QualityCertificateType
{
key PlantQualityMgmt.Product,
@ObjectModel.foreignKey.association: '_Plant'
key PlantQualityMgmt.Plant,
PlantQualityMgmt.MaximumStoragePeriod,
@ObjectModel.foreignKey.association:'_QualityMgmtCtrlKey'
PlantQualityMgmt.QualityMgmtCtrlKey,
_QualityMgmtCtrlKey,
PlantQualityMgmt.MatlQualityAuthorizationGroup,
PlantQualityMgmt. HasPostToInspectionStock,
cast( 'X' as sdraft_is_active preserving type ) as IsActiveEntity, // to enbale extensibility in Draft 2.0
// New fields from MDG model, as part of unified API development
PlantQualityMgmt.InspLotDocumentationIsRequired,
//PlantQualityMgmt.qmata as MatlQualityAuthorizationGroup,
PlantQualityMgmt.SuplrQualityManagementSystem,
PlantQualityMgmt.RecrrgInspIntervalTimeInDays,
PlantQualityMgmt.ProductQualityCertificateType,
PlantQualityMgmt.ProductPlantHasInspectionSetup,
_Product,
_Plant
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_PRODUCTPLANTBASIC"
],
"ASSOCIATED":
[
"E_PRODUCTPLANT",
"I_PLANT",
"I_PRODUCT",
"I_QUALITYCERTIFICATETYPE",
"I_QUALITYMGMTCTRLKEY"
],
"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