I_TrackToolUsageHistory
Track Tool Usage: History for equipment
I_TrackToolUsageHistory is a Basic CDS View that provides data about "Track Tool Usage: History for equipment" in SAP S/4HANA. It reads from 1 data source (mpe_tt_claim_hst) and exposes 10 fields with key fields Equipment, EquipmentHistoryDocument. It has 3 associations to related views. Part of development package MPE_EXEC_TRACKABLE_TOOLS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mpe_tt_claim_hst | mpe_tt_claim_hst | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_TrackToolUsageClaimType | _TrackToolUsageClaimType | $projection.EquipmentClaimType = _TrackToolUsageClaimType.EquipmentClaimType |
| [0..1] | I_UserDescription | _ClaimUserDescription | $projection.EquipmentClaimedByUser = _ClaimUserDescription.UserID |
| [0..1] | I_UserDescription | _UnclaimUserDescription | $projection.EquipmentUnclaimedByUser = _UnclaimUserDescription.UserID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ITTUHISTORY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | EquipmentHistoryDocument | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Track Tool Usage: History for equipment | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Equipment | equnr | Equipment | |
| KEY | EquipmentHistoryDocument | docnmbr | Document Number | |
| EquipmentClaimType | claim_type | Claim Type | ||
| EquipmentClaimedByUser | claim_created_by | Claimed By | ||
| EquipmentClaimDateTime | claim_timestamp | Claimed On | ||
| EquipmentUnclaimedByUser | unclaim_created_by | Unclaimed By | ||
| EquipmentUnclaimDateTime | unclaim_timestamp | Unclaimed On | ||
| _TrackToolUsageClaimType | _TrackToolUsageClaimType | |||
| _ClaimUserDescription | _ClaimUserDescription | |||
| _UnclaimUserDescription | _UnclaimUserDescription |
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_TrackToolUsageHistory.
-- 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: ITTUHISTORY
CREATE VIEW I_TrackToolUsageHistory AS
SELECT
equnr AS Equipment,
docnmbr AS EquipmentHistoryDocument,
claim_type AS EquipmentClaimType,
claim_created_by AS EquipmentClaimedByUser,
claim_timestamp AS EquipmentClaimDateTime,
unclaim_created_by AS EquipmentUnclaimedByUser,
unclaim_timestamp AS EquipmentUnclaimDateTime
FROM mpe_tt_claim_hst
LEFT OUTER JOIN I_TrackToolUsageClaimType AS _TrackToolUsageClaimType ON EquipmentClaimType = _TrackToolUsageClaimType.EquipmentClaimType -- association [1..1]
LEFT OUTER JOIN I_UserDescription AS _ClaimUserDescription ON EquipmentClaimedByUser = _ClaimUserDescription.UserID -- association [0..1]
LEFT OUTER JOIN I_UserDescription AS _UnclaimUserDescription ON EquipmentUnclaimedByUser = _UnclaimUserDescription.UserID -- association [0..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