P_TrackToolUsageOAPRT
PRT NAMES ASSIGNED TO OA
P_TrackToolUsageOAPRT is a Composite CDS View that provides data about "PRT NAMES ASSIGNED TO OA" in SAP S/4HANA. It reads from 2 data sources (I_EquipmentPRTByInternalKey, I_MaterialPRTByInternalKey) and exposes 6 fields with key fields ProductionResourceType, ProductionResourceInternalID, ProductionResourceInternalID. Part of development package MPE_EXEC_TRACKABLE_TOOLS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_EquipmentPRTByInternalKey | crfh | from |
| I_MaterialPRTByInternalKey | crfh | union |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PTTUOAPRTNAMES | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductionResourceType | I_MaterialPRTByInternalKey | ProductionResourceType | |
| KEY | ProductionResourceInternalID | I_MaterialPRTByInternalKey | ProductionResourceInternalID | |
| Equipment | I_MaterialPRTByInternalKey | Equipment | ||
| KEY | ProductionResourceInternalID | I_MaterialPRTByInternalKey | ProductionResourceInternalID | |
| Equipment | ||||
| Material | I_MaterialPRTByInternalKey | Material |
@AbapCatalog.sqlViewName: 'PTTUOAPRTNAMES'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #D, sizeCategory: #L, dataClass: #MIXED}
@VDM.viewType: #COMPOSITE
@VDM.private: true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
define view P_TrackToolUsageOAPRT
as select from I_EquipmentPRTByInternalKey as crfh
{
key crfh.ProductionResourceType as ProductionResourceType,
key crfh.ProductionResourceInternalID as ProductionResourceInternalID,
crfh.Equipment as Equipment,
crfh._Equipment.Material as Material
}
union select from I_MaterialPRTByInternalKey as crfh
{
key crfh.ProductionResourceType as ProductionResourceType,
key crfh.ProductionResourceInternalID as ProductionResourceInternalID,
'' as Equipment,
crfh.Material as Material
}
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