I_LglCntntMTemplateTP

DDL: I_LGLCNTNTMTEMPLATETP SQL: ILCMTMPLTP Type: view TRANSACTIONAL Package: APPL_LCM_LCA

Templates Transactional Layer

I_LglCntntMTemplateTP is a Transactional CDS View that provides data about "Templates Transactional Layer" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMTemplate) and exposes 23 fields with key field LglCntntMTmplUUID. It has 3 associations to related views. Part of development package APPL_LCM_LCA.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMTemplate I_LglCntntMTemplate from

Associations (3)

CardinalityTargetAliasCondition
[1..*] I_LglCntntMTmplCatTP _LglCntntMTmplCatTP $projection.LglCntntMTmplUUID = _LglCntntMTmplCatTP.LglCntntMTmplUUID
[1..*] I_LglCntntMTmplGovLawTP _LglCntntMTmplGovLawTP $projection.LglCntntMTmplUUID = _LglCntntMTmplGovLawTP.LglCntntMTmplUUID
[0..1] I_LglCntntMDocContentTypeText _LglCntntMDocContentTypeText $projection.LglCntntMTmplCntntType = _LglCntntMDocContentTypeText.LglCntntMDocContentType and Language = $session.system_language

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName ILCMTMPLTP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.writeActivePersistence LCM_TEMPLATE view
ObjectModel.representativeKey LglCntntMTmplUUID view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled false view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.sapObjectNodeType.name LegalDocumentTemplate view
EndUserText.label Templates Transactional Layer view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMTmplUUID LglCntntMTmplUUID Template UUID
LglCntntMTmplExtUUID LglCntntMTmplExtUUID Template Ext UUID
LglCntntMTmplExtVersUUID LglCntntMTmplExtVersUUID Ext Vers UUID of Tmp
LglCntntMTmplExtRevisionUUID LglCntntMTmplExtRevisionUUID External Revsn UUID
LglCntntMTmplID LglCntntMTmplID Template ID
LglCntntMTmplIDExt
LglCntntMTmplVers LglCntntMTmplVers Template Version
LglCntntMTmplExtRevisionID LglCntntMTmplExtRevisionID External Revsn ID
LglCntntMTmplName LglCntntMTmplName Template Name
LglCntntMTmplValdFrm LglCntntMTmplValdFrm Valid From of Tmpl
LglCntntMTmplValdTo LglCntntMTmplValdTo Valid To of Template
LglCntntMTmplStsKey LglCntntMTmplStsKey Template Status Key
LglCntntMTmplCntntType LglCntntMTmplCntntType Content Type
LglCntntMTmplLang LglCntntMTmplLang Language
LglCntntMTmplOwnr LglCntntMTmplOwnr Template Owner
LglCntntMTmplOwnrEml LglCntntMTmplOwnrEml Owner E-Mail ID
LglCntntMCreatedByUser LglCntntMCreatedByUser Created By
LglCntntMCreatedUTCDateTime LglCntntMCreatedUTCDateTime Created On
LglCntntMChangedByUser LglCntntMChangedByUser Changed By
LglCntntMChangedUTCDateTime LglCntntMChangedUTCDateTime Changed On
_LglCntntMTmplCatTP _LglCntntMTmplCatTP
_LglCntntMTmplGovLawTP _LglCntntMTmplGovLawTP
_LglCntntMDocContentTypeText _LglCntntMDocContentTypeText

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 I_LglCntntMTemplateTP.
-- 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.
-- SQL view name: ILCMTMPLTP

CREATE VIEW I_LglCntntMTemplateTP AS
SELECT
  LglCntntMTmplUUID,
  LglCntntMTmplExtUUID,
  LglCntntMTmplExtVersUUID,
  LglCntntMTmplExtRevisionUUID,
  LglCntntMTmplID,
  cast( LglCntntMTmplIDExtVal as lcm_tmpl_id_ext ) AS LglCntntMTmplIDExt,
  LglCntntMTmplVers,
  LglCntntMTmplExtRevisionID,
  LglCntntMTmplName,
  LglCntntMTmplValdFrm,
  LglCntntMTmplValdTo,
  LglCntntMTmplStsKey,
  LglCntntMTmplCntntType,
  LglCntntMTmplLang,
  LglCntntMTmplOwnr,
  LglCntntMTmplOwnrEml,
  LglCntntMCreatedByUser,
  LglCntntMCreatedUTCDateTime,
  LglCntntMChangedByUser,
  LglCntntMChangedUTCDateTime
FROM I_LglCntntMTemplate
LEFT OUTER JOIN I_LglCntntMTmplCatTP AS _LglCntntMTmplCatTP ON LglCntntMTmplUUID = _LglCntntMTmplCatTP.LglCntntMTmplUUID  -- association [1..*]
LEFT OUTER JOIN I_LglCntntMTmplGovLawTP AS _LglCntntMTmplGovLawTP ON LglCntntMTmplUUID = _LglCntntMTmplGovLawTP.LglCntntMTmplUUID  -- association [1..*]
LEFT OUTER JOIN I_LglCntntMDocContentTypeText AS _LglCntntMDocContentTypeText ON LglCntntMTmplCntntType = _LglCntntMDocContentTypeText.LglCntntMDocContentType AND Language = $session.system_language  -- association [0..1]
;