R_MaintOrderOpProdnRsceToolTP

DDL: R_MAINTORDEROPPRODNRSCETOOLTP Type: view_entity TRANSACTIONAL Package: IWO1

Maintenance Order Operation PRT TP

R_MaintOrderOpProdnRsceToolTP is a Transactional CDS View that provides data about "Maintenance Order Operation PRT TP" in SAP S/4HANA. It reads from 2 data sources (I_MaintOrderOpProdnRsceTool, I_ProdnRsceToolMasterData) and exposes 23 fields with key fields MaintenanceOrder, MaintenanceOrderOperation, MaintenanceOrderSubOperation, ProdnRsceToolItemNumber. It has 2 associations to related views. Part of development package IWO1.

Data Sources (2)

SourceAliasJoin Type
I_MaintOrderOpProdnRsceTool MaintOrderOpProdnRsceTool from
I_ProdnRsceToolMasterData ProdnRsceToolMasterData inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_MaintenanceOrderTP _MaintenanceOrder $projection.MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder
[0..*] I_ProdnRsceToolCategoryText_2 _ProdnRsceToolCategoryText $projection.ProdnRsceToolCategory = _ProdnRsceToolCategoryText.ProdnRsceToolCategory

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Maintenance Order Operation PRT TP view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder I_MaintOrderOpProdnRsceTool MaintenanceOrder Order
KEY MaintenanceOrderOperation I_MaintOrderOpProdnRsceTool MaintenanceOrderOperation Suboperation
KEY MaintenanceOrderSubOperation I_MaintOrderOpProdnRsceTool MaintenanceOrderSubOperation Suboperation
KEY ProdnRsceToolItemNumber I_MaintOrderOpProdnRsceTool ProdnRsceToolItemNumber Item Number
OrderProdnRsceToolText I_MaintOrderOpProdnRsceTool OrderProdnRsceToolText Text for PRT
ProdnRsceToolCategory I_MaintOrderOpProdnRsceTool ProdnRsceToolCategory PRT Category
ProductionResourceType I_MaintOrderOpProdnRsceTool ProductionResourceType Object Type
ProductionResourceInternalID I_MaintOrderOpProdnRsceTool ProductionResourceInternalID Object ID
Product MaterialPRTByInternalKey Material Vehicle Model
MiscProductionResourceTool MiscPRTByInternalKey MiscProductionResourceTool
Plant MaterialPRTByInternalKey Plant Valuation Area
Equipment EquipmentPRTByInternalKey Equipment Equipment check
DocumentInfoRecord DocumentPRTByInternalKey DocumentInfoRecord Document
DocumentType DocumentPRTByInternalKey DocumentType Order Type
DocumentPart DocumentPRTByInternalKey DocumentPart Document Part
DocumentVersion DocumentPRTByInternalKey DocumentVersion Docu. Version
MeasuringPoint MsrgPointPRTByInternalKey MeasuringPoint
ProdnRsceToolControlProfile I_MaintOrderOpProdnRsceTool ProdnRsceToolControlProfile PRT Control Profile
ProdnRsceToolStandardWorkQty I_MaintOrderOpProdnRsceTool ProdnRsceToolStandardWorkQty Quantity
ProdnRsceToolStdWorkQtyUnit I_MaintOrderOpProdnRsceTool ProdnRsceToolStdWorkQtyUnit Unit
_ProdnRsceToolCategoryText _ProdnRsceToolCategoryText
_MaintenanceOrder _MaintenanceOrder
_MaintenanceOrderOperation _MaintenanceOrderOperation

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 R_MaintOrderOpProdnRsceToolTP.
-- 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.

CREATE VIEW R_MaintOrderOpProdnRsceToolTP AS
SELECT
  MaintOrderOpProdnRsceTool.MaintenanceOrder AS MaintenanceOrder,
  MaintOrderOpProdnRsceTool.MaintenanceOrderOperation AS MaintenanceOrderOperation,
  MaintOrderOpProdnRsceTool.MaintenanceOrderSubOperation AS MaintenanceOrderSubOperation,
  MaintOrderOpProdnRsceTool.ProdnRsceToolItemNumber AS ProdnRsceToolItemNumber,
  MaintOrderOpProdnRsceTool.OrderProdnRsceToolText AS OrderProdnRsceToolText,
  MaintOrderOpProdnRsceTool.ProdnRsceToolCategory AS ProdnRsceToolCategory,
  MaintOrderOpProdnRsceTool.ProductionResourceType AS ProductionResourceType,
  MaintOrderOpProdnRsceTool.ProductionResourceInternalID AS ProductionResourceInternalID,
  MaterialPRTByInternalKey.Material AS Product,
  MiscPRTByInternalKey.MiscProductionResourceTool AS MiscProductionResourceTool,
  MaterialPRTByInternalKey.Plant AS Plant,
  EquipmentPRTByInternalKey.Equipment AS Equipment,
  DocumentPRTByInternalKey.DocumentInfoRecord AS DocumentInfoRecord,
  DocumentPRTByInternalKey.DocumentType AS DocumentType,
  DocumentPRTByInternalKey.DocumentPart AS DocumentPart,
  DocumentPRTByInternalKey.DocumentVersion AS DocumentVersion,
  MsrgPointPRTByInternalKey.MeasuringPoint AS MeasuringPoint,
  MaintOrderOpProdnRsceTool.ProdnRsceToolControlProfile AS ProdnRsceToolControlProfile,
  MaintOrderOpProdnRsceTool.ProdnRsceToolStandardWorkQty AS ProdnRsceToolStandardWorkQty,
  MaintOrderOpProdnRsceTool.ProdnRsceToolStdWorkQtyUnit AS ProdnRsceToolStdWorkQtyUnit
FROM I_MaintOrderOpProdnRsceTool AS MaintOrderOpProdnRsceTool
INNER JOIN I_ProdnRsceToolMasterData AS ProdnRsceToolMasterData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_MaintenanceOrderTP AS _MaintenanceOrder ON MaintenanceOrder = _MaintenanceOrder.MaintenanceOrder  -- association [1..1]
LEFT OUTER JOIN I_ProdnRsceToolCategoryText_2 AS _ProdnRsceToolCategoryText ON ProdnRsceToolCategory = _ProdnRsceToolCategoryText.ProdnRsceToolCategory  -- association [0..*]
;