R_ProdnRtgOpEquipPRTAssgmtTP_2
Equipment PRT Assignment
R_ProdnRtgOpEquipPRTAssgmtTP_2 is a Transactional CDS View that provides data about "Equipment PRT Assignment" in SAP S/4HANA. It reads from 1 data source (I_EquipmentPRTByInternalKey) and exposes 30 fields with key fields ProductionRoutingGroup, ProductionRouting, ProductionRoutingSequence, ProductionRoutingOpIntID, BOOOperationPRTInternalID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EquipmentPRTByInternalKey | Equip | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | R_ProductionRoutingHeaderTP_2 | _Header | $projection.ProductionRoutingGroup = _Header.ProductionRoutingGroup and $projection.ProductionRouting = _Header.ProductionRouting and $projection.ValidityEndDate >= _Header.ValidityStartDate and $projection.ValidityStartDate <= _Header.ValidityEndDate |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Equipment PRT Assignment | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionRoutingGroup | PRTAssgmt | ProductionRoutingGroup | |
| KEY | ProductionRouting | PRTAssgmt | ProductionRouting | |
| KEY | ProductionRoutingSequence | PRTAssgmt | ProductionRoutingSequence | |
| KEY | ProductionRoutingOpIntID | PRTAssgmt | ProductionRoutingOpIntID | |
| KEY | BOOOperationPRTInternalID | PRTAssgmt | BOOOperationPRTInternalID | |
| KEY | BOOOperationPRTIntVersCounter | PRTAssgmt | BOOOperationPRTIntVersCounter | |
| ProductionResourceType | PRTAssgmt | ProductionResourceType | Object Type | |
| ProductionResourceInternalID | PRTAssgmt | ProductionResourceInternalID | Object ID | |
| Equipment | I_EquipmentPRTByInternalKey | Equipment | Equipment check | |
| ProdnRsceToolItemNumber | PRTAssgmt | ProdnRsceToolItemNumber | Item Number | |
| ProdnRsceToolStandardTextCode | PRTAssgmt | ProdnRsceToolStandardTextCode | ||
| ProdnRsceToolText | PRTAssgmt | ProdnRsceToolText | ||
| ProdnRsceToolControlProfile | PRTAssgmt | ProdnRsceToolControlProfile | ||
| ProdnRsceToolStandardWorkQty | PRTAssgmt | ProdnRsceToolStandardWorkQty | Quantity | |
| ProdnRsceToolStdWorkQtyUnit | PRTAssgmt | ProdnRsceToolStdWorkQtyUnit | Unit | |
| ProdnRsceToolTotQtyCalcFormula | PRTAssgmt | ProdnRsceToolTotQtyCalcFormula | ||
| ProdnRsceToolUsageQuantity | PRTAssgmt | ProdnRsceToolUsageQuantity | ||
| ProdnRsceToolUsageQuantityUnit | PRTAssgmt | ProdnRsceToolUsageQuantityUnit | ||
| ProdnRsceToolUsageQtyCalcFmla | PRTAssgmt | ProdnRsceToolUsageQtyCalcFmla | ||
| ChangeNumber | PRTAssgmt | ChangeNumber | Change Number | |
| ValidityStartDate | PRTAssgmt | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | PRTAssgmt | ValidityEndDate | ValidTo | |
| CreationDate | PRTAssgmt | CreationDate | Time Stamp | |
| CreatedByUser | PRTAssgmt | CreatedByUser | User Name | |
| LastChangeDate | PRTAssgmt | LastChangeDate | Time Stamp | |
| LastChangedByUser | PRTAssgmt | LastChangedByUser | User Name | |
| ChangedDateTime | _NonSqncTP | ChangedDateTime | Time Stamp | |
| _NonSqncTP | _NonSqncTP | |||
| _ProdnRtgTP | _ProdnRtgTP | |||
| _Header | _Header |
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 R_ProdnRtgOpEquipPRTAssgmtTP_2.
-- 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.
CREATE VIEW R_ProdnRtgOpEquipPRTAssgmtTP_2 AS
SELECT
PRTAssgmt.ProductionRoutingGroup AS ProductionRoutingGroup,
PRTAssgmt.ProductionRouting AS ProductionRouting,
PRTAssgmt.ProductionRoutingSequence AS ProductionRoutingSequence,
PRTAssgmt.ProductionRoutingOpIntID AS ProductionRoutingOpIntID,
PRTAssgmt.BOOOperationPRTInternalID AS BOOOperationPRTInternalID,
PRTAssgmt.BOOOperationPRTIntVersCounter AS BOOOperationPRTIntVersCounter,
PRTAssgmt.ProductionResourceType AS ProductionResourceType,
PRTAssgmt.ProductionResourceInternalID AS ProductionResourceInternalID,
Equip.Equipment AS Equipment,
PRTAssgmt.ProdnRsceToolItemNumber AS ProdnRsceToolItemNumber,
PRTAssgmt.ProdnRsceToolStandardTextCode AS ProdnRsceToolStandardTextCode,
PRTAssgmt.ProdnRsceToolText AS ProdnRsceToolText,
PRTAssgmt.ProdnRsceToolControlProfile AS ProdnRsceToolControlProfile,
PRTAssgmt.ProdnRsceToolStandardWorkQty AS ProdnRsceToolStandardWorkQty,
PRTAssgmt.ProdnRsceToolStdWorkQtyUnit AS ProdnRsceToolStdWorkQtyUnit,
PRTAssgmt.ProdnRsceToolTotQtyCalcFormula AS ProdnRsceToolTotQtyCalcFormula,
PRTAssgmt.ProdnRsceToolUsageQuantity AS ProdnRsceToolUsageQuantity,
PRTAssgmt.ProdnRsceToolUsageQuantityUnit AS ProdnRsceToolUsageQuantityUnit,
PRTAssgmt.ProdnRsceToolUsageQtyCalcFmla AS ProdnRsceToolUsageQtyCalcFmla,
PRTAssgmt.ChangeNumber AS ChangeNumber,
PRTAssgmt.ValidityStartDate AS ValidityStartDate,
PRTAssgmt.ValidityEndDate AS ValidityEndDate,
PRTAssgmt.CreationDate AS CreationDate,
PRTAssgmt.CreatedByUser AS CreatedByUser,
PRTAssgmt.LastChangeDate AS LastChangeDate,
PRTAssgmt.LastChangedByUser AS LastChangedByUser,
_NonSqncTP.ChangedDateTime AS ChangedDateTime
INNER JOIN I_EquipmentPRTByInternalKey AS Equip ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_ProductionRoutingHeaderTP_2 AS _Header ON ProductionRoutingGroup = _Header.ProductionRoutingGroup AND ProductionRouting = _Header.ProductionRouting AND ValidityEndDate >= _Header.ValidityStartDate AND ValidityStartDate <= _Header.ValidityEndDate -- association [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