P_TrackToolUsageOAPRT

DDL: P_TRACKTOOLUSAGEOAPRT SQL: PTTUOAPRTNAMES Type: view COMPOSITE

P_TrackToolUsageOAPRT is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_EquipmentPRTByInternalKey, I_MaterialPRTByInternalKey) and exposes 8 fields with key fields ProductionResourceType, ProductionResourceInternalID, ProductionResourceInternalID.

Data Sources (2)

SourceAliasJoin Type
I_EquipmentPRTByInternalKey crfh from
I_MaterialPRTByInternalKey crfh union_all

Annotations (10)

NameValueLevelField
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 (8)

KeyFieldSource TableSource FieldDescription
KEY ProductionResourceType I_MaterialPRTByInternalKey ProductionResourceType Object Type
KEY ProductionResourceInternalID I_MaterialPRTByInternalKey ProductionResourceInternalID Object ID
Equipment I_MaterialPRTByInternalKey Equipment Equipment check
Material Vehicle Model
KEY ProductionResourceInternalID I_MaterialPRTByInternalKey ProductionResourceInternalID Object ID
Equipment Equipment check
Material I_MaterialPRTByInternalKey Material Vehicle Model
ProductionResourceUsage I_MaterialPRTByInternalKey ProductionResourceUsage

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 P_TrackToolUsageOAPRT.
-- 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: PTTUOAPRTNAMES

CREATE VIEW P_TrackToolUsageOAPRT AS
SELECT
  crfh.ProductionResourceType AS ProductionResourceType,
  crfh.ProductionResourceInternalID AS ProductionResourceInternalID,
  crfh.Equipment AS Equipment,
  crfh._Equipment.Material AS Material,
  crfh.ProductionResourceUsage AS ProductionResourceUsage
FROM I_EquipmentPRTByInternalKey AS crfh
-- UNION ALL with additional select branch(es): I_MaterialPRTByInternalKey
;