I_MaterialPRTByInternalKey
Material PRT by internal key
I_MaterialPRTByInternalKey is a Basic CDS View (Dimension) that provides data about "Material PRT by internal key" in SAP S/4HANA. It reads from 2 data sources (crvm_a, I_ProdnRsceToolMasterData) and exposes 53 fields with key fields ProductionResourceType, ProductionResourceInternalID. It has 6 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| crvm_a | crvm_a | inner |
| I_ProdnRsceToolMasterData | PRT | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | I_ProductPlant | _ProductPlant | $projection.Product = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant |
| [1..1] | I_ProductPlantBasic | _ProductPlant2 | $projection.Product = _ProductPlant2.Product and $projection.Plant = _ProductPlant2.Plant |
| [1..1] | I_MaterialProdnRsceTool | _MaterialProdnRsceTool | $projection.Plant = _MaterialProdnRsceTool.Plant and $projection.Material = _MaterialProdnRsceTool.Material |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPMATERIALPRTIK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | ProductionResourceInternalID | view | |
| ObjectModel.semanticKey | Material | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Material PRT by internal key | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.allowExtensions | true | view |
Fields (53)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionResourceType | I_ProdnRsceToolMasterData | ProductionResourceType | Object Type |
| KEY | ProductionResourceInternalID | I_ProdnRsceToolMasterData | ProductionResourceInternalID | Object ID |
| Plant | crvm_a | werks | Receiving Plant | |
| Material | crvm_a | matnr | Vehicle Model | |
| Product | crvm_a | matnr | Vehicle Model | |
| ProductionResourceToolGroup1 | I_ProdnRsceToolMasterData | ProductionResourceToolGroup1 | Grouping Key 1 | |
| ProductionResourceToolGroup2 | I_ProdnRsceToolMasterData | ProductionResourceToolGroup2 | Grouping Key 2 | |
| ProductionResourceUsage | I_ProdnRsceToolMasterData | ProductionResourceUsage | Usage | |
| ProdnRsceToolControlProfile | ProdnRsceToolControlProfile | PRT Control Profile | ||
| ChangeNumber | I_ProdnRsceToolMasterData | ChangeNumber | Change Number | |
| ProdnRsceToolStandardTextCode | ProdnRsceToolStandardTextCode | Std Text Key | ||
| ProdnRsceToolTotQtyCalcFormula | ProdnRsceToolTotQtyCalcFormula | Formula | ||
| ProdnRsceToolUsageQtyCalcFmla | ProdnRsceToolUsageQtyCalcFmla | Formula | ||
| StartDateOffsetReferenceCode | StartDateOffsetReferenceCode | |||
| EndDateOffsetReferenceCode | EndDateOffsetReferenceCode | |||
| EndDateOffsetDurnIsReferenced | EndDateOffsetDurnIsReferenced | |||
| StartDateOffstDurnIsReferenced | StartDateOffstDurnIsReferenced | |||
| EndDteOffstRefCodeIsReferenced | EndDteOffstRefCodeIsReferenced | |||
| StartDateOffsetRefCodeIsRefcd | StartDateOffsetRefCodeIsRefcd | |||
| PRTTotQtyCalcFmlaIsReferenced | PRTTotQtyCalcFmlaIsReferenced | |||
| PRTUsgeQtyCalcFmlaIsReferenced | PRTUsgeQtyCalcFmlaIsReferenced | |||
| PRTControlProfileIsReferenced | PRTControlProfileIsReferenced | |||
| PRTStdTextCodeIsReferenced | PRTStdTextCodeIsReferenced | |||
| StartDateOffsetDuration | StartDateOffsetDuration | |||
| StartDateOffsetDurationUnit | StartDateOffsetDurationUnit | Unit | ||
| EndDateOffsetDuration | EndDateOffsetDuration | |||
| EndDateOffsetDurationUnit | EndDateOffsetDurationUnit | Unit | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| ShopFloorRtgPRTIsRegistrable | ShopFloorRtgPRTIsRegistrable | Registrable | ||
| _ProductionResourceType | _ProductionResourceType | |||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _Product | _Product | |||
| _ProductPlant | _ProductPlant | |||
| _ProductPlant2 | _ProductPlant2 | |||
| _ProdnRsceToolGroup1 | _ProdnRsceToolGroup1 | |||
| _ProdnRsceToolGroup2 | _ProdnRsceToolGroup2 | |||
| _ProductionResourceUsage | _ProductionResourceUsage | |||
| _ProdnRsceToolControlProfile | _ProdnRsceToolControlProfile | |||
| _ProdnRsceToolStandardText | _ProdnRsceToolStandardText | |||
| _ProdnRsceToolTotQtyCalcFmla | _ProdnRsceToolTotQtyCalcFmla | |||
| _ProdnRsceToolUsageQtyCalcFmla | _ProdnRsceToolUsageQtyCalcFmla | |||
| _StartDateOffsetReferenceCode | _StartDateOffsetReferenceCode | |||
| _EndDateOffsetReferenceCode | _EndDateOffsetReferenceCode | |||
| _StartDateOffsetDurationUnit | _StartDateOffsetDurationUnit | |||
| _EndDateOffsetDurationUnit | _EndDateOffsetDurationUnit | |||
| _MaterialProdnRsceTool | _MaterialProdnRsceTool | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _ChangeMaster | _ChangeMaster |
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 I_MaterialPRTByInternalKey.
-- 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: IPPMATERIALPRTIK
CREATE VIEW I_MaterialPRTByInternalKey AS
SELECT
PRT.ProductionResourceType AS ProductionResourceType,
PRT.ProductionResourceInternalID AS ProductionResourceInternalID,
crvm_a.werks AS Plant,
crvm_a.matnr AS Material,
crvm_a.matnr AS Product,
PRT.ProductionResourceToolGroup1 AS ProductionResourceToolGroup1,
PRT.ProductionResourceToolGroup2 AS ProductionResourceToolGroup2,
PRT.ProductionResourceUsage AS ProductionResourceUsage,
ProdnRsceToolControlProfile,
PRT.ChangeNumber AS ChangeNumber,
ProdnRsceToolStandardTextCode,
ProdnRsceToolTotQtyCalcFormula,
ProdnRsceToolUsageQtyCalcFmla,
StartDateOffsetReferenceCode,
EndDateOffsetReferenceCode,
EndDateOffsetDurnIsReferenced,
StartDateOffstDurnIsReferenced,
EndDteOffstRefCodeIsReferenced,
StartDateOffsetRefCodeIsRefcd,
PRTTotQtyCalcFmlaIsReferenced,
PRTUsgeQtyCalcFmlaIsReferenced,
PRTControlProfileIsReferenced,
PRTStdTextCodeIsReferenced,
StartDateOffsetDuration,
StartDateOffsetDurationUnit,
EndDateOffsetDuration,
EndDateOffsetDurationUnit,
CreationDate,
CreatedByUser,
LastChangeDate,
LastChangedByUser,
ShopFloorRtgPRTIsRegistrable
FROM I_ProdnRsceToolMasterData AS PRT
INNER JOIN crvm_a ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_ProductPlant AS _ProductPlant ON Product = _ProductPlant.Product AND Plant = _ProductPlant.Plant -- association [1..1]
LEFT OUTER JOIN I_ProductPlantBasic AS _ProductPlant2 ON Product = _ProductPlant2.Product AND Plant = _ProductPlant2.Plant -- association [1..1]
LEFT OUTER JOIN I_MaterialProdnRsceTool AS _MaterialProdnRsceTool ON Plant = _MaterialProdnRsceTool.Plant AND Material = _MaterialProdnRsceTool.Material -- 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