R_SrvcOrdTmplItemLongTextTP

DDL: R_SRVCORDTMPLITEMLONGTEXTTP Type: view_entity TRANSACTIONAL Package: CRMS4_SERVICEORDERTEMPL_RAP

Long text for Template Item - TP

R_SrvcOrdTmplItemLongTextTP is a Transactional CDS View that provides data about "Long text for Template Item - TP" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentLongText, I_ServiceDocumentItem) and exposes 25 fields with key fields ServiceOrderTemplate, ServiceOrderTemplateItem, TextObjectType, Language, SrvcDocLogTextIdentifier. It has 1 association to related views. Part of development package CRMS4_SERVICEORDERTEMPL_RAP.

Data Sources (2)

SourceAliasJoin Type
I_ServiceDocumentLongText ServiceItemText from
I_ServiceDocumentItem ServiceOrderItem inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_ServiceOrderTemplateTP _ServiceOrderTemplateTP $projection.ServiceOrderTemplate = _ServiceOrderTemplateTP.ServiceOrderTemplate

Annotations (8)

NameValueLevelField
EndUserText.label Long text for Template Item - TP 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 (25)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrderTemplate I_ServiceDocumentItem ServiceDocument Transaction ID
KEY ServiceOrderTemplateItem 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
TextObjectCategory I_ServiceDocumentLongText TextObjectCategory Text object
SrvcDocLongTextMimeType I_ServiceDocumentLongText SrvcDocLongTextMimeType MIMETYPE
SrvcOrdTmplItemLongText 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
_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_SrvcOrdTmplItemLongTextTP.
-- 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_SrvcOrdTmplItemLongTextTP AS
SELECT
  ServiceOrderItem.ServiceDocument AS ServiceOrderTemplate,
  ServiceOrderItem.ServiceDocumentItem AS ServiceOrderTemplateItem,
  ServiceItemText.TextObjectType AS TextObjectType,
  ServiceItemText.Language AS Language,
  ServiceItemText.SrvcDocLogTextIdentifier AS SrvcDocLogTextIdentifier,
  ServiceItemText.TextObjectCategory AS TextObjectCategory,
  ServiceItemText.SrvcDocLongTextMimeType AS SrvcDocLongTextMimeType,
  ServiceItemText.ServiceDocumentLongText AS SrvcOrdTmplItemLongText,
  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_ServiceOrderTemplateTP AS _ServiceOrderTemplateTP ON ServiceOrderTemplate = _ServiceOrderTemplateTP.ServiceOrderTemplate  -- association [1..1]
;