C_BdgtDocGrntWrkflwDdlnEml
WF Deadline Email for budget doc grant
C_BdgtDocGrntWrkflwDdlnEml is a Consumption CDS View that provides data about "WF Deadline Email for budget doc grant" in SAP S/4HANA. It reads from 1 data source (I_WorkflowTask) and exposes 5 fields with key field WorkflowTaskInternalID. Part of development package PSM_S4CO_ODATA_BDGT_GM_WF.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkflowTask | Workflowtask | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | WF Deadline Email for budget doc grant | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkflowTaskInternalID | I_WorkflowTask | WorkflowTaskInternalID | |
| BudgetDocument | _BudgetDocument | BudgetDocument | ||
| GrantID | _BudgetDocument | GrantID | ||
| CreatedByUserName | ||||
| WorkflowTaskResultReasonText |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'WF Deadline Email for budget doc grant'
@VDM.viewType : #CONSUMPTION
@ObjectModel.usageType : { serviceQuality: #C,
sizeCategory: #L,
dataClass: #TRANSACTIONAL }
@ObjectModel.supportedCapabilities: [ #OUTPUT_EMAIL_DATA_PROVIDER ]
@Metadata.ignorePropagatedAnnotations:true
define view entity C_BdgtDocGrntWrkflwDdlnEml
as select from I_WorkflowTask as Workflowtask
left outer to many join I_WorkflowTaskApplObject as _WorkflowTaskApplObject on _WorkflowTaskApplObject.WorkflowTaskInternalID = Workflowtask.WorkflowTaskInternalID
and _WorkflowTaskApplObject.WorkflowObjectRole = '99'
left outer to one join I_BudgetDocumentBasic as _BudgetDocument on _BudgetDocument.ControllingArea = substring( _WorkflowTaskApplObject.TechnicalWrkflwObject, 1, 4 )
and _BudgetDocument.BudgetDocumentYear = substring( _WorkflowTaskApplObject.TechnicalWrkflwObject, 5, 4 )
and _BudgetDocument.BudgetDocument = substring( _WorkflowTaskApplObject.TechnicalWrkflwObject, 9, 10 )
left outer to one join I_User as _User on _User.UserID = _BudgetDocument.CreatedByUser
{
key Workflowtask.WorkflowTaskInternalID,
_BudgetDocument.BudgetDocument as BudgetDocument,
_BudgetDocument.GrantID as GrantID,
case Workflowtask.WorkflowTaskResult
when 'requestApproved'
then 'Approved'
when 'requestRejected'
then 'Rejected'
else Workflowtask.WorkflowTaskResult end as WorkflowTaskResult,
cast(_User.UserDescription as vdm_userdescription preserving type ) as CreatedByUserName,
Workflowtask._WorkflowTaskResult._WorkflowTaskResultReason._WorkflowTaskResultReasonText[1:Language=$session.system_language].WorkflowTaskResultReasonText
}
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