P_TrackToolUsageSingleOpActy
P_TrackToolUsageSingleOpActy is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_OpActyInstceOpActyNtwkElmnt, I_OrderOperationBasic, P_TrackToolUsageOpActyMin, I_TrackToolUsageHistOpActy) and exposes 7 fields with key field EquipmentHistoryDocument.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_OpActyInstceOpActyNtwkElmnt | OpActyInstanceOpActyNtwkElmnt | inner |
| I_OrderOperationBasic | OrderOperation | inner |
| P_TrackToolUsageOpActyMin | P_TrackToolUsageOpActyMin | inner |
| I_TrackToolUsageHistOpActy | UsageHistOpActy | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PTTUSINGLEOA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EquipmentHistoryDocument | I_TrackToolUsageHistOpActy | EquipmentHistoryDocument | |
| OpActyNtwkElementExternalID | I_OpActyInstceOpActyNtwkElmnt | OpActyNtwkElementExternalID | ||
| OperationActivityName | ||||
| OrderID | ||||
| Operation | I_OrderOperationBasic | Operation | ||
| OperationText | I_OrderOperationBasic | OperationText | ||
| _Order |
@AbapCatalog.sqlViewName: 'PTTUSINGLEOA'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
usageType: {
dataClass: #MIXED,
sizeCategory: #L,
serviceQuality: #A
}
}
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_TrackToolUsageSingleOpActy
as select from I_TrackToolUsageHistOpActy as UsageHistOpActy
inner join P_TrackToolUsageOpActyMin on P_TrackToolUsageOpActyMin.EquipmentHistoryDocument = UsageHistOpActy.EquipmentHistoryDocument
and P_TrackToolUsageOpActyMin.OpActyNtwkInstance = UsageHistOpActy.OpActyNtwkInstance
and P_TrackToolUsageOpActyMin.OpActyNtwkElement = UsageHistOpActy.OpActyNtwkElement
inner join I_OpActyInstceOpActyNtwkElmnt as OpActyInstanceOpActyNtwkElmnt on UsageHistOpActy.OpActyNtwkInstance = OpActyInstanceOpActyNtwkElmnt.OpActyNtwkInstance
and UsageHistOpActy.OpActyNtwkElement = OpActyInstanceOpActyNtwkElmnt.OpActyNtwkElement
inner join I_OrderOperationBasic as OrderOperation on OrderOperation.OrderInternalID = OpActyInstanceOpActyNtwkElmnt.OrderInternalID
and OrderOperation.OrderOperationInternalID = OpActyInstanceOpActyNtwkElmnt.OrderOperationInternalID
{
key UsageHistOpActy.EquipmentHistoryDocument,
OpActyInstanceOpActyNtwkElmnt.OpActyNtwkElementExternalID,
OpActyInstanceOpActyNtwkElmnt._OperationActivityText[1: Language = $session.system_language].OperationActivityName,
OrderOperation._OrderInternalID.OrderID as OrderID,
OrderOperation.Operation,
OrderOperation.OperationText,
OrderOperation._OrderInternalID._Order
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_OPACTYINSTCEOPACTYNTWKELMNT",
"I_OPERATIONACTIVITYTEXT",
"I_ORDERINTERNALID",
"I_ORDEROPERATIONBASIC",
"I_TRACKTOOLUSAGEHISTOPACTY",
"P_TRACKTOOLUSAGEOPACTYMIN"
],
"ASSOCIATED":
[
"I_ORDER"
],
"BASE":
[
"I_ORDERINTERNALID"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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