I_LglTransWrkflwInstce
Data for Workflow Instance
I_LglTransWrkflwInstce (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Sourcing & Procurement
I_LglTransWrkflwInstce is a Composite CDS View that provides data about "Data for Workflow Instance" in SAP S/4HANA. It reads from 3 data sources (I_LegalTransactionWorkflow, I_WorkflowTask, I_WorkflowTaskApplObject) and exposes 21 fields with key field WorkflowTaskInternalID. It has 1 association to related views.
SAP Help Documentation
| Category | CDS Views for Enterprise Contract Management |
|---|---|
| Data Category | Composite |
| Status | Status Name of the Task |
The CDS view provides the general information of attributes about the legal transaction and workflow task type details that are used during copying Workflow Email Template during workflow instance completion in Maintain Email Templates application using this CDS view. This CDS view provides the prerequisites for answering the following business questions: What is the ID of Legal Transaction? What is the Title of Legal Transaction? What is the Workflow Task Title? What is the Workflow Task Type and Task Type Name? What is the Workflow Task Status and Status Description? What is the Workflow Task Created By User name?
Structure
Object types This view relates to the following SAP object types: • Legal Transaction and Workflow Task Measures and attributes Some important measures and attributes are: Attribute Description LegalTransaction Identifier of the Legal Transaction LegalTransactionTitle Title of the Legal Transaction WorkflowTaskType Type of Workflow Task like Backgroud Step (B) or Dialog Step (W) WorkflowTaskTypeDesc Description of Workflow Task Type LegalTransactionTaskStatus Status of the Task LegalTransactionTaskStatusName Status Name of the Task WorkflowTaskStepType Type of Workflow Task Step like Rework, Aprrove and so on. WorkflowStepTypeSubject Subject of the Workflow Task Step
SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. In case you are interested in the details of the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Application Help SAP Library BI Content . For more information on extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sourcing & Procurement |
| Application Component | CM-LT |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities |
| Package | Sourcing & Procurement for SAP S/4HANA Cloud Private Edition |
| Description | <p>The CDS view provides the general information of attributes about the legal transaction and workflow task type details that are used during copying Workflow Email Template during workflow instance completion in Maintain Email Templates application using this CDS view. </p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>What is the ID of Legal Transaction?</p></li> <li><p>What is the Title of Legal Transaction?</p></li> <li><p>What is the Workflow Task Title?</p></li> <li><p>What is the Workflow Task Type and Task Type Name?</p></li> <li><p>What is the Workflow Task Status and Status Description?</p></li> <li><p>What is the Workflow Task Created By User name?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_LegalTransactionWorkflow | _LegalTransactionWorkflow | left_outer |
| I_WorkflowTask | _WorkflowTask | from |
| I_WorkflowTaskApplObject | _WorkflowTaskApplObject | left_outer |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_LegalTransactionBase | _LegalTransactionBase | _LegalTransactionWorkflow.LegalTransactionUUID = _LegalTransactionBase.LegalTransactionUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.sqlViewName | ILTWFINSTCE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Data for Workflow Instance | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkflowTaskInternalID | I_WorkflowTask | WorkflowTaskInternalID | Work Item ID |
| LegalTransactionUUID | LegalTransactionUUID | Universal Unique Identifier | ||
| LegalTransactionWrkflwSqnc | LegalTransactionWrkflwSqnc | Task Group | ||
| LglTransWrkFlwModInstce | LglTransWrkFlwModInstce | Instance Ident. in BOR Compat. Persistent Object References | ||
| LegalTransaction | _LegalTransactionBase | LegalTransaction | Legal Transaction ID | |
| LegalTransactionTitle | _LegalTransactionBase | LegalTransactionTitle | Legal Transaction Name | |
| LegalTransactionHealth | _LegalTransactionBase | LegalTransactionHealth | Legal Transaction Status | |
| LegalTransactionTaskName | Work item text | |||
| LegalTransactionTaskType | I_WorkflowTask | WorkflowTaskType | Work Item Type | |
| WorkflowTaskType | I_WorkflowTask | WorkflowTaskType | Work Item Type | |
| LegalTransactionTaskTypeName | Work Item Type | |||
| WorkflowTaskTypeDesc | Work Item Type | |||
| WorkflowTaskStepType | I_WorkflowTask | WorkflowTaskStepType | Workflow: Step Id | |
| WorkflowStepTypeSubject | Text, 255 Characters | |||
| LegalTransactionTaskStatus | I_WorkflowTask | WorkflowTaskStatus | Processing Status of a Work Item | |
| LegalTransactionTaskStatusName | Workflow: Work Item Status | |||
| LegalTransactionTaskCrtedByUsr | I_WorkflowTask | WorkflowTaskCreatedByUser | User Who Created the Work Item | |
| LglTransTskCrtnUTCDteTme | I_WorkflowTask | WrkflwTskCreationUTCDateTime | Workflow: Creation Time Stamp | |
| LegalTransactionTaskCurUsr | I_WorkflowTask | WorkflowTaskCurrentUser | Actual Agent of Work Item | |
| WorkflowTaskDefinition | I_WorkflowTask | WorkflowTaskDefinition | Task ID | |
| _LegalTransactionBase | _LegalTransactionBase |
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_LglTransWrkflwInstce.
-- 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: ILTWFINSTCE
CREATE VIEW I_LglTransWrkflwInstce AS
SELECT
_WorkflowTask.WorkflowTaskInternalID AS WorkflowTaskInternalID,
LegalTransactionUUID,
LegalTransactionWrkflwSqnc,
LglTransWrkFlwModInstce,
_LegalTransactionBase.LegalTransaction AS LegalTransaction,
_LegalTransactionBase.LegalTransactionTitle AS LegalTransactionTitle,
_LegalTransactionBase.LegalTransactionHealth AS LegalTransactionHealth,
cast( _WorkflowTask._TaskTitle[1:Language=$session.system_language].WorkflowTaskName as sww_witext ) AS LegalTransactionTaskName,
_WorkflowTask.WorkflowTaskType AS LegalTransactionTaskType,
_WorkflowTask.WorkflowTaskType AS WorkflowTaskType,
_WorkflowTask._TaskType._Text[1:Language=$session.system_language].WorkflowTaskTypeDesc AS LegalTransactionTaskTypeName,
_WorkflowTask._TaskType._Text[1:Language=$session.system_language].WorkflowTaskTypeDesc AS WorkflowTaskTypeDesc,
_WorkflowTask.WorkflowTaskStepType AS WorkflowTaskStepType,
_WorkflowTask._WorkflowStepType._WorkflowTaskStepTypeText[1:Language=$session.system_language].WorkflowStepTypeSubject AS WorkflowStepTypeSubject,
_WorkflowTask.WorkflowTaskStatus AS LegalTransactionTaskStatus,
_WorkflowTask._TaskStatus._Text[1:Language=$session.system_language].WorkflowTaskStatusDesc AS LegalTransactionTaskStatusName,
_WorkflowTask.WorkflowTaskCreatedByUser AS LegalTransactionTaskCrtedByUsr,
_WorkflowTask.WrkflwTskCreationUTCDateTime AS LglTransTskCrtnUTCDteTme,
_WorkflowTask.WorkflowTaskCurrentUser AS LegalTransactionTaskCurUsr,
_WorkflowTask.WorkflowTaskDefinition AS WorkflowTaskDefinition
FROM I_WorkflowTask AS _WorkflowTask
LEFT OUTER JOIN I_WorkflowTaskApplObject AS _WorkflowTaskApplObject ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_LegalTransactionWorkflow AS _LegalTransactionWorkflow ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_LegalTransactionBase AS _LegalTransactionBase ON _LegalTransactionWorkflow.LegalTransactionUUID = _LegalTransactionBase.LegalTransactionUUID -- association [1..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