R_SrvcOrdRefServiceContractTP

DDL: R_SRVCORDREFSERVICECONTRACTTP Type: view_entity TRANSACTIONAL

Reference Service Contract - TP

R_SrvcOrdRefServiceContractTP is a Transactional CDS View that provides data about "Reference Service Contract - TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentPredecessor) and exposes 4 fields with key fields ServiceOrder, ReferenceServiceContract. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentPredecessor I_ServiceDocumentPredecessor from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ServiceDocumentEnhcd _ServiceOrder $projection.ServiceOrderUUID = _ServiceOrder.ServiceDocumentUUID

Annotations (8)

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

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder _ServiceOrder ServiceDocument Transaction ID
KEY ReferenceServiceContract _ServiceDoc ServiceDocument Transaction ID
ServiceOrderUUID ServiceDocumentUUID Object GUID
_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_SrvcOrdRefServiceContractTP.
-- 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_SrvcOrdRefServiceContractTP AS
SELECT
  _ServiceOrder.ServiceDocument AS ServiceOrder,
  _ServiceDoc.ServiceDocument AS ReferenceServiceContract,
  ServiceDocumentUUID AS ServiceOrderUUID
FROM I_ServiceDocumentPredecessor
LEFT OUTER JOIN I_ServiceDocumentEnhcd AS _ServiceOrder ON ServiceOrderUUID = _ServiceOrder.ServiceDocumentUUID  -- association [0..1]
;