R_SrvcContrTmplItmRefObjectTP

DDL: R_SRVCCONTRTMPLITMREFOBJECTTP Type: view_entity TRANSACTIONAL Package: CRMS4_SRVC_CONTR_TEMPLATE_RAP

Ref Object of SrvcContr Tmpl Item - TP

R_SrvcContrTmplItmRefObjectTP is a Transactional CDS View that provides data about "Ref Object of SrvcContr Tmpl Item - TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 10 fields with key fields ServiceContractTemplate, ServiceContractTemplateItem, ServiceRefObjectSequenceNumber. It has 1 association to related views. Part of development package CRMS4_SRVC_CONTR_TEMPLATE_RAP.

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
EndUserText.label Ref Object of SrvcContr Tmpl Item - TP view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ServiceContractTemplate ServiceDocument Transaction ID
KEY ServiceContractTemplateItem 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
_Item _Item
_ServiceContractTemplate _ServiceContractTemplate

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_SrvcContrTmplItmRefObjectTP.
-- 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_SrvcContrTmplItmRefObjectTP AS
SELECT
  ServiceDocument AS ServiceContractTemplate,
  ServiceDocumentItem AS ServiceContractTemplateItem,
  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]
;