I_CnsldtnUnitByTimeVersion_2

DDL: I_CNSLDTNUNITBYTIMEVERSION_2 Type: view_entity BASIC

Consolidation Unit by Time and Version

I_CnsldtnUnitByTimeVersion_2 (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

ConsolidationUnitByTimeVersion · Group Reporting

I_CnsldtnUnitByTimeVersion_2 is a Basic CDS View that provides data about "Consolidation Unit by Time and Version" in SAP S/4HANA. It reads from 1 data source (P_CnsldtnUnitByTimeVersion_2) and exposes 22 fields with key fields ConsolidationUnit, ConsolidationVersion, FromFiscalYearPeriod. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Master Data
Purpose
This CDS view provides access to the time- and version-dependent attributes of a consolidation unit. This CDS view can be used for extensibility. This CDS view provides the data to answer the following business questions: Is the Integration with Universal Journal option selected for the consolidation unit for a specific consolidation version and during a specific fiscal year period (via attribute CnsldtnDataTransferMethod)? What is the currency translation method during a specific fiscal year period (via attribute CnsldtnCrcyTranslationMethod)? What is the fiscal year variant deviating from the default setting in the consolidation version (via attribute FiscalYearVariant)? Is it used as partner consolidation unit only during a specific fiscal year period (via attribute ConsolidationUnitIsPartnerOnly)? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: E_CS_BUNIT

Structure
Fields used for filtering The main filters are as follows: ConsolidationUnit: used to filter one or many consolidation units. ConsolidationVersion: used to access the attributes for one or many consolidation versions. This yields values for all consolidation units over all fiscal year periods. FromFiscalYearPeriod: used to filter the fiscal year period that serves as the starting point from which the attribute values are valid.

SAP Business Warehouse (SAP BW) Extraction
Data extraction type Full (physical deletions are possible in source tables) Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. For details about the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content . For more information about data extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessGroup Reporting
Application ComponentFIN-CS-MD
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Data Extraction, Analytical Dimension
PackageGroup Reporting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to the time- and version-dependent attributes of a consolidation unit.</p> <p>This CDS view can be used for extensibility.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>Is the Integration with Universal Journal option selected for the consolidation unit for a specific consolidation version and during a specific fiscal year period (via attribute CnsldtnDataTransferMethod)? </p></li> <li><p>What is the currency translation method during a specific fiscal year period (via attribute CnsldtnCrcyTranslationMethod)? </p></li> <li><p>What is the fiscal year variant deviating from the default setting in the consolidation version (via attribute FiscalYearVariant)?</p></li> <li><p>Is it used as partner consolidation unit only during a specific fiscal year period (via attribute ConsolidationUnitIsPartnerOnly)?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
P_CnsldtnUnitByTimeVersion_2 _UnitByTimeVersion from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_CnsldtnUnitByTimeVersion _Extension _UnitByTimeVersion.ConsolidationUnit = _Extension.ConsolidationUnit and _UnitByTimeVersion.CnsldtnUnitAttributeVersion = _Extension.CnsldtnUnitAttributeVersion and _UnitByTimeVersion.FromFiscalYearPeriod = _Extension.FromFiscalYearPeriod

Annotations (15)

NameValueLevelField
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
Analytics.technicalName ICSCONSUNITATVD2 view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey ConsolidationUnit view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name ConsolidationUnitByTimeVersion view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Consolidation Unit by Time and Version view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationUnit P_CnsldtnUnitByTimeVersion_2 ConsolidationUnit Consolidation Unit
KEY ConsolidationVersion P_CnsldtnUnitByTimeVersion_2 ConsolidationVersion Consolidation Version
KEY FromFiscalYearPeriod P_CnsldtnUnitByTimeVersion_2 FromFiscalYearPeriod From Fiscal Year Period
ToFiscalYearPeriod ToFiscalYearPeriod To Fiscal Year Period
ConsolidationUnitIsPartnerOnly ConsolidationUnitIsPartnerOnly Consolidation Unit is Partner Unit Only
CnsldtnCrcyTranslationMethod CnsldtnCrcyTranslationMethod Currency Translation Method
CnsldtnTaxRate CnsldtnTaxRate Tax Rate in Consolidation
FiscalYearVariant FiscalYearVariant Deviating Fiscal Year Variant
CnsldtnUnivJournalIntegType CnsldtnUnivJournalIntegType Universal Journal Integration
CnsldtnGroupCrcyIsLeadingCrcy CnsldtnGroupCrcyIsLeadingCrcy Group Currency is Leading Currency
CnsldtnUnitLocalCrcySource CnsldtnUnitLocalCrcySource Source for Local Currency Key Figure
CnsldtnUnitGroupCrcySource CnsldtnUnitGroupCrcySource Source for Group Currency Key Figure
CnsldtnUploadMethod CnsldtnUploadMethod Upload Method
CnsldtnUnitDataCollection P_CnsldtnUnitByTimeVersion_2 CnsldtnUnitDataCollection Data Collection Selection Attribute
ConsolidationUnitPartner P_CnsldtnUnitByTimeVersion_2 ConsolidationUnitPartner Partner Selection Attribute
ConsolidationUnitPostingRule P_CnsldtnUnitByTimeVersion_2 ConsolidationUnitPostingRule Posting Rule Selection Attribute
ConsolidationUnitValidation P_CnsldtnUnitByTimeVersion_2 ConsolidationUnitValidation Validation Selection Attribute
_CnsldtnVersion P_CnsldtnUnitByTimeVersion_2 _CnsldtnVersion
_CnsldtnUnitDataColl P_CnsldtnUnitByTimeVersion_2 _CnsldtnUnitDataColl
_CnsldtnUnitPartner P_CnsldtnUnitByTimeVersion_2 _CnsldtnUnitPartner
_CnsldtnUnitPostingRule P_CnsldtnUnitByTimeVersion_2 _CnsldtnUnitPostingRule
_CnsldtnUnitValidation P_CnsldtnUnitByTimeVersion_2 _CnsldtnUnitValidation

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_CnsldtnUnitByTimeVersion_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_CnsldtnUnitByTimeVersion_2 AS
SELECT
  _UnitByTimeVersion.ConsolidationUnit AS ConsolidationUnit,
  _UnitByTimeVersion.ConsolidationVersion AS ConsolidationVersion,
  _UnitByTimeVersion.FromFiscalYearPeriod AS FromFiscalYearPeriod,
  ToFiscalYearPeriod,
  ConsolidationUnitIsPartnerOnly,
  CnsldtnCrcyTranslationMethod,
  CnsldtnTaxRate,
  FiscalYearVariant,
  CnsldtnUnivJournalIntegType,
  CnsldtnGroupCrcyIsLeadingCrcy,
  CnsldtnUnitLocalCrcySource,
  CnsldtnUnitGroupCrcySource,
  CnsldtnUploadMethod,
  _UnitByTimeVersion.CnsldtnUnitDataCollection AS CnsldtnUnitDataCollection,
  _UnitByTimeVersion.ConsolidationUnitPartner AS ConsolidationUnitPartner,
  _UnitByTimeVersion.ConsolidationUnitPostingRule AS ConsolidationUnitPostingRule,
  _UnitByTimeVersion.ConsolidationUnitValidation AS ConsolidationUnitValidation,
  _UnitByTimeVersion._CnsldtnVersion AS _CnsldtnVersion,
  _UnitByTimeVersion._CnsldtnUnitDataColl AS _CnsldtnUnitDataColl,
  _UnitByTimeVersion._CnsldtnUnitPartner AS _CnsldtnUnitPartner,
  _UnitByTimeVersion._CnsldtnUnitPostingRule AS _CnsldtnUnitPostingRule,
  _UnitByTimeVersion._CnsldtnUnitValidation AS _CnsldtnUnitValidation
FROM P_CnsldtnUnitByTimeVersion_2 AS _UnitByTimeVersion
LEFT OUTER JOIN E_CnsldtnUnitByTimeVersion AS _Extension ON _UnitByTimeVersion.ConsolidationUnit = _Extension.ConsolidationUnit AND _UnitByTimeVersion.CnsldtnUnitAttributeVersion = _Extension.CnsldtnUnitAttributeVersion AND _UnitByTimeVersion.FromFiscalYearPeriod = _Extension.FromFiscalYearPeriod  -- association [1..1]
;