C_SlsQtnWorkflowEmailTemplate
Email Notification for Sales Quotation Workflow
C_SlsQtnWorkflowEmailTemplate is a Consumption CDS View that provides data about "Email Notification for Sales Quotation Workflow" in SAP S/4HANA. It reads from 1 data source (I_WorkflowTask) and exposes 20 fields with key field WorkflowTaskInternalID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkflowTask | Workflowtask | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_WorkflowTaskURL | _WorkflowTaskURL | $projection.WorkflowTaskInternalID = _WorkflowTaskURL.WorkflowTaskInternalID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CQTNWFEMLTMPL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Email Notification for Sales Quotation Workflow | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkflowTaskInternalID | I_WorkflowTask | WorkflowTaskInternalID | |
| SalesQuotation | SalesQuotation | SalesQuotation | ||
| SalesOrganizationName | ||||
| SalesOrganization | SalesQuotation | SalesOrganization | ||
| DistributionChannelName | ||||
| DistributionChannel | SalesQuotation | DistributionChannel | ||
| DivisionName | ||||
| OrganizationDivision | SalesQuotation | OrganizationDivision | ||
| SalesQuotationTypeName | ||||
| SalesQuotationType | SalesQuotation | SalesQuotationType | ||
| SalesQuotationDate | SalesQuotation | SalesQuotationDate | ||
| SDDocumentReasonText | ||||
| SDDocumentReason | SalesQuotation | SDDocumentReason | ||
| CustomerName | _SoldToParty | CustomerName | ||
| SoldToParty | SalesQuotation | SoldToParty | ||
| TransactionCurrency | SalesQuotation | TransactionCurrency | ||
| TotalNetAmount | SalesQuotation | TotalNetAmount | ||
| WorkflowTaskPriority | I_WorkflowTask | WorkflowTaskPriority | ||
| WorkflowTaskStatus | I_WorkflowTask | WorkflowTaskStatus | ||
| WorkflowTaskURL | _WorkflowTaskURL | WorkflowTaskURL |
@AbapCatalog.sqlViewName: 'CQTNWFEMLTMPL'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Email Notification for Sales Quotation Workflow'
@VDM.viewType : #CONSUMPTION
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType : {
serviceQuality: #D,
sizeCategory: #L,
dataClass: #TRANSACTIONAL
}
define view C_SlsQtnWorkflowEmailTemplate
as select from I_WorkflowTask as Workflowtask
left outer to one join I_WorkflowTaskApplObject as WorkflowTaskApplObject on WorkflowTaskApplObject.WorkflowTaskInternalID = Workflowtask.WorkflowTaskInternalID
and WorkflowTaskApplObject.SAPObjectNodeRepresentation = 'SalesQuotation'
and WorkflowTaskApplObject.TechnicalWrkflwObjectCategory = 'CL'
left outer to one join I_SalesQuotation as SalesQuotation on SalesQuotation.SalesQuotation = WorkflowTaskApplObject.TechnicalWrkflwObject
association [0..1] to I_WorkflowTaskURL as _WorkflowTaskURL on $projection.WorkflowTaskInternalID = _WorkflowTaskURL.WorkflowTaskInternalID
{
key Workflowtask.WorkflowTaskInternalID,
SalesQuotation.SalesQuotation,
_SalesOrganization._Text[1: Language=$session.system_language ].SalesOrganizationName,
SalesQuotation.SalesOrganization,
_DistributionChannel._Text[1: Language=$session.system_language ].DistributionChannelName,
SalesQuotation.DistributionChannel,
_OrganizationDivision._Text[1: Language=$session.system_language ].DivisionName,
SalesQuotation.OrganizationDivision,
cast(_SalesQuotationType._Text[1:Language=$session.system_language].SalesDocumentTypeName as quotation_type_name preserving type ) as SalesQuotationTypeName,
SalesQuotation.SalesQuotationType,
SalesQuotation.SalesQuotationDate,
_SDDocumentReason._Text[1:Language=$session.system_language].SDDocumentReasonText,
SalesQuotation.SDDocumentReason,
_SoldToParty.CustomerName as CustomerName,
SalesQuotation.SoldToParty,
@Semantics.currencyCode:true
SalesQuotation.TransactionCurrency,
@Semantics.amount.currencyCode: 'TransactionCurrency'
SalesQuotation.TotalNetAmount,
Workflowtask.WorkflowTaskPriority,
Workflowtask.WorkflowTaskStatus,
_WorkflowTaskURL.WorkflowTaskURL
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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