I_FactoryCalendarSpecialRule

DDL: I_FACTORYCALENDARSPECIALRULE SQL: IFCTRYCALSR Type: view BASIC Package: VDM_FND

Factory Calendar Special Rule

I_FactoryCalendarSpecialRule (Basic)

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

Cross Applications

I_FactoryCalendarSpecialRule is a Basic CDS View that provides data about "Factory Calendar Special Rule" in SAP S/4HANA. It reads from 1 data source (tfain) and exposes 6 fields with key fields FactoryCalendar, CalendarYear, ValidityStartDate. It has 1 association to related views. Part of development package VDM_FND.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessCross Applications
Application ComponentCA-GTF-VDM
CapabilitiesData Source for Data Extraction,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageCross Applications for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
tfain fcal from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CalendarYear _CalendarYear $projection.CalendarYear = _CalendarYear.CalendarYear

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IFCTRYCALSR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Factory Calendar Special Rule view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
ObjectModel.representativeKey FactoryCalendar view
Analytics.dataExtraction.enabled true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY FactoryCalendar ident Factory Calendar
KEY CalendarYear jahr Year stored
KEY ValidityStartDate von Date from which special rule is valid
ValidityEndDate bis Date, until which the rule applies
IsWorkingDay Indicator:IsWorkingDay
_CalendarYear _CalendarYear

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_FactoryCalendarSpecialRule.
-- 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: IFCTRYCALSR

CREATE VIEW I_FactoryCalendarSpecialRule AS
SELECT
  ident AS FactoryCalendar,
  jahr AS CalendarYear,
  von AS ValidityStartDate,
  bis AS ValidityEndDate,
  cast(fcal.wert as tawert preserving type) AS IsWorkingDay
FROM tfain AS fcal
LEFT OUTER JOIN I_CalendarYear AS _CalendarYear ON CalendarYear = _CalendarYear.CalendarYear  -- association [0..1]
;