I_LglCntntMTask

DDL: I_LGLCNTNTMTASK SQL: ILCMTASK Type: view COMPOSITE Package: VDM_LCM_TSK

Basic View for Manage Tasks

I_LglCntntMTask is a Composite CDS View that provides data about "Basic View for Manage Tasks" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionStartedTasks) and exposes 32 fields with key fields LegalTransactionUUID, LegalTransactionTask. It has 5 associations to related views. Part of development package VDM_LCM_TSK.

Data Sources (1)

SourceAliasJoin Type
I_LegalTransactionStartedTasks LegalTrStartedTask from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_WorkflowRecipients _WorkflowRecipients $projection.LegalTransactionTask = _WorkflowRecipients.WorkflowTaskInternalID and _WorkflowRecipients.WorkflowTaskIsVisibleInInbox = 'X'
[0..*] I_WorkflowRecipients _WorkflowRecipientsCurUsr $projection.LegalTransactionTask = _WorkflowRecipientsCurUsr.WorkflowTaskInternalID and _WorkflowRecipientsCurUsr.WorkflowTaskRecipient = $session.user
[0..1] I_WorkflowStatusDetails _WorkflowStatusDetails _WorkflowStatusDetails.WorkflowTaskInternalID = $projection.LegalTransactionTask
[1..1] I_LglCntntMMyUsrInIntCntct _LglCntntMMyUsrInIntCntct $projection.LegalTransactionUUID = _LglCntntMMyUsrInIntCntct.LegalTransactionUUID
[1..1] I_LglCntntMMyUsrInReminder _LglCntntMMyUsrInReminder $projection.LegalTransactionUUID = _LglCntntMMyUsrInReminder.LegalTransactionUUID

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ILCMTASK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Basic View for Manage Tasks view
ObjectModel.representativeKey LegalTransactionTask view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionUUID I_LegalTransactionStartedTasks LegalTransactionUUID Universal Unique ID
KEY LegalTransactionTask LegalTransactionTask
LegalTransactionWrkflwSqnc LegalTransactionWrkflwSqnc Task Group
LglTransWrkFlwModInstce I_LegalTransactionStartedTasks LglTransWrkFlwModInstce Instance ID
LegalTransactionTitle _LegalTransaction LegalTransactionTitle Title
LglCntntMContextUUID _LegalTransaction LglCntntMContextUUID Universal Unique ID
LegalTransaction _LegalTransaction LegalTransaction Legal Transaction ID
LglCntntMCreatedByUser _LegalTransaction LglCntntMCreatedByUser Created By
LglCntntMContextTitle
LglCntntMContext
LglCntntMContextVersion
LegalTransactionTaskStatus LegalTransactionTaskStatus
LegalTransactionTaskCrtedByUsr LegalTransactionTaskCrtedByUsr
LegalTransactionTaskCurUsr LegalTransactionTaskCurUsr
LglCntntMTaskDefinition LglCntntMTaskDefinition
LegalTransactionTaskType LegalTransactionTaskType
WorkflowTaskProcessorRole WorkflowTaskProcessorRole
WorkflowTaskResult _WorkflowStatusDetails WorkflowTaskResult
LegalTransactionTaskName _LglTransWorkflowTaskTitle WorkflowTaskName
LglTransTskCrtnUTCDteTme LglTransTskCrtnUTCDteTme
LglCntntMTaskCompltnUTCDteTme LglCntntMTaskCompltnUTCDteTme
WorkflowTaskInternalID WorkflowTaskInternalID Work Item ID
TopLevelWorkflowTaskDefinition TopLevelWorkflowTaskDefinition
WorkflowTaskDefinitionVersion WorkflowTaskDefinitionVersion
WorkflowTaskStepType WorkflowTaskStepType
WorkflowTaskStatus WorkflowTaskStatus
_WorkflowStepType _WorkflowStepType
_TaskStatus _TaskStatus
_WorkflowRecipients _WorkflowRecipients
_WorkflowStatusDetails _WorkflowStatusDetails
_LegalTransaction _LegalTransaction
_LglCntntMMyUsrInIntCntct _LglCntntMMyUsrInIntCntct

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_LglCntntMTask.
-- 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: ILCMTASK

CREATE VIEW I_LglCntntMTask AS
SELECT
  LegalTrStartedTask.LegalTransactionUUID AS LegalTransactionUUID,
  LegalTransactionTask,
  LegalTransactionWrkflwSqnc,
  LegalTrStartedTask.LglTransWrkFlwModInstce AS LglTransWrkFlwModInstce,
  _LegalTransaction.LegalTransactionTitle AS LegalTransactionTitle,
  _LegalTransaction.LglCntntMContextUUID AS LglCntntMContextUUID,
  _LegalTransaction.LegalTransaction AS LegalTransaction,
  _LegalTransaction.LglCntntMCreatedByUser AS LglCntntMCreatedByUser,
  _LegalTransaction._Context.LglCntntMContextTitle AS LglCntntMContextTitle,
  _LegalTransaction._Context.LglCntntMContext AS LglCntntMContext,
  _LegalTransaction._Context.LglCntntMContextVersion AS LglCntntMContextVersion,
  LegalTransactionTaskStatus,
  LegalTransactionTaskCrtedByUsr,
  LegalTransactionTaskCurUsr,
  LglCntntMTaskDefinition,
  LegalTransactionTaskType,
  WorkflowTaskProcessorRole,
  _WorkflowStatusDetails.WorkflowTaskResult AS WorkflowTaskResult,
  _LglTransWorkflowTaskTitle.WorkflowTaskName AS LegalTransactionTaskName,
  LglTransTskCrtnUTCDteTme,
  LglCntntMTaskCompltnUTCDteTme,
  WorkflowTaskInternalID,
  TopLevelWorkflowTaskDefinition,
  WorkflowTaskDefinitionVersion,
  WorkflowTaskStepType,
  WorkflowTaskStatus
FROM I_LegalTransactionStartedTasks AS LegalTrStartedTask
LEFT OUTER JOIN I_WorkflowRecipients AS _WorkflowRecipients ON LegalTransactionTask = _WorkflowRecipients.WorkflowTaskInternalID AND _WorkflowRecipients.WorkflowTaskIsVisibleInInbox = 'X'  -- association [0..*]
LEFT OUTER JOIN I_WorkflowRecipients AS _WorkflowRecipientsCurUsr ON LegalTransactionTask = _WorkflowRecipientsCurUsr.WorkflowTaskInternalID AND _WorkflowRecipientsCurUsr.WorkflowTaskRecipient = $session.user  -- association [0..*]
LEFT OUTER JOIN I_WorkflowStatusDetails AS _WorkflowStatusDetails ON _WorkflowStatusDetails.WorkflowTaskInternalID = LegalTransactionTask  -- association [0..1]
LEFT OUTER JOIN I_LglCntntMMyUsrInIntCntct AS _LglCntntMMyUsrInIntCntct ON LegalTransactionUUID = _LglCntntMMyUsrInIntCntct.LegalTransactionUUID  -- association [1..1]
LEFT OUTER JOIN I_LglCntntMMyUsrInReminder AS _LglCntntMMyUsrInReminder ON LegalTransactionUUID = _LglCntntMMyUsrInReminder.LegalTransactionUUID  -- association [1..1]
;