I_CnsldtnTaskRunLastLog_2
Consolidation Task Run Last Log
I_CnsldtnTaskRunLastLog_2 is a Basic CDS View that provides data about "Consolidation Task Run Last Log" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnVersion, fincs_lastlog) and exposes 16 fields with key fields ConsolidationChartOfAccounts, ConsolidationVersion, FiscalYear, FiscalPeriod, ConsolidationTask. It has 6 associations to related views. Part of development package FIN_CS_TASK_MONITOR.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnVersion | ConsolidationVersion | inner |
| fincs_lastlog | fincs_lastlog | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CnsldtnChartOfAccounts | _CnsldtnChartOfAccounts | $projection.ConsolidationChartOfAccounts = _CnsldtnChartOfAccounts.ConsolidationChartOfAccounts |
| [1..1] | I_CnsldtnVersion | _CnsldtnVersion | $projection.ConsolidationVersion = _CnsldtnVersion.ConsolidationVersion |
| [0..1] | I_CnsldtnUnit_4 | _CnsldtnUnit | $projection.ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit |
| [0..1] | I_CnsldtnGroup_3 | _CnsldtnGroup | $projection.ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup |
| [1..1] | I_CnsldtnTask | _CnsldtnTask | $projection.ConsolidationTask = _CnsldtnTask.ConsolidationTask |
| [0..1] | I_ConsolidationTaskLog | _ConsolidationTaskLog | $projection.CnsldtnTaskLogUUID = _ConsolidationTaskLog.CnsldtnTaskLogUUID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| Analytics.dataExtraction.enabled | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.sapObjectNodeType.name | ConsolidationTaskRunLastLog | view | |
| Search.searchable | false | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| EndUserText.label | Consolidation Task Run Last Log | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationChartOfAccounts | |||
| KEY | ConsolidationVersion | |||
| KEY | FiscalYear | |||
| KEY | FiscalPeriod | |||
| KEY | ConsolidationTask | |||
| KEY | ConsolidationTaskRunIsTest | |||
| CnsldtnTaskLogCreatedByUser | ||||
| CnsldtnTaskLogCreatedTime | ||||
| CnsldtnTaskLogCreatedDate | ||||
| CnsldtnTaskLogUUID | ||||
| _CnsldtnChartOfAccounts | _CnsldtnChartOfAccounts | |||
| _CnsldtnVersion | _CnsldtnVersion | |||
| _CnsldtnUnit | _CnsldtnUnit | |||
| _CnsldtnGroup | _CnsldtnGroup | |||
| _CnsldtnTask | _CnsldtnTask | |||
| _ConsolidationTaskLog | _ConsolidationTaskLog |
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_CnsldtnTaskRunLastLog_2.
-- 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_CnsldtnTaskRunLastLog_2 AS
SELECT
cast( fincs_lastlog.itclg as fincs_conschartofaccounts preserving type ) AS ConsolidationChartOfAccounts,
cast( fincs_lastlog.rvers as fincs_consolidationversion preserving type ) AS ConsolidationVersion,
cast( fincs_lastlog.ryear as fincs_fiscalyear preserving type ) AS FiscalYear,
cast( fincs_lastlog.perid as fincs_period preserving type ) AS FiscalPeriod,
cast( fincs_lastlog.cacti as fincs_tsk preserving type ) AS ConsolidationTask,
cast( fincs_lastlog.testrun as fincs_taskrun_is_test preserving type) AS ConsolidationTaskRunIsTest,
cast( fincs_lastlog.usr as fincs_tasklog_created_by preserving type ) AS CnsldtnTaskLogCreatedByUser,
cast( fincs_lastlog.time as fincs_tasklog_created_time preserving type ) AS CnsldtnTaskLogCreatedTime,
cast( fincs_lastlog.datum as fincs_tasklog_created_date preserving type ) AS CnsldtnTaskLogCreatedDate,
cast( fincs_lastlog.protid_gen as fincs_lognumber preserving type ) AS CnsldtnTaskLogUUID
FROM fincs_lastlog
INNER JOIN I_CnsldtnVersion AS ConsolidationVersion ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CnsldtnChartOfAccounts AS _CnsldtnChartOfAccounts ON ConsolidationChartOfAccounts = _CnsldtnChartOfAccounts.ConsolidationChartOfAccounts -- association [1..1]
LEFT OUTER JOIN I_CnsldtnVersion AS _CnsldtnVersion ON ConsolidationVersion = _CnsldtnVersion.ConsolidationVersion -- association [1..1]
LEFT OUTER JOIN I_CnsldtnUnit_4 AS _CnsldtnUnit ON ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit -- association [0..1]
LEFT OUTER JOIN I_CnsldtnGroup_3 AS _CnsldtnGroup ON ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup -- association [0..1]
LEFT OUTER JOIN I_CnsldtnTask AS _CnsldtnTask ON ConsolidationTask = _CnsldtnTask.ConsolidationTask -- association [1..1]
LEFT OUTER JOIN I_ConsolidationTaskLog AS _ConsolidationTaskLog ON CnsldtnTaskLogUUID = _ConsolidationTaskLog.CnsldtnTaskLogUUID -- 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