R_SvTrMtAgrItmLongTextTP

DDL: R_SVTRMTAGRITMLONGTEXTTP Type: view_entity TRANSACTIONAL

Master Agreement Item Long Text

R_SvTrMtAgrItmLongTextTP is a Transactional CDS View that provides data about "Master Agreement Item Long Text" in SAP S/4HANA. It reads from 2 data sources (I_SrvcTransMasterAgreementItem, I_ServiceDocumentLongText) and exposes 21 fields with key fields SrvcTransMstrAgrmtID, SrvcTransMstrAgrmtItem, TextObjectType, Language, SrvcDocLogTextIdentifier. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_SrvcTransMasterAgreementItem MasterAgrmt inner
I_ServiceDocumentLongText ServiceItemText from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_SrvcTransMstrAgrmtTP _MasterAgrmt $projection.SrvcTransMstrAgrmtID = _MasterAgrmt.SrvcTransMstrAgrmtID

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Master Agreement Item Long Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.dataCategory #TEXT view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY SrvcTransMstrAgrmtID I_SrvcTransMasterAgreementItem SrvcTransMstrAgrmtID Transaction ID
KEY SrvcTransMstrAgrmtItem I_SrvcTransMasterAgreementItem SrvcTransMstrAgrmtItem Item Number in Doc.
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
SrvcTransMstrAgrmtItmLongText 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
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
_MasterAgrmtItmTP _MasterAgrmtItmTP
_MasterAgrmt _MasterAgrmt

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_SvTrMtAgrItmLongTextTP.
-- 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_SvTrMtAgrItmLongTextTP AS
SELECT
  MasterAgrmt.SrvcTransMstrAgrmtID AS SrvcTransMstrAgrmtID,
  MasterAgrmt.SrvcTransMstrAgrmtItem AS SrvcTransMstrAgrmtItem,
  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 SrvcTransMstrAgrmtItmLongText,
  ServiceItemText.ReferenceTextObjectCategory AS ReferenceTextObjectCategory,
  ServiceItemText.ReferenceTextObjectType AS ReferenceTextObjectType,
  ServiceItemText.ReferenceLongTextKey AS ReferenceLongTextKey,
  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
FROM I_ServiceDocumentLongText AS ServiceItemText
INNER JOIN I_SrvcTransMasterAgreementItem AS MasterAgrmt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_SrvcTransMstrAgrmtTP AS _MasterAgrmt ON SrvcTransMstrAgrmtID = _MasterAgrmt.SrvcTransMstrAgrmtID  -- association [1..1]
;