R_SrvcOrdItemReferenceObjectTP

DDL: R_SRVCORDITEMREFERENCEOBJECTTP Type: view_entity TRANSACTIONAL

Service Order Item Reference Object - TP

R_SrvcOrdItemReferenceObjectTP is a Transactional CDS View that provides data about "Service Order Item Reference Object - TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 10 fields with key fields ServiceOrder, ServiceOrderItem, ServiceRefObjectSequenceNumber.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentRefObject I_ServiceDocumentRefObject from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Service Order Item Reference Object - TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder ServiceDocument Transaction ID
KEY ServiceOrderItem ServiceDocumentItem Service Document
KEY ServiceRefObjectSequenceNumber ServiceRefObjectSequenceNumber Version
SerialNumber SerialNumber Serial Number
ServiceReferenceEquipment Equipment Equipment check
ServiceRefFunctionalLocation Object ID
ServiceReferenceProduct ProductID Product ID
SrvcRefObjIsMainObject SrvcRefObjIsMainObject Main Object
_ServiceOrderItemTP _ServiceOrderItemTP
_ServiceOrderTP _ServiceOrderTP

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_SrvcOrdItemReferenceObjectTP.
-- 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_SrvcOrdItemReferenceObjectTP AS
SELECT
  ServiceDocument AS ServiceOrder,
  ServiceDocumentItem AS ServiceOrderItem,
  ServiceRefObjectSequenceNumber,
  SerialNumber,
  Equipment AS ServiceReferenceEquipment,
  cast( FunctionalLocation as functionallocation preserving type ) AS ServiceRefFunctionalLocation,
  ProductID AS ServiceReferenceProduct,
  SrvcRefObjIsMainObject
FROM I_ServiceDocumentRefObject
;