I_CalendarYear

DDL: I_CALENDARYEAR SQL: ICALENDARYEAR Type: view BASIC

Year

I_CalendarYear (Basic)

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

Cross Applications

I_CalendarYear is a Basic CDS View (Dimension) that provides data about "Year" in SAP S/4HANA. It reads from 1 data source (scal_tt_year) and exposes 3 fields with key field CalendarYear.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentCA-GTF-DF
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
scal_tt_year scal_tt_year from

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CalendarYear view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.sqlViewName ICALENDARYEAR view
AbapCatalog.preserveKey true view
EndUserText.label Year view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CalendarYear scal_tt_year calendaryear Calendar Year
IsLeapYear scal_tt_year isleapyear Is Leap Year
NumberOfDays scal_tt_year numberofdays Number of Days in Year or Month

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_CalendarYear.
-- 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.
-- SQL view name: ICALENDARYEAR

CREATE VIEW I_CalendarYear AS
SELECT
  scal_tt_year.calendaryear AS CalendarYear,
  scal_tt_year.isleapyear AS IsLeapYear,
  scal_tt_year.numberofdays AS NumberOfDays
FROM scal_tt_year
;