R_SrvcOrdItemLongTextTP

DDL: R_SRVCORDITEMLONGTEXTTP Type: view_entity TRANSACTIONAL

Notes Item view for Service Order

R_SrvcOrdItemLongTextTP is a Transactional CDS View that provides data about "Notes Item view for Service Order" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentLongText, I_ServiceDocumentItem) and exposes 26 fields with key fields ServiceOrder, ServiceOrderItem, TextObjectType, Language, SrvcDocLogTextIdentifier. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_ServiceDocumentLongText ServiceItemText from
I_ServiceDocumentItem ServiceOrderItem inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_ServiceOrderTP _ServiceOrderTP $projection.ServiceOrder = _ServiceOrderTP.ServiceOrder

Annotations (8)

NameValueLevelField
EndUserText.label Notes Item view for Service Order view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder I_ServiceDocumentItem ServiceDocument Transaction ID
KEY ServiceOrderItem I_ServiceDocumentItem ServiceDocumentItem Service Document
KEY TextObjectType I_ServiceDocumentLongText TextObjectType Text ID
KEY Language I_ServiceDocumentLongText Language Report Text Language
KEY SrvcDocLogTextIdentifier I_ServiceDocumentLongText SrvcDocLogTextIdentifier Time Stamp
ServiceDocumentLongTextUUID I_ServiceDocumentLongText ServiceDocumentLongTextUUID UUID
TextObjectCategory I_ServiceDocumentLongText TextObjectCategory Text object
SrvcDocLongTextMimeType I_ServiceDocumentLongText SrvcDocLongTextMimeType MIMETYPE
ServiceOrderItemLongText I_ServiceDocumentLongText ServiceDocumentLongText Text Content
ReferenceTextObjectCategory I_ServiceDocumentLongText ReferenceTextObjectCategory Reference text object
ReferenceTextObjectType I_ServiceDocumentLongText ReferenceTextObjectType Reference text ID
ReferenceLongTextKey I_ServiceDocumentLongText ReferenceLongTextKey Reference text name
ReferenceServiceObjectType I_ServiceDocumentLongText ReferenceServiceObjectType Trans. Cat.
ReferenceServiceDocument I_ServiceDocumentLongText ReferenceServiceDocument Transaction ID
ReferenceServiceDocumentItem I_ServiceDocumentLongText ReferenceServiceDocumentItem Item Number in Doc.
SrvcDocLongTxtCreationDateTime I_ServiceDocumentLongText SrvcDocLongTxtCreationDateTime Uploaded On
SrvcDocLongTextCreatedByUser I_ServiceDocumentLongText SrvcDocLongTextCreatedByUser Version Created By
SrvcDocLongTextChangedDateTime I_ServiceDocumentLongText SrvcDocLongTextChangedDateTime Timestamp
SrvcDocLongTextChangedByUser I_ServiceDocumentLongText SrvcDocLongTextChangedByUser User Name
_Language I_ServiceDocumentLongText _Language
_ReferenceTextObjectCategory I_ServiceDocumentLongText _ReferenceTextObjectCategory
_ReferenceTextObjectType I_ServiceDocumentLongText _ReferenceTextObjectType
_TextObjectCategory I_ServiceDocumentLongText _TextObjectCategory
_TextObjectType I_ServiceDocumentLongText _TextObjectType
_ServiceOrderItemTP _ServiceOrderItemTP
_ServiceOrderTP _ServiceOrderTP

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_SrvcOrdItemLongTextTP.
-- 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_SrvcOrdItemLongTextTP AS
SELECT
  ServiceOrderItem.ServiceDocument AS ServiceOrder,
  ServiceOrderItem.ServiceDocumentItem AS ServiceOrderItem,
  ServiceItemText.TextObjectType AS TextObjectType,
  ServiceItemText.Language AS Language,
  ServiceItemText.SrvcDocLogTextIdentifier AS SrvcDocLogTextIdentifier,
  ServiceItemText.ServiceDocumentLongTextUUID AS ServiceDocumentLongTextUUID,
  ServiceItemText.TextObjectCategory AS TextObjectCategory,
  ServiceItemText.SrvcDocLongTextMimeType AS SrvcDocLongTextMimeType,
  ServiceItemText.ServiceDocumentLongText AS ServiceOrderItemLongText,
  ServiceItemText.ReferenceTextObjectCategory AS ReferenceTextObjectCategory,
  ServiceItemText.ReferenceTextObjectType AS ReferenceTextObjectType,
  ServiceItemText.ReferenceLongTextKey AS ReferenceLongTextKey,
  ServiceItemText.ReferenceServiceObjectType AS ReferenceServiceObjectType,
  ServiceItemText.ReferenceServiceDocument AS ReferenceServiceDocument,
  ServiceItemText.ReferenceServiceDocumentItem AS ReferenceServiceDocumentItem,
  ServiceItemText.SrvcDocLongTxtCreationDateTime AS SrvcDocLongTxtCreationDateTime,
  ServiceItemText.SrvcDocLongTextCreatedByUser AS SrvcDocLongTextCreatedByUser,
  ServiceItemText.SrvcDocLongTextChangedDateTime AS SrvcDocLongTextChangedDateTime,
  ServiceItemText.SrvcDocLongTextChangedByUser AS SrvcDocLongTextChangedByUser,
  ServiceItemText._Language AS _Language,
  ServiceItemText._ReferenceTextObjectCategory AS _ReferenceTextObjectCategory,
  ServiceItemText._ReferenceTextObjectType AS _ReferenceTextObjectType,
  ServiceItemText._TextObjectCategory AS _TextObjectCategory,
  ServiceItemText._TextObjectType AS _TextObjectType
FROM I_ServiceDocumentLongText AS ServiceItemText
INNER JOIN I_ServiceDocumentItem AS ServiceOrderItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_ServiceOrderTP AS _ServiceOrderTP ON ServiceOrder = _ServiceOrderTP.ServiceOrder  -- association [1..1]
;