I_ProductPRTByInternalKeyTP
BO Node : Product Resource Tool
I_ProductPRTByInternalKeyTP is a Transactional CDS View that provides data about "BO Node : Product Resource Tool" in SAP S/4HANA. It reads from 1 data source (I_MaterialPRTByInternalKey) and exposes 39 fields with key fields Product, Plant. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialPRTByInternalKey | PRT | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProductWD | _Product | $projection.Product = _Product.Product |
| [1..1] | I_ProductPlantWD | _Plant | $projection.Product = _Plant.Product and $projection.Plant = _Plant.Plant |
| [0..*] | I_ProductUnitsOfMeasureWD | _UnitOfMeasure | $projection.Product = _UnitOfMeasure.Product |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRDPRTTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | BO Node : Product Resource Tool | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.writeDraftPersistence | PROD_PLANT_PRT | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | |||
| KEY | Plant | I_MaterialPRTByInternalKey | Plant | |
| PlantForEdit | I_MaterialPRTByInternalKey | Plant | ||
| ProductionResourceToolGroup1 | I_MaterialPRTByInternalKey | ProductionResourceToolGroup1 | ||
| ProductionResourceToolGroup2 | I_MaterialPRTByInternalKey | ProductionResourceToolGroup2 | ||
| ProductionResourceUsage | I_MaterialPRTByInternalKey | ProductionResourceUsage | ||
| ProdnRsceToolControlProfile | ProdnRsceToolControlProfile | |||
| ProdnRsceToolStandardTextCode | ProdnRsceToolStandardTextCode | |||
| ProdnRsceToolTotQtyCalcFormula | ProdnRsceToolTotQtyCalcFormula | |||
| ProdnRsceToolUsageQtyCalcFmla | ProdnRsceToolUsageQtyCalcFmla | |||
| StartDateOffsetReferenceCode | StartDateOffsetReferenceCode | |||
| EndDateOffsetReferenceCode | EndDateOffsetReferenceCode | |||
| EndDateOffsetDurnIsReferenced | EndDateOffsetDurnIsReferenced | |||
| StartDateOffstDurnIsReferenced | StartDateOffstDurnIsReferenced | |||
| EndDteOffstRefCodeIsReferenced | EndDteOffstRefCodeIsReferenced | |||
| StartDateOffsetRefCodeIsRefcd | StartDateOffsetRefCodeIsRefcd | |||
| PRTTotQtyCalcFmlaIsReferenced | PRTTotQtyCalcFmlaIsReferenced | |||
| PRTUsgeQtyCalcFmlaIsReferenced | PRTUsgeQtyCalcFmlaIsReferenced | |||
| PRTControlProfileIsReferenced | PRTControlProfileIsReferenced | |||
| PRTStdTextCodeIsReferenced | PRTStdTextCodeIsReferenced | |||
| StartDateOffsetDuration | StartDateOffsetDuration | |||
| StartDateOffsetDurationUnit | StartDateOffsetDurationUnit | |||
| EndDateOffsetDuration | EndDateOffsetDuration | |||
| EndDateOffsetDurationUnit | EndDateOffsetDurationUnit | |||
| ShopFloorRtgPRTIsRegistrable | ShopFloorRtgPRTIsRegistrable | |||
| _Product | _Product | |||
| _Plant | _Plant | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _ProdnRsceToolGroup1 | _ProdnRsceToolGroup1 | |||
| _ProdnRsceToolGroup2 | _ProdnRsceToolGroup2 | |||
| _ProductionResourceUsage | _ProductionResourceUsage | |||
| _ProdnRsceToolControlProfile | _ProdnRsceToolControlProfile | |||
| _ProdnRsceToolStandardText | _ProdnRsceToolStandardText | |||
| _ProdnRsceToolTotQtyCalcFmla | _ProdnRsceToolTotQtyCalcFmla | |||
| _ProdnRsceToolUsageQtyCalcFmla | _ProdnRsceToolUsageQtyCalcFmla | |||
| _StartDateOffsetReferenceCode | _StartDateOffsetReferenceCode | |||
| _EndDateOffsetReferenceCode | _EndDateOffsetReferenceCode | |||
| _StartDateOffsetDurationUnit | _StartDateOffsetDurationUnit | |||
| _EndDateOffsetDurationUnit | _EndDateOffsetDurationUnit |
@AbapCatalog.sqlViewName: 'IPRDPRTTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@Search.searchable: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'BO Node : Product Resource Tool'
@VDM.viewType: #TRANSACTIONAL
@ObjectModel: {
writeDraftPersistence: 'PROD_PLANT_PRT',
semanticKey: [ 'Product','Plant' ],
createEnabled : true,
updateEnabled : true,
deleteEnabled : true,
usageType.serviceQuality: #A,
usageType.sizeCategory : #M,
usageType.dataClass: #MASTER
}
define view I_ProductPRTByInternalKeyTP
as select from I_MaterialPRTByInternalKey as PRT
association [1..1] to I_ProductWD as _Product on $projection.Product = _Product.Product
association [1..1] to I_ProductPlantWD as _Plant on $projection.Product = _Plant.Product
and $projection.Plant = _Plant.Plant
association [0..*] to I_ProductUnitsOfMeasureWD as _UnitOfMeasure on $projection.Product = _UnitOfMeasure.Product
{
@ObjectModel.readOnly:true
key cast ( PRT.Product as productnumber preserving type ) as Product,
@ObjectModel.readOnly:true
key PRT.Plant,
PRT.Plant as PlantForEdit,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
PRT.ProductionResourceToolGroup1,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
PRT.ProductionResourceToolGroup2,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
PRT.ProductionResourceUsage,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
ProdnRsceToolControlProfile,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
ProdnRsceToolStandardTextCode,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
ProdnRsceToolTotQtyCalcFormula,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
ProdnRsceToolUsageQtyCalcFmla,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
StartDateOffsetReferenceCode,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
EndDateOffsetReferenceCode,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
EndDateOffsetDurnIsReferenced,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
StartDateOffstDurnIsReferenced,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
EndDteOffstRefCodeIsReferenced,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
StartDateOffsetRefCodeIsRefcd,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
PRTTotQtyCalcFmlaIsReferenced,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
PRTUsgeQtyCalcFmlaIsReferenced,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
PRTControlProfileIsReferenced,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
PRTStdTextCodeIsReferenced,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
StartDateOffsetDuration,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
@ObjectModel.foreignKey.association: '_StartDateOffsetDurationUnit'
StartDateOffsetDurationUnit,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
EndDateOffsetDuration,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
@ObjectModel.foreignKey.association: '_EndDateOffsetDurationUnit'
EndDateOffsetDurationUnit,
@ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
ShopFloorRtgPRTIsRegistrable,
@ObjectModel.association.type: [ #TO_COMPOSITION_ROOT ]
_Product,
@ObjectModel.association.type: [ #TO_COMPOSITION_PARENT ]
_Plant,
_UnitOfMeasure,
_ProdnRsceToolGroup1,
_ProdnRsceToolGroup2,
_ProductionResourceUsage,
_ProdnRsceToolControlProfile,
_ProdnRsceToolStandardText,
_ProdnRsceToolTotQtyCalcFmla,
_ProdnRsceToolUsageQtyCalcFmla,
_StartDateOffsetReferenceCode,
_EndDateOffsetReferenceCode,
_StartDateOffsetDurationUnit,
_EndDateOffsetDurationUnit
}
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