I_SESWorkflowEmailDeadline
Email Template for Service Entry Sheet Workflow Deadline
I_SESWorkflowEmailDeadline (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_SESWorkflowEmailDeadline is a Composite CDS View that provides data about "Email Template for Service Entry Sheet Workflow Deadline" in SAP S/4HANA. It reads from 2 data sources (I_WorkflowTask, I_WorkflowTaskApplObject) and exposes 17 fields with key field WorkflowTaskInternalID. It has 1 association to related views.
SAP Help Documentation
| Category | CDS Views for Operational Procurement |
|---|
This CDS view is used as a data source to create email templates for missed deadlines in your workflow scenarios for service entry sheets. It contains data related to the header data of service entry sheets and the approval status. This CDS view provides the data to answer the following business questions: Which service entry sheets are currently in process of a workflow? What is the current approval status of a service entry sheet? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations The following business catalog needs to be assigned to a user to be able to use this CDS view: SAP_BR_PURCHASING_MANAGER Users who want to use this CDS view must have the following authorization objects assigned: M_SES_EKO (Purchasing Organization in Service Entry Sheet) M_SES_EKG (Purchasing Group in Service Entry Sheet)
Structure
Business Objects This view is built on the following business object: Service Entry Sheet (Lean Services) Important Fields Important fields in this view include the following: Field Name Description ServiceEntrySheet ID of the service entry sheet ServiceEntrySheetName Name of the service entry sheet
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sourcing & Procurement |
| Application Component | MM-PUR-SVC-SES |
| Capabilities | Output: Email Data Provider |
| Package | Sourcing & Procurement for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view is used as a data source to create email templates for missed deadlines in your workflow scenarios for service entry sheets. It contains data related to the header data of service entry sheets and the approval status.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>Which service entry sheets are currently in process of a workflow?</p></li> <li><p>What is the current approval status of a service entry sheet?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
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 (2)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkflowTask | _WorkflowTask | from |
| I_WorkflowTaskApplObject | _WorkflowTaskApplObject | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ServiceEntrySheetBasic | _ServiceEntrySheet | _ServiceEntrySheet.ServiceEntrySheet = _WorkflowTaskApplObject.SAPBusinessObjectNodeKey1 and _WorkflowTaskApplObject.WorkflowTaskInternalID is not null |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISESWFEMLDL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.supportedCapabilities | #OUTPUT_EMAIL_DATA_PROVIDER | view | |
| ObjectModel.modelingPattern | #OUTPUT_EMAIL_DATA_PROVIDER | view | |
| EndUserText.label | Email Template for Service Entry Sheet Workflow Deadline | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkflowTaskInternalID | I_WorkflowTask | WorkflowTaskInternalID | Work Item ID |
| SAPObjectNodeRepresentation | I_WorkflowTaskApplObject | SAPObjectNodeRepresentation | SAP Object Node Type | |
| SuplrInvcWrkflwTaskDesc | Work item text | |||
| SuplrInvcWrkflwTaskType | I_WorkflowTask | WorkflowTaskType | Work Item Type | |
| SuplrInvcWrkflwTskTypeDesc | Work Item Type | |||
| SuplrInvcWrkflwTaskStatus | I_WorkflowTask | WorkflowTaskStatus | Processing Status of a Work Item | |
| SuplrInvcWrkflwTskStatusDesc | Workflow: Work Item Status | |||
| WorkflowTaskCreatedByUser | I_WorkflowTask | WorkflowTaskCreatedByUser | User Who Created the Work Item | |
| SuplrInvcWrkflwTskCrtnDateTime | I_WorkflowTask | WrkflwTskCreationUTCDateTime | Workflow: Creation Time Stamp | |
| WorkflowTaskCurrentUser | I_WorkflowTask | WorkflowTaskCurrentUser | Actual Agent of Work Item | |
| FullName | _User | UserDescription | User Description | |
| WorkflowTaskDefinition | I_WorkflowTask | WorkflowTaskDefinition | Task ID | |
| WorkflowTaskDueUTCDateTime | _TaskDueDate | WorkflowTaskDueUTCDateTime | Latest End Time for Work Item | |
| ServiceEntrySheet | _ServiceEntrySheet | ServiceEntrySheet | Service Entry Sheet | |
| ServiceEntrySheetName | _ServiceEntrySheet | ServiceEntrySheetName | Name of Service Entry Sheet | |
| PurchasingOrganization | _ServiceEntrySheet | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | _ServiceEntrySheet | PurchasingGroup | Purchasing Group |
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_SESWorkflowEmailDeadline.
-- 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: ISESWFEMLDL
CREATE VIEW I_SESWorkflowEmailDeadline AS
SELECT
_WorkflowTask.WorkflowTaskInternalID AS WorkflowTaskInternalID,
_WorkflowTaskApplObject.SAPObjectNodeRepresentation AS SAPObjectNodeRepresentation,
_WorkflowTask._TaskTitle[1:Language=$session.system_language].WorkflowTaskName AS SuplrInvcWrkflwTaskDesc,
_WorkflowTask.WorkflowTaskType AS SuplrInvcWrkflwTaskType,
_WorkflowTask._TaskType._Text[1:Language=$session.system_language].WorkflowTaskTypeDesc AS SuplrInvcWrkflwTskTypeDesc,
_WorkflowTask.WorkflowTaskStatus AS SuplrInvcWrkflwTaskStatus,
_WorkflowTask._TaskStatus._Text[1:Language=$session.system_language].WorkflowTaskStatusDesc AS SuplrInvcWrkflwTskStatusDesc,
_WorkflowTask.WorkflowTaskCreatedByUser AS WorkflowTaskCreatedByUser,
_WorkflowTask.WrkflwTskCreationUTCDateTime AS SuplrInvcWrkflwTskCrtnDateTime,
_WorkflowTask.WorkflowTaskCurrentUser AS WorkflowTaskCurrentUser,
_User.UserDescription AS FullName,
_WorkflowTask.WorkflowTaskDefinition AS WorkflowTaskDefinition,
_TaskDueDate.WorkflowTaskDueUTCDateTime AS WorkflowTaskDueUTCDateTime,
_ServiceEntrySheet.ServiceEntrySheet AS ServiceEntrySheet,
_ServiceEntrySheet.ServiceEntrySheetName AS ServiceEntrySheetName,
_ServiceEntrySheet.PurchasingOrganization AS PurchasingOrganization,
_ServiceEntrySheet.PurchasingGroup AS PurchasingGroup
FROM I_WorkflowTask AS _WorkflowTask
INNER JOIN I_WorkflowTaskApplObject AS _WorkflowTaskApplObject ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ServiceEntrySheetBasic AS _ServiceEntrySheet ON _ServiceEntrySheet.ServiceEntrySheet = _WorkflowTaskApplObject.SAPBusinessObjectNodeKey1 AND _WorkflowTaskApplObject.WorkflowTaskInternalID is not null -- 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