R_SrvcOrdTmplItmRefObjectTP

DDL: R_SRVCORDTMPLITMREFOBJECTTP Type: view_entity TRANSACTIONAL Package: CRMS4_SERVICEORDERTEMPL_RAP

Service Order Temp Item Ref Object - TP

R_SrvcOrdTmplItmRefObjectTP is a Transactional CDS View that provides data about "Service Order Temp Item Ref Object - TP" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentRefObject, I_ServiceDocumentItem) and exposes 10 fields with key fields ServiceOrderTemplate, ServiceOrderTemplateItem, ServiceRefObjectSequenceNumber. Part of development package CRMS4_SERVICEORDERTEMPL_RAP.

Data Sources (2)

SourceAliasJoin Type
I_ServiceDocumentRefObject ReferenceObject from
I_ServiceDocumentItem ServiceOrderItem inner

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 Service Order Temp Item Ref Object - TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrderTemplate I_ServiceDocumentRefObject ServiceDocument Transaction ID
KEY ServiceOrderTemplateItem I_ServiceDocumentRefObject ServiceDocumentItem Service Document
KEY ServiceRefObjectSequenceNumber I_ServiceDocumentRefObject ServiceRefObjectSequenceNumber Version
SerialNumber I_ServiceDocumentRefObject SerialNumber Serial Number
ServiceReferenceEquipment I_ServiceDocumentRefObject Equipment Equipment check
ServiceRefFunctionalLocation
ServiceReferenceProduct I_ServiceDocumentRefObject ProductID Product ID
SrvcRefObjIsMainObject I_ServiceDocumentRefObject SrvcRefObjIsMainObject Main Object
_ServiceOrderTemplateItemTP _ServiceOrderTemplateItemTP
_ServiceOrderTemplateTP _ServiceOrderTemplateTP

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_SrvcOrdTmplItmRefObjectTP.
-- 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_SrvcOrdTmplItmRefObjectTP AS
SELECT
  ReferenceObject.ServiceDocument AS ServiceOrderTemplate,
  ReferenceObject.ServiceDocumentItem AS ServiceOrderTemplateItem,
  ReferenceObject.ServiceRefObjectSequenceNumber AS ServiceRefObjectSequenceNumber,
  ReferenceObject.SerialNumber AS SerialNumber,
  ReferenceObject.Equipment AS ServiceReferenceEquipment,
  cast( ReferenceObject.FunctionalLocation as functionallocation preserving type ) AS ServiceRefFunctionalLocation,
  ReferenceObject.ProductID AS ServiceReferenceProduct,
  ReferenceObject.SrvcRefObjIsMainObject AS SrvcRefObjIsMainObject
FROM I_ServiceDocumentRefObject AS ReferenceObject
INNER JOIN I_ServiceDocumentItem AS ServiceOrderItem ON /* join condition not captured in parsed metadata */
;