I_LegalTransactionStartedTasks
Basic View for Started Tasks of Legal Transaction
I_LegalTransactionStartedTasks is a Composite CDS View that provides data about "Basic View for Started Tasks of Legal Transaction" in SAP S/4HANA. It reads from 1 data source (I_LegalTransactionWorkflow) and exposes 27 fields with key fields LegalTransactionUUID, LegalTransactionTask. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransactionWorkflow | I_LegalTransactionWorkflow | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_LglTransWorkflowTaskTitle | _LglTransWorkflowTaskTitle | $projection.WorkflowTaskInternalID = _LglTransWorkflowTaskTitle.WorkflowTaskInternalID |
| [1..1] | I_LglCntntMWorkflowTask | _WorkflowTask | $projection.WorkflowTaskInternalID = _WorkflowTask.WorkflowTaskInternalID and( _WorkflowTask.WorkflowTaskType = 'W' or _WorkflowTask.WorkflowTaskType = 'B' ) |
| [0..1] | I_LglCntntMWrkflwStpAgtRole | _LglCntntMWrkflwStpAgtRole | $projection.WorkflowTaskProcessorRole = _LglCntntMWrkflwStpAgtRole.RespyMgmtContextAgentDetnRule or $projection.WorkflowTaskProcessorRole = _LglCntntMWrkflwStpAgtRole.RespyMgmtOldAgentDetnRule |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILTSTARTT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.representativeKey | LegalTransactionTask | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Basic View for Started Tasks of Legal Transaction | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalTransactionUUID | I_LegalTransactionWorkflow | LegalTransactionUUID | Universal Unique ID |
| KEY | LegalTransactionTask | |||
| WorkflowTaskInternalID | WorkflowTaskApplObject | WorkflowTaskInternalID | Work Item ID | |
| LglTransWrkFlwModInstce | I_LegalTransactionWorkflow | LglTransWrkFlwModInstce | Instance ID | |
| LegalTransactionWrkflwSqnc | I_LegalTransactionWorkflow | LegalTransactionWrkflwSqnc | Task Group | |
| LglCntntMTaskGroupName | I_LegalTransactionWorkflow | LglCntntMTaskGroupName | Task Group Name | |
| WorkflowTaskProcessorRole | _WorkflowTask | WorkflowTaskProcessorRole | ||
| LegalTransactionTaskStatus | _WorkflowTask | WorkflowTaskStatus | ||
| LegalTransactionTaskCrtedByUsr | _WorkflowTask | WorkflowTaskCreatedByUser | ||
| LegalTransactionTaskCurUsr | _WorkflowTask | WorkflowTaskCurrentUser | ||
| LglCntntMTaskDefinition | _WorkflowTask | WorkflowTaskDefinition | ||
| LegalTransactionTaskType | _WorkflowTask | WorkflowTaskStepType | ||
| LglTransTskCrtnUTCDteTme | _WorkflowTask | WrkflwTskCreationUTCDateTime | ||
| LglCntntMTaskCompltnUTCDteTme | _WorkflowTask | WrkflwTskCompletionUTCDateTime | ||
| LegalTransactionTaskTypeName | ||||
| LegalTransactionTaskStatusName | ||||
| WorkflowTask | ||||
| TopLevelWorkflowTaskDefinition | _WorkflowTask | TopLevelWorkflowTaskDefinition | ||
| WorkflowTaskDefinitionVersion | _WorkflowTask | WorkflowTaskDefinitionVersion | ||
| WorkflowTaskStepType | _WorkflowTask | WorkflowTaskStepType | ||
| WorkflowTaskStatus | _WorkflowTask | WorkflowTaskStatus | ||
| WorkflowTaskResult | _WorkflowTask | WorkflowTaskResult | ||
| _WorkflowStepType | _WorkflowTask | _WorkflowStepType | ||
| _TaskStatus | _WorkflowTask | _TaskStatus | ||
| _LglTransWorkflowTaskTitle | _LglTransWorkflowTaskTitle | |||
| _LegalTransaction | I_LegalTransactionWorkflow | _LegalTransaction | ||
| _LglCntntMWrkflwStpAgtRole | _LglCntntMWrkflwStpAgtRole |
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_LegalTransactionStartedTasks.
-- 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: ILTSTARTT
CREATE VIEW I_LegalTransactionStartedTasks AS
SELECT
I_LegalTransactionWorkflow.LegalTransactionUUID AS LegalTransactionUUID,
cast(WorkflowTaskApplObject.WorkflowTaskInternalID as lcm_sww_wiid) AS LegalTransactionTask,
WorkflowTaskApplObject.WorkflowTaskInternalID AS WorkflowTaskInternalID,
I_LegalTransactionWorkflow.LglTransWrkFlwModInstce AS LglTransWrkFlwModInstce,
I_LegalTransactionWorkflow.LegalTransactionWrkflwSqnc AS LegalTransactionWrkflwSqnc,
I_LegalTransactionWorkflow.LglCntntMTaskGroupName AS LglCntntMTaskGroupName,
_WorkflowTask.WorkflowTaskProcessorRole AS WorkflowTaskProcessorRole,
_WorkflowTask.WorkflowTaskStatus AS LegalTransactionTaskStatus,
_WorkflowTask.WorkflowTaskCreatedByUser AS LegalTransactionTaskCrtedByUsr,
_WorkflowTask.WorkflowTaskCurrentUser AS LegalTransactionTaskCurUsr,
_WorkflowTask.WorkflowTaskDefinition AS LglCntntMTaskDefinition,
_WorkflowTask.WorkflowTaskStepType AS LegalTransactionTaskType,
_WorkflowTask.WrkflwTskCreationUTCDateTime AS LglTransTskCrtnUTCDteTme,
_WorkflowTask.WrkflwTskCompletionUTCDateTime AS LglCntntMTaskCompltnUTCDteTme,
_WorkflowTask._WorkflowStepType._WorkflowTaskStepTypeText[1:Language=$session.system_language].WorkflowStepTypeSubject AS LegalTransactionTaskTypeName,
_WorkflowTask._TaskStatus._Text[1:Language=$session.system_language].WorkflowTaskStatusDesc AS LegalTransactionTaskStatusName,
cast( _WorkflowTask.WorkflowTaskInternalID as mlst_task ) AS WorkflowTask,
_WorkflowTask.TopLevelWorkflowTaskDefinition AS TopLevelWorkflowTaskDefinition,
_WorkflowTask.WorkflowTaskDefinitionVersion AS WorkflowTaskDefinitionVersion,
_WorkflowTask.WorkflowTaskStepType AS WorkflowTaskStepType,
_WorkflowTask.WorkflowTaskStatus AS WorkflowTaskStatus,
_WorkflowTask.WorkflowTaskResult AS WorkflowTaskResult,
_WorkflowTask._WorkflowStepType AS _WorkflowStepType,
_WorkflowTask._TaskStatus AS _TaskStatus,
I_LegalTransactionWorkflow._LegalTransaction AS _LegalTransaction
FROM I_LegalTransactionWorkflow
LEFT OUTER JOIN I_LglTransWorkflowTaskTitle AS _LglTransWorkflowTaskTitle ON WorkflowTaskInternalID = _LglTransWorkflowTaskTitle.WorkflowTaskInternalID -- association [1..1]
LEFT OUTER JOIN I_LglCntntMWorkflowTask AS _WorkflowTask ON WorkflowTaskInternalID = _WorkflowTask.WorkflowTaskInternalID AND( _WorkflowTask.WorkflowTaskType = 'W' OR _WorkflowTask.WorkflowTaskType = 'B' ) -- association [1..1]
LEFT OUTER JOIN I_LglCntntMWrkflwStpAgtRole AS _LglCntntMWrkflwStpAgtRole ON WorkflowTaskProcessorRole = _LglCntntMWrkflwStpAgtRole.RespyMgmtContextAgentDetnRule OR WorkflowTaskProcessorRole = _LglCntntMWrkflwStpAgtRole.RespyMgmtOldAgentDetnRule -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA