C_LegalTransactionDocStamp

DDL: C_LEGALTRANSACTIONDOCSTAMP SQL: CLCMLTDOCSTMP Type: view CONSUMPTION Package: ODATA_LCM_LT

Document Stamps in Legal Transaction

C_LegalTransactionDocStamp is a Consumption CDS View that provides data about "Document Stamps in Legal Transaction" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMDocumentStamp) and exposes 11 fields with key field LglCntntMDocumentStampUUID. It has 4 associations to related views. Part of development package ODATA_LCM_LT.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMDocumentStamp I_LglCntntMDocumentStamp from

Associations (4)

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

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CLCMLTDOCSTMP view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #CHECK 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 #L view
UI.headerInfo.typeName Stamp view
UI.headerInfo.typeNamePlural Stamps view
UI.headerInfo.title.value LglCntntMDocumentStampName view
Search.searchable true view
EndUserText.label Document Stamps in Legal Transaction view

Fields (11)

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

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_LegalTransactionDocStamp.
-- 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: CLCMLTDOCSTMP

CREATE VIEW C_LegalTransactionDocStamp AS
SELECT
  LglCntntMDocumentStampUUID,
  LglCntntMDocumentStamp,
  _LglCntntMDocStampNameVH.LglCntntMDocumentStampName AS LglCntntMDocumentStampName,
  LglCntntMCreatedUTCDateTime,
  LglCntntMCreatedByUser,
  _StampContactCard.FullName AS FullName,
  LglCntntMDocumentUUID
FROM I_LglCntntMDocumentStamp
LEFT OUTER JOIN C_LglCntntMDocStampNameVH AS _LglCntntMDocStampNameVH ON LglCntntMDocumentStamp = _LglCntntMDocStampNameVH.LglCntntMDocumentStamp  -- association [0..1]
LEFT OUTER JOIN C_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]
LEFT OUTER JOIN E_LglCntntMDocumentStamp AS _LglCntntMDocumentStampExtn ON LglCntntMDocumentStampUUID = _LglCntntMDocumentStampExtn.LglCntntMDocumentStampUUID  -- association [1..1]
;