C_LglCntntMDocStampVersion

DDL: C_LGLCNTNTMDOCSTAMPVERSION SQL: CLCMDOCSTAMPVER Type: view CONSUMPTION Package: ODATA_LCM_DOC

C view for LCM Document Stamp Version

C_LglCntntMDocStampVersion is a Consumption CDS View that provides data about "C view for LCM Document Stamp Version" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMDocumentStamp) and exposes 10 fields with key field LglCntntMDocumentStampUUID. It has 3 associations to related views. Part of development package ODATA_LCM_DOC.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMDocumentStamp DocumentStamp from

Associations (3)

CardinalityTargetAliasCondition
[0..1] C_LglCntntMDocStampNameVH _LglCntntMDocStampNameVH $projection.LglCntntMDocumentStamp = _LglCntntMDocStampNameVH.LglCntntMDocumentStamp
[1..1] I_LglCntntMDocStamp _LglCntntMDocStamp $projection.LglCntntMDocumentStamp = _LglCntntMDocStamp.LglCntntMDocumentStamp
[0..1] I_LCMUserContactCard _StampContactCard _StampContactCard.ContactCardType = 'User' and _StampContactCard.ContactCardID = $projection.LglCntntMCreatedByUser and _StampContactCard.ContactCardRole = 'Creator'

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CLCMDOCSTAMPVER view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.semanticKey LglCntntMDocumentStampUUID view
ObjectModel.representativeKey LglCntntMDocumentStampUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
UI.headerInfo.typeName Stamp Version view
UI.headerInfo.typeNamePlural Stamp Versions view
UI.headerInfo.title.value LglCntntMDocumentStampName view
EndUserText.label C view for LCM Document Stamp Version view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMDocumentStampUUID I_LglCntntMDocumentStamp LglCntntMDocumentStampUUID Universal Unique ID
LglCntntMDocumentStamp I_LglCntntMDocumentStamp LglCntntMDocumentStamp Stamp Name
LglCntntMDocumentStampName
LglCntntMCreatedUTCDateTime I_LglCntntMDocumentStamp LglCntntMCreatedUTCDateTime Date, Time
LglCntntMCreatedByUser I_LglCntntMDocumentStamp LglCntntMCreatedByUser Created By
LglCntntMCreatedByFullName
_StampContactCard _StampContactCard Added By
LglCntntMDocumentUUID I_LglCntntMDocumentStamp LglCntntMDocumentUUID Universal Unique ID
_DocumentAuth _DocumentAuth
_LglCntntMDocStampNameVH _LglCntntMDocStampNameVH

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_LglCntntMDocStampVersion.
-- 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: CLCMDOCSTAMPVER

CREATE VIEW C_LglCntntMDocStampVersion AS
SELECT
  DocumentStamp.LglCntntMDocumentStampUUID AS LglCntntMDocumentStampUUID,
  DocumentStamp.LglCntntMDocumentStamp AS LglCntntMDocumentStamp,
  _LglCntntMDocStamp._Text[1: Language = $session.system_language].LglCntntMDocumentStampName AS LglCntntMDocumentStampName,
  DocumentStamp.LglCntntMCreatedUTCDateTime AS LglCntntMCreatedUTCDateTime,
  DocumentStamp.LglCntntMCreatedByUser AS LglCntntMCreatedByUser,
  cast('' as ad_namtext) AS LglCntntMCreatedByFullName,
  DocumentStamp.LglCntntMDocumentUUID AS LglCntntMDocumentUUID
FROM I_LglCntntMDocumentStamp AS DocumentStamp
LEFT OUTER JOIN C_LglCntntMDocStampNameVH AS _LglCntntMDocStampNameVH ON LglCntntMDocumentStamp = _LglCntntMDocStampNameVH.LglCntntMDocumentStamp  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMDocStamp AS _LglCntntMDocStamp ON LglCntntMDocumentStamp = _LglCntntMDocStamp.LglCntntMDocumentStamp  -- association [1..1]
LEFT OUTER JOIN I_LCMUserContactCard AS _StampContactCard ON _StampContactCard.ContactCardType = 'User' AND _StampContactCard.ContactCardID = LglCntntMCreatedByUser AND _StampContactCard.ContactCardRole = 'Creator'  -- association [0..1]
;