I_CnsldtnUnitByTime

DDL: I_CNSLDTNUNITBYTIME Type: view BASIC

Consolidation Unit by Time

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

Data Sources (1)

SourceAliasJoin Type
P_CnsldtnUnitByTime P_CnsldtnUnitByTime from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_CnsldtnDimension _CnsldtnDimension $projection.ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension
[1..1] I_CnsldtnUnit_3 _CnsldtnUnit $projection.ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit
[0..1] I_Currency _Currency $projection.ConsolidationUnitLocalCurrency = _Currency.Currency
[0..1] I_CnsldtnCompany _Company $projection.Company = _Company.Company

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ICSCONSUNITATD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey ConsolidationUnit view
VDM.viewType #BASIC view
EndUserText.label Consolidation Unit by Time view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationUnit ConsolidationUnit Consolidation Unit
KEY FromFiscalYearPeriod Period/Year
ToFiscalYearPeriod To Fiscal Year Period
ConsolidationDimension
ConsolidationUnitLocalCurrency Valuation Crcy
Company Owner
_Currency _Currency
_CnsldtnDimension _CnsldtnDimension
_CnsldtnUnit _CnsldtnUnit
_Company _Company

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_CnsldtnUnitByTime.
-- 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_CnsldtnUnitByTime AS
SELECT
  ConsolidationUnit,
  cast (FromFiscalYearPeriod as fincs_fsi_fiscalyearper_from preserving type) AS FromFiscalYearPeriod,
  cast (ToFiscalYearPeriod as fincs_fsi_fiscalyearper_to preserving type) AS ToFiscalYearPeriod,
  cast( 'Y1' as fc_dimen preserving type ) AS ConsolidationDimension,
  cast(ConsolidationUnitLocalCurrency as fincs_unitlocalcurrency preserving type ) AS ConsolidationUnitLocalCurrency,
  cast(Company as fincs_company preserving type ) AS Company
FROM P_CnsldtnUnitByTime
LEFT OUTER JOIN I_CnsldtnDimension AS _CnsldtnDimension ON ConsolidationDimension = _CnsldtnDimension.ConsolidationDimension  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnUnit_3 AS _CnsldtnUnit ON ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON ConsolidationUnitLocalCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_CnsldtnCompany AS _Company ON Company = _Company.Company  -- association [0..1]
;