I_LglTransWrkflwInstce

DDL: I_LGLTRANSWRKFLWINSTCE SQL: ILTWFINSTCE Type: view COMPOSITE

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

CategoryCDS Views for Enterprise Contract Management
Data CategoryComposite
StatusStatus Name of the Task
Purpose
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 .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentCM-LT
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageSourcing & 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

Data Sources (3)

SourceAliasJoin Type
I_LegalTransactionWorkflow _LegalTransactionWorkflow left_outer
I_WorkflowTask _WorkflowTask from
I_WorkflowTaskApplObject _WorkflowTaskApplObject left_outer

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_LegalTransactionBase _LegalTransactionBase _LegalTransactionWorkflow.LegalTransactionUUID = _LegalTransactionBase.LegalTransactionUUID

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;