I_ClosingTemplate
Closing Template
I_ClosingTemplate is a Basic CDS View (Dimension) that provides data about "Closing Template" in SAP S/4HANA. It reads from 1 data source (fcco_hdr) and exposes 33 fields with key fields ClosingTemplate, FinancialTaskListContextType. It has 12 associations to related views. Part of development package FCCO_VDM_MD.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fcco_hdr | fcco_hdr | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_FinTaskListContextType | _FinTaskListContextType | $projection.FinancialTaskListContextType = _FinTaskListContextType.FinancialTaskListContextType |
| [0..*] | I_ClosingTaskListText | _Text | $projection.ClosingTemplate = _Text.ClosingTemplate and $projection.ClosingTaskListInstance = _Text.ClosingTaskListInstance and $projection.FinancialTaskListContextType = _Text.FinancialTaskListContextType |
| [0..1] | I_ClosingTaskListHierarchyType | _ClosingTaskListHierarchyType | $projection.ClosingTaskListHierarchyType = _ClosingTaskListHierarchyType.ClosingTaskListHierarchyType |
| [0..1] | I_ClosingTaskListStatus | _ClosingTaskListStatus | $projection.ClosingTaskListStatus = _ClosingTaskListStatus.ClosingTaskListStatus |
| [0..1] | I_ClosingType | _ClosingType | $projection.ClosingType = _ClosingType.ClosingType |
| [0..1] | I_FiscalYearVariant | _FiscalYearVariant | $projection.FiscalYearVariant = _FiscalYearVariant.FiscalYearVariant |
| [0..1] | I_TimeZone | _TimeZone | $projection.ClosingTemplateTimeZone = _TimeZone.TimeZoneID |
| [0..1] | I_ClosingTaskResponsibleType | _ClosingTaskListRespType | $projection.ClosingTaskListResponsibleType = _ClosingTaskListRespType.ClosingTaskResponsibleType |
| [0..1] | I_ClosingTemplateType | _ClosingTemplateType | $projection.ClosingTemplateType = _ClosingTemplateType.ClosingTemplateType |
| [0..1] | I_ClsgTaskListFactoryCal | _FactoryCalendar | $projection.ClosingCommunicationProfile = _FactoryCalendar.ClosingCommunicationProfile and $projection.FactoryCalendar = _FactoryCalendar.FactoryCalendar |
| [0..1] | I_ClsgTaskListAcctgPrinciple | _AccountingPrinciple | $projection.ClosingCommunicationProfile = _AccountingPrinciple.ClosingCommunicationProfile and $projection.AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple |
| [0..1] | I_ClosingCommProfile | _ClosingCommunicationProfile | $projection.ClosingCommunicationProfile = _ClosingCommunicationProfile.ClosingCommunicationProfile |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICLSGTEMPL | view | |
| AbapCatalog.preserveKey | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| EndUserText.label | Closing Template | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ClosingTemplate | WBS sched. prof | ||
| KEY | FinancialTaskListContextType | flavor | Task List Context | |
| ClosingTaskListInstance | instance | TaskCount | ||
| ClosingTaskListHierarchyType | Validation Method | |||
| ClosingTaskListDescription | text | User Group | ||
| ClosingTaskListStatus | ready | List Status | ||
| ClosingType | closing_type | Closing Type | ||
| FiscalYearVariant | periv | FYear Variant | ||
| FactoryCalendar | factory_calendar | Factory Calendar | ||
| ClosingAuthorizationGroup | authgrp | Authorization Group | ||
| ClosingTemplateTimeZone | templ_tzone | Time Zone | ||
| ClosingTaskListResponsible | res_usr_id | Responsible | ||
| ClosingTaskListResponsibleType | res_usr_type | Responsible Type | ||
| ClosingTemplateType | template_type | Template Type | ||
| ClosingNotificationConfign | noti_con | Notif. Config. | ||
| CreatedByUser | Version Created By | |||
| CreationDateTime | Variant created on | |||
| LastChangedByUser | User Name | |||
| LastChangeDateTime | Variant Changed on | |||
| AccountingPrinciple | acc_principle | Evaluation area EBRR | ||
| ClosingCommunicationProfile | lead_communication_profile | |||
| _Text | _Text | |||
| _FinTaskListContextType | _FinTaskListContextType | |||
| _ClosingTaskListHierarchyType | _ClosingTaskListHierarchyType | |||
| _ClosingTaskListStatus | _ClosingTaskListStatus | |||
| _ClosingType | _ClosingType | |||
| _FiscalYearVariant | _FiscalYearVariant | |||
| _TimeZone | _TimeZone | |||
| _ClosingTaskListRespType | _ClosingTaskListRespType | |||
| _ClosingTemplateType | _ClosingTemplateType | |||
| _FactoryCalendar | _FactoryCalendar | |||
| _AccountingPrinciple | _AccountingPrinciple | |||
| _ClosingCommunicationProfile | _ClosingCommunicationProfile |
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_ClosingTemplate.
-- 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_ClosingTemplate AS
SELECT
cast(profile as fcco_profile) AS ClosingTemplate,
flavor AS FinancialTaskListContextType,
instance AS ClosingTaskListInstance,
cast(method as fcco_closing_hierarchy_type) AS ClosingTaskListHierarchyType,
text AS ClosingTaskListDescription,
ready AS ClosingTaskListStatus,
closing_type AS ClosingType,
periv AS FiscalYearVariant,
factory_calendar AS FactoryCalendar,
authgrp AS ClosingAuthorizationGroup,
templ_tzone AS ClosingTemplateTimeZone,
res_usr_id AS ClosingTaskListResponsible,
res_usr_type AS ClosingTaskListResponsibleType,
template_type AS ClosingTemplateType,
noti_con AS ClosingNotificationConfign,
cast(created_by as fcco_created_by) AS CreatedByUser,
cast(created_on as fcco_created_on) AS CreationDateTime,
cast(changed_by as fcco_changed_by) AS LastChangedByUser,
cast(changed_on as fcco_changed_on) AS LastChangeDateTime,
acc_principle AS AccountingPrinciple,
lead_communication_profile AS ClosingCommunicationProfile
FROM fcco_hdr
LEFT OUTER JOIN I_FinTaskListContextType AS _FinTaskListContextType ON FinancialTaskListContextType = _FinTaskListContextType.FinancialTaskListContextType -- association [1..1]
LEFT OUTER JOIN I_ClosingTaskListText AS _Text ON ClosingTemplate = _Text.ClosingTemplate AND ClosingTaskListInstance = _Text.ClosingTaskListInstance AND FinancialTaskListContextType = _Text.FinancialTaskListContextType -- association [0..*]
LEFT OUTER JOIN I_ClosingTaskListHierarchyType AS _ClosingTaskListHierarchyType ON ClosingTaskListHierarchyType = _ClosingTaskListHierarchyType.ClosingTaskListHierarchyType -- association [0..1]
LEFT OUTER JOIN I_ClosingTaskListStatus AS _ClosingTaskListStatus ON ClosingTaskListStatus = _ClosingTaskListStatus.ClosingTaskListStatus -- association [0..1]
LEFT OUTER JOIN I_ClosingType AS _ClosingType ON ClosingType = _ClosingType.ClosingType -- association [0..1]
LEFT OUTER JOIN I_FiscalYearVariant AS _FiscalYearVariant ON FiscalYearVariant = _FiscalYearVariant.FiscalYearVariant -- association [0..1]
LEFT OUTER JOIN I_TimeZone AS _TimeZone ON ClosingTemplateTimeZone = _TimeZone.TimeZoneID -- association [0..1]
LEFT OUTER JOIN I_ClosingTaskResponsibleType AS _ClosingTaskListRespType ON ClosingTaskListResponsibleType = _ClosingTaskListRespType.ClosingTaskResponsibleType -- association [0..1]
LEFT OUTER JOIN I_ClosingTemplateType AS _ClosingTemplateType ON ClosingTemplateType = _ClosingTemplateType.ClosingTemplateType -- association [0..1]
LEFT OUTER JOIN I_ClsgTaskListFactoryCal AS _FactoryCalendar ON ClosingCommunicationProfile = _FactoryCalendar.ClosingCommunicationProfile AND FactoryCalendar = _FactoryCalendar.FactoryCalendar -- association [0..1]
LEFT OUTER JOIN I_ClsgTaskListAcctgPrinciple AS _AccountingPrinciple ON ClosingCommunicationProfile = _AccountingPrinciple.ClosingCommunicationProfile AND AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple -- association [0..1]
LEFT OUTER JOIN I_ClosingCommProfile AS _ClosingCommunicationProfile ON ClosingCommunicationProfile = _ClosingCommunicationProfile.ClosingCommunicationProfile -- 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