R_SrvcContrItemRefObjectTP

DDL: R_SRVCCONTRITEMREFOBJECTTP Type: view_entity TRANSACTIONAL

Service Contract Item Ref Object - TP

R_SrvcContrItemRefObjectTP is a Transactional CDS View that provides data about "Service Contract Item Ref Object - TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 10 fields with key fields ServiceContract, ServiceContractItem, ServiceRefObjectSequenceNumber. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentRefObject I_ServiceDocumentRefObject from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_FunctionalLocationLabel _FunctionalLocationLabel $projection.ServiceRefFunctionalLocation = _FunctionalLocationLabel.FunctionalLocation

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 Contract Item Ref Object - TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ServiceContract ServiceDocument Transaction ID
KEY ServiceContractItem ServiceDocumentItem Service Document
KEY ServiceRefObjectSequenceNumber ServiceRefObjectSequenceNumber Version
SerialNumber SerialNumber Serial Number
ServiceReferenceEquipment Equipment Equipment check
ServiceRefFunctionalLocation Object ID
SrvcRefFuncLocLabelName _FunctionalLocationLabel FunctionalLocationLabelName Functional Loc.
ServiceReferenceProduct ProductID Product ID
_ServiceContractItemTP _ServiceContractItemTP
_ServiceContractTP _ServiceContractTP

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_SrvcContrItemRefObjectTP.
-- 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_SrvcContrItemRefObjectTP AS
SELECT
  ServiceDocument AS ServiceContract,
  ServiceDocumentItem AS ServiceContractItem,
  ServiceRefObjectSequenceNumber,
  SerialNumber,
  Equipment AS ServiceReferenceEquipment,
  cast( FunctionalLocation as functionallocation preserving type ) AS ServiceRefFunctionalLocation,
  _FunctionalLocationLabel.FunctionalLocationLabelName AS SrvcRefFuncLocLabelName,
  ProductID AS ServiceReferenceProduct
FROM I_ServiceDocumentRefObject
LEFT OUTER JOIN I_FunctionalLocationLabel AS _FunctionalLocationLabel ON ServiceRefFunctionalLocation = _FunctionalLocationLabel.FunctionalLocation  -- association [0..1]
;