R_SrvcOrdReferenceObjectTP

DDL: R_SRVCORDREFERENCEOBJECTTP Type: view_entity TRANSACTIONAL

Service Order Reference Object - TP

R_SrvcOrdReferenceObjectTP is a Transactional CDS View that provides data about "Service Order Reference Object - TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 8 fields with key fields ServiceOrder, 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 Reference Object - TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder ServiceDocument Transaction ID
KEY ServiceRefObjectSequenceNumber ServiceRefObjectSequenceNumber Version
SerialNumber SerialNumber Serial Number
ServiceReferenceEquipment Equipment Equipment check
ServiceRefFunctionalLocation Object ID
ServiceReferenceProduct ProductID Product ID
SrvcRefObjIsMainObject SrvcRefObjIsMainObject Main Object
_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_SrvcOrdReferenceObjectTP.
-- 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_SrvcOrdReferenceObjectTP AS
SELECT
  ServiceDocument AS ServiceOrder,
  ServiceRefObjectSequenceNumber,
  SerialNumber,
  Equipment AS ServiceReferenceEquipment,
  cast( FunctionalLocation as functionallocation preserving type ) AS ServiceRefFunctionalLocation,
  ProductID AS ServiceReferenceProduct,
  SrvcRefObjIsMainObject
FROM I_ServiceDocumentRefObject
;