C_ServiceDocumentItemRefObject

DDL: C_SERVICEDOCUMENTITEMREFOBJECT Type: view_entity CONSUMPTION Package: CRMS4_SERV_ORDER_UI

Reference Objects Details

C_ServiceDocumentItemRefObject is a Consumption CDS View that provides data about "Reference Objects Details" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 19 fields with key fields ServiceObjectType, ServiceDocument, ServiceDocumentItem, ServiceRefObjectSequenceNumber. Part of development package CRMS4_SERV_ORDER_UI.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentRefObject I_ServiceDocumentRefObject from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Reference Objects Details view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType ServiceObjectType Object Type
KEY ServiceDocument ServiceDocument Transaction ID
KEY ServiceDocumentItem ServiceDocumentItem Service Document
KEY ServiceRefObjectSequenceNumber ServiceRefObjectSequenceNumber Version
ServiceReferenceObjectType ServiceReferenceObjectType Object Type
ServiceReferenceObjectUUID ServiceReferenceObjectUUID Object GUID
ProductID ProductID Product ID
ProductName
SrvcRefObjIsMainObject SrvcRefObjIsMainObject Main Object
ProductUUID ProductUUID UUID
SerialNumber SerialNumber Serial Number
Equipment Equipment Equipment ID
EquipmentName
FunctionalLocation FunctionalLocation Functional Location
FunctionalLocationName
_Equipment _Equipment
_FunctionalLocation _FunctionalLocation
_Product _Product
_SrvcReferenceObjectType _SrvcReferenceObjectType

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 C_ServiceDocumentItemRefObject.
-- 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 C_ServiceDocumentItemRefObject AS
SELECT
  ServiceObjectType,
  ServiceDocument,
  ServiceDocumentItem,
  ServiceRefObjectSequenceNumber,
  ServiceReferenceObjectType,
  ServiceReferenceObjectUUID,
  ProductID,
  _Product._Text[1: Language=$session.system_language].ProductName AS ProductName,
  SrvcRefObjIsMainObject,
  ProductUUID,
  SerialNumber,
  Equipment,
  _Equipment._EquipmentText[1: Language=$session.system_language].EquipmentName AS EquipmentName,
  FunctionalLocation,
  _FunctionalLocation._FunctionalLocationText[1:Language = $session.system_language].FunctionalLocationName AS FunctionalLocationName
FROM I_ServiceDocumentRefObject
;