I_ClosingTaskEmail

DDL: I_CLOSINGTASKEMAIL Type: view BASIC Package: FCCO_VDM_MD

Closing Task Email

I_ClosingTaskEmail is a Basic CDS View that provides data about "Closing Task Email" in SAP S/4HANA. It reads from 1 data source (fcco_email) and exposes 29 fields with key fields ClosingTemplate, ClosingTaskListInstance, FinancialTaskListContextType, ClosingTask, EmailUUID. It has 12 associations to related views. Part of development package FCCO_VDM_MD.

Data Sources (1)

SourceAliasJoin Type
fcco_email fcco_email from

Associations (12)

CardinalityTargetAliasCondition
[1..1] I_FinTaskListContextType _FinTaskListContextType $projection.FinancialTaskListContextType = _FinTaskListContextType.FinancialTaskListContextType
[1..1] I_ClosingTaskList _ClosingTaskList $projection.ClosingTemplate = _ClosingTaskList.ClosingTemplate and $projection.ClosingTaskListInstance = _ClosingTaskList.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _ClosingTaskList.FinancialTaskListContextType
[1..1] I_ClosingTask _ClosingTask $projection.ClosingTemplate = _ClosingTask.ClosingTemplate and $projection.ClosingTaskListInstance = _ClosingTask.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _ClosingTask.FinancialTaskListContextType and $projection.ClosingTask = _ClosingTask.ClosingTask
[0..*] I_ClosingTaskEmailRecipient _ClosingTaskEmailRecipient $projection.ClosingTemplate = _ClosingTaskEmailRecipient.ClosingTemplate and $projection.ClosingTaskListInstance = _ClosingTaskEmailRecipient.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _ClosingTaskEmailRecipient.FinancialTaskListContextType and $projection.ClosingTask = _ClosingTaskEmailRecipient.ClosingTask and $projection.EmailUUID = _ClosingTaskEmailRecipient.EmailUUID
[0..1] I_ClsgEmailRecipientType _ClosingEmailRecipientType $projection.ClosingEmailRecipientType = _ClosingEmailRecipientType.ClosingEmailRecipientType
[1..1] I_ClosingTemplate _ClosingTemplate $projection.ClosingTemplate = _ClosingTemplate.ClosingTemplate and $projection.FinancialTaskListContextType = _ClosingTemplate.FinancialTaskListContextType
[0..*] I_ClosingFolderOrgUnit _Plant $projection.ClosingTemplate = _Plant.ClosingTemplate and $projection.ClosingTaskListInstance = _Plant.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _Plant.FinancialTaskListContextType and $projection.PlantClosingFolder = _Plant.ClosingFolder
[0..*] I_ClosingFolderOrgUnit _CompanyCode $projection.ClosingTemplate = _CompanyCode.ClosingTemplate and $projection.ClosingTaskListInstance = _CompanyCode.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _CompanyCode.FinancialTaskListContextType and $projection.CompanyCodeClosingFolder = _CompanyCode.ClosingFolder
[0..*] I_ClosingFolderOrgUnit _ControllingArea $projection.ClosingTemplate = _ControllingArea.ClosingTemplate and $projection.ClosingTaskListInstance = _ControllingArea.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _ControllingArea.FinancialTaskListContextType and $projection.ControllingAreaClosingFolder = _ControllingArea.ClosingFolder
[0..1] I_ClosingFolder _CompanyCodeClosingFolder $projection.ClosingTemplate = _CompanyCodeClosingFolder.ClosingTemplate and $projection.ClosingTaskListInstance = _CompanyCodeClosingFolder.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _CompanyCodeClosingFolder.FinancialTaskListContextType and $projection.CompanyCodeClosingFolder = _CompanyCodeClosingFolder.ClosingFolder
[0..1] I_ClosingFolder _ControllingAreaClosingFolder $projection.ClosingTemplate = _ControllingAreaClosingFolder.ClosingTemplate and $projection.ClosingTaskListInstance = _ControllingAreaClosingFolder.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _ControllingAreaClosingFolder.FinancialTaskListContextType and $projection.ControllingAreaClosingFolder = _ControllingAreaClosingFolder.ClosingFolder
[0..1] I_ClosingFolder _PlantClosingFolder $projection.ClosingTemplate = _PlantClosingFolder.ClosingTemplate and $projection.ClosingTaskListInstance = _PlantClosingFolder.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _PlantClosingFolder.FinancialTaskListContextType and $projection.PlantClosingFolder = _PlantClosingFolder.ClosingFolder

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICLSGTASKEMAIL view
AbapCatalog.preserveKey true view
EndUserText.label Closing Task Email view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey EmailUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY ClosingTemplate profile WBS sched. prof
KEY ClosingTaskListInstance instance TaskCount
KEY FinancialTaskListContextType flavor Task List Context
KEY ClosingTask item Task ID
KEY EmailUUID email_uuid
EmailSender sender Sender
CreationDateTime created_on Variant created on
EmailSubjectText subject Title
EmailBodyText text User Group
EmailRecipientType recipient_type Forms Recipient Type: Business partner or Govt agent
ClosingEmailRecipientType recipient_type Forms Recipient Type: Business partner or Govt agent
ClosingAuthorizationGroup _ClosingTask ClosingAuthorizationGroup
UserIsClsgTaskRespOrSubstit _ClosingTask UserIsClsgTaskRespOrSubstit
UserIsClsgTaskProcsrOrSubstit _ClosingTask UserIsClsgTaskProcsrOrSubstit
PlantClosingFolder _ClosingTask PlantClosingFolder
CompanyCodeClosingFolder _ClosingTask CompanyCodeClosingFolder
ControllingAreaClosingFolder _ClosingTask ControllingAreaClosingFolder
_ClosingTaskList _ClosingTaskList
_ClosingTemplate _ClosingTemplate
_FinTaskListContextType _FinTaskListContextType
_ClosingTask _ClosingTask
_ClosingTaskEmailRecipient _ClosingTaskEmailRecipient
_ClosingEmailRecipientType _ClosingEmailRecipientType
_ControllingArea _ControllingArea
_CompanyCode _CompanyCode
_Plant _Plant
_CompanyCodeClosingFolder _CompanyCodeClosingFolder
_ControllingAreaClosingFolder _ControllingAreaClosingFolder
_PlantClosingFolder _PlantClosingFolder

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_ClosingTaskEmail.
-- 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.

CREATE VIEW I_ClosingTaskEmail AS
SELECT
  profile AS ClosingTemplate,
  instance AS ClosingTaskListInstance,
  flavor AS FinancialTaskListContextType,
  item AS ClosingTask,
  email_uuid AS EmailUUID,
  sender AS EmailSender,
  created_on AS CreationDateTime,
  subject AS EmailSubjectText,
  text AS EmailBodyText,
  recipient_type AS EmailRecipientType,
  recipient_type AS ClosingEmailRecipientType,
  _ClosingTask.ClosingAuthorizationGroup AS ClosingAuthorizationGroup,
  _ClosingTask.UserIsClsgTaskRespOrSubstit AS UserIsClsgTaskRespOrSubstit,
  _ClosingTask.UserIsClsgTaskProcsrOrSubstit AS UserIsClsgTaskProcsrOrSubstit,
  _ClosingTask.PlantClosingFolder AS PlantClosingFolder,
  _ClosingTask.CompanyCodeClosingFolder AS CompanyCodeClosingFolder,
  _ClosingTask.ControllingAreaClosingFolder AS ControllingAreaClosingFolder
FROM fcco_email
LEFT OUTER JOIN I_FinTaskListContextType AS _FinTaskListContextType ON FinancialTaskListContextType = _FinTaskListContextType.FinancialTaskListContextType  -- association [1..1]
LEFT OUTER JOIN I_ClosingTaskList AS _ClosingTaskList ON ClosingTemplate = _ClosingTaskList.ClosingTemplate AND ClosingTaskListInstance = _ClosingTaskList.ClosingTaskListInstance AND FinancialTaskListContextType = _ClosingTaskList.FinancialTaskListContextType  -- association [1..1]
LEFT OUTER JOIN I_ClosingTask AS _ClosingTask ON ClosingTemplate = _ClosingTask.ClosingTemplate AND ClosingTaskListInstance = _ClosingTask.ClosingTaskListInstance AND FinancialTaskListContextType = _ClosingTask.FinancialTaskListContextType AND ClosingTask = _ClosingTask.ClosingTask  -- association [1..1]
LEFT OUTER JOIN I_ClosingTaskEmailRecipient AS _ClosingTaskEmailRecipient ON ClosingTemplate = _ClosingTaskEmailRecipient.ClosingTemplate AND ClosingTaskListInstance = _ClosingTaskEmailRecipient.ClosingTaskListInstance AND FinancialTaskListContextType = _ClosingTaskEmailRecipient.FinancialTaskListContextType AND ClosingTask = _ClosingTaskEmailRecipient.ClosingTask AND EmailUUID = _ClosingTaskEmailRecipient.EmailUUID  -- association [0..*]
LEFT OUTER JOIN I_ClsgEmailRecipientType AS _ClosingEmailRecipientType ON ClosingEmailRecipientType = _ClosingEmailRecipientType.ClosingEmailRecipientType  -- association [0..1]
LEFT OUTER JOIN I_ClosingTemplate AS _ClosingTemplate ON ClosingTemplate = _ClosingTemplate.ClosingTemplate AND FinancialTaskListContextType = _ClosingTemplate.FinancialTaskListContextType  -- association [1..1]
LEFT OUTER JOIN I_ClosingFolderOrgUnit AS _Plant ON ClosingTemplate = _Plant.ClosingTemplate AND ClosingTaskListInstance = _Plant.ClosingTaskListInstance AND FinancialTaskListContextType = _Plant.FinancialTaskListContextType AND PlantClosingFolder = _Plant.ClosingFolder  -- association [0..*]
LEFT OUTER JOIN I_ClosingFolderOrgUnit AS _CompanyCode ON ClosingTemplate = _CompanyCode.ClosingTemplate AND ClosingTaskListInstance = _CompanyCode.ClosingTaskListInstance AND FinancialTaskListContextType = _CompanyCode.FinancialTaskListContextType AND CompanyCodeClosingFolder = _CompanyCode.ClosingFolder  -- association [0..*]
LEFT OUTER JOIN I_ClosingFolderOrgUnit AS _ControllingArea ON ClosingTemplate = _ControllingArea.ClosingTemplate AND ClosingTaskListInstance = _ControllingArea.ClosingTaskListInstance AND FinancialTaskListContextType = _ControllingArea.FinancialTaskListContextType AND ControllingAreaClosingFolder = _ControllingArea.ClosingFolder  -- association [0..*]
LEFT OUTER JOIN I_ClosingFolder AS _CompanyCodeClosingFolder ON ClosingTemplate = _CompanyCodeClosingFolder.ClosingTemplate AND ClosingTaskListInstance = _CompanyCodeClosingFolder.ClosingTaskListInstance AND FinancialTaskListContextType = _CompanyCodeClosingFolder.FinancialTaskListContextType AND CompanyCodeClosingFolder = _CompanyCodeClosingFolder.ClosingFolder  -- association [0..1]
LEFT OUTER JOIN I_ClosingFolder AS _ControllingAreaClosingFolder ON ClosingTemplate = _ControllingAreaClosingFolder.ClosingTemplate AND ClosingTaskListInstance = _ControllingAreaClosingFolder.ClosingTaskListInstance AND FinancialTaskListContextType = _ControllingAreaClosingFolder.FinancialTaskListContextType AND ControllingAreaClosingFolder = _ControllingAreaClosingFolder.ClosingFolder  -- association [0..1]
LEFT OUTER JOIN I_ClosingFolder AS _PlantClosingFolder ON ClosingTemplate = _PlantClosingFolder.ClosingTemplate AND ClosingTaskListInstance = _PlantClosingFolder.ClosingTaskListInstance AND FinancialTaskListContextType = _PlantClosingFolder.FinancialTaskListContextType AND PlantClosingFolder = _PlantClosingFolder.ClosingFolder  -- association [0..1]
;