C_LglCntntMTaskComments

DDL: C_LGLCNTNTMTASKCOMMENTS SQL: CLCMTSKCOM Type: view CONSUMPTION

Consumption view for Task Comments

C_LglCntntMTaskComments is a Consumption CDS View that provides data about "Consumption view for Task Comments" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionStartedTasks) and exposes 9 fields with key fields LegalTransactionTask, LglCntntMTaskComment. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LegalTransactionStartedTasks I_LegalTransactionStartedTasks from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_LegalTransaction _LegalTransaction $projection.LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID
[0..1] I_LCMUserContactCard _CreatedByContactCard _CreatedByContactCard.ContactCardType = 'User' and _CreatedByContactCard.ContactCardID = $projection.UserID and _CreatedByContactCard.ContactCardRole = 'Creator'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CLCMTSKCOM view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.semanticKey LegalTransactionTask view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Consumption view for Task Comments view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionTask LegalTransactionTask
KEY LglCntntMTaskComment
LegalTransactionUUID LegalTransactionUUID Universal Unique ID
UserID
LglCntntMCreatedUTCDateTime
FullName
LglCntntMTaskCommentText
_LegalTransaction _LegalTransaction
_CreatedByContactCard _CreatedByContactCard

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_LglCntntMTaskComments.
-- 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: CLCMTSKCOM

CREATE VIEW C_LglCntntMTaskComments AS
SELECT
  LegalTransactionTask,
  cast( '' as so_entryid ) AS LglCntntMTaskComment,
  LegalTransactionUUID,
  cast( '' as xubname ) AS UserID,
  cast( 00 as timestamp ) AS LglCntntMCreatedUTCDateTime,
  cast( '' as ad_namtext ) AS FullName,
  cast( '' as abap.sstring(1332) ) AS LglCntntMTaskCommentText
FROM I_LegalTransactionStartedTasks
LEFT OUTER JOIN I_LegalTransaction AS _LegalTransaction ON LegalTransactionUUID = _LegalTransaction.LegalTransactionUUID  -- association [1..1]
LEFT OUTER JOIN I_LCMUserContactCard AS _CreatedByContactCard ON _CreatedByContactCard.ContactCardType = 'User' AND _CreatedByContactCard.ContactCardID = UserID AND _CreatedByContactCard.ContactCardRole = 'Creator'  -- association [0..1]
;