I_TrackToolUsgeHistOpActyByDoc

DDL: I_TRACKTOOLUSGEHISTOPACTYBYDOC SQL: ITTUHISTOABYDOC Type: view COMPOSITE Package: MPE_EXEC_TRACKABLE_TOOLS

Track Tool Usage: History for equipment by claim type OA

I_TrackToolUsgeHistOpActyByDoc is a Composite CDS View that provides data about "Track Tool Usage: History for equipment by claim type OA" in SAP S/4HANA. It reads from 2 data sources (I_OpActyInstceOpActyNtwkElmnt, I_TrackToolUsageHistOpActy) and exposes 14 fields with key fields EquipmentHistoryDocument, OpActyNtwkInstance, OpActyNtwkElement. It has 1 association to related views. Part of development package MPE_EXEC_TRACKABLE_TOOLS.

Data Sources (2)

SourceAliasJoin Type
I_OpActyInstceOpActyNtwkElmnt OpActyInstceOpActyNtwkElmnt inner
I_TrackToolUsageHistOpActy TrackToolUsageHistOpActy from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_OrderOperationBasic _OrderOperation $projection.OrderInternalID = _OrderOperation.OrderInternalID and $projection.OrderOperationInternalID = _OrderOperation.OrderOperationInternalID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ITTUHISTOABYDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #COMPOSITE view
EndUserText.label Track Tool Usage: History for equipment by claim type OA view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY EquipmentHistoryDocument I_TrackToolUsageHistOpActy EquipmentHistoryDocument Document Number
KEY OpActyNtwkInstance I_TrackToolUsageHistOpActy OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement I_TrackToolUsageHistOpActy OpActyNtwkElement Element Number
ShopFloorItem I_TrackToolUsageHistOpActy ShopFloorItem Serial.Mat. ID
OrderInternalID I_OpActyInstceOpActyNtwkElmnt OrderInternalID Plan No.f.Oper.
OrderOperationInternalID I_OpActyInstceOpActyNtwkElmnt OrderOperationInternalID
OrderID I_OpActyInstceOpActyNtwkElmnt ManufacturingOrder Order
OpActyNtwkElementExternalID I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElementExternalID Op. Activity
OpActyNtwkElementElmntVersCntr I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElementElmntVersCntr OA Version
OpActyNtwkElementElement I_OpActyInstceOpActyNtwkElmnt OpActyNtwkElementElement Operation Activity
_OrderInternalID I_OpActyInstceOpActyNtwkElmnt _OrderInternalID
_OperationActivityText I_OpActyInstceOpActyNtwkElmnt _OperationActivityText
_MfgOrder I_OpActyInstceOpActyNtwkElmnt _MfgOrder
_OrderOperation _OrderOperation

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_TrackToolUsgeHistOpActyByDoc.
-- 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: ITTUHISTOABYDOC

CREATE VIEW I_TrackToolUsgeHistOpActyByDoc AS
SELECT
  TrackToolUsageHistOpActy.EquipmentHistoryDocument AS EquipmentHistoryDocument,
  TrackToolUsageHistOpActy.OpActyNtwkInstance AS OpActyNtwkInstance,
  TrackToolUsageHistOpActy.OpActyNtwkElement AS OpActyNtwkElement,
  TrackToolUsageHistOpActy.ShopFloorItem AS ShopFloorItem,
  OpActyInstceOpActyNtwkElmnt.OrderInternalID AS OrderInternalID,
  OpActyInstceOpActyNtwkElmnt.OrderOperationInternalID AS OrderOperationInternalID,
  OpActyInstceOpActyNtwkElmnt.ManufacturingOrder AS OrderID,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkElementExternalID AS OpActyNtwkElementExternalID,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkElementElmntVersCntr AS OpActyNtwkElementElmntVersCntr,
  OpActyInstceOpActyNtwkElmnt.OpActyNtwkElementElement AS OpActyNtwkElementElement,
  OpActyInstceOpActyNtwkElmnt._OrderInternalID AS _OrderInternalID,
  OpActyInstceOpActyNtwkElmnt._OperationActivityText AS _OperationActivityText,
  OpActyInstceOpActyNtwkElmnt._MfgOrder AS _MfgOrder
FROM I_TrackToolUsageHistOpActy AS TrackToolUsageHistOpActy
INNER JOIN I_OpActyInstceOpActyNtwkElmnt AS OpActyInstceOpActyNtwkElmnt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OrderOperationBasic AS _OrderOperation ON OrderInternalID = _OrderOperation.OrderInternalID AND OrderOperationInternalID = _OrderOperation.OrderOperationInternalID  -- association [1..1]
;