A_ServiceOrderTmplItemRefObj

DDL: A_SERVICEORDERTMPLITEMREFOBJ Type: view_entity COMPOSITE Package: ODATA_CRMS4_SERVICEORDERTEMPL

Item Reference Object

A_ServiceOrderTmplItemRefObj is a Composite CDS View that provides data about "Item Reference Object" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 6 fields with key fields ServiceOrderTemplate, ServiceOrderTemplateItem, ServiceReferenceEquipment, ServiceRefFunctionalLocation. It has 1 association to related views. Part of development package ODATA_CRMS4_SERVICEORDERTEMPL.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentRefObject I_ServiceDocumentRefObject from

Associations (1)

CardinalityTargetAliasCondition
[1] A_ServiceOrderTemplate _ServiceOrderTemplate $projection.ServiceOrderTemplate = _ServiceOrderTemplate.ServiceOrderTemplate

Annotations (10)

NameValueLevelField
EndUserText.label Item Reference Object view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrderTemplate ServiceDocument Transaction ID
KEY ServiceOrderTemplateItem ServiceDocumentItem Service Document
KEY ServiceReferenceEquipment Equipment Equipment check
KEY ServiceRefFunctionalLocation FunctionalLocation Object ID
SrvcRefObjIsMainObject SrvcRefObjIsMainObject Main Object
_ServiceOrderTemplate _ServiceOrderTemplate

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 A_ServiceOrderTmplItemRefObj.
-- 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 A_ServiceOrderTmplItemRefObj AS
SELECT
  ServiceDocument AS ServiceOrderTemplate,
  ServiceDocumentItem AS ServiceOrderTemplateItem,
  Equipment AS ServiceReferenceEquipment,
  FunctionalLocation AS ServiceRefFunctionalLocation,
  SrvcRefObjIsMainObject
FROM I_ServiceDocumentRefObject
LEFT OUTER JOIN A_ServiceOrderTemplate AS _ServiceOrderTemplate ON ServiceOrderTemplate = _ServiceOrderTemplate.ServiceOrderTemplate  -- association [1]
;