I_FactoryCalendar
Factory Calendar
I_FactoryCalendar is a Basic CDS View (Dimension) that provides data about "Factory Calendar" in SAP S/4HANA. It reads from 1 data source (tfacd) and exposes 21 fields with key field FactoryCalendar. It has 3 associations to related views. It is exposed through 2 OData services (UI_MANAGEPAYMENTPLAN, UI_OVD_ACTY_ATTRIB_CONFIGURE).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tfacd | fcal | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_FactoryCalendarText | _Text | $projection.FactoryCalendar = _Text.FactoryCalendar |
| [0..1] | I_CalendarYear | _ValidityStartYear | $projection.ValidityStartYear = _ValidityStartYear.CalendarYear |
| [0..1] | I_CalendarYear | _ValidityEndYear | $projection.ValidityEndYear = _ValidityEndYear.CalendarYear |
Annotations (22)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPFACTORYCAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | FactoryCalendar | view | |
| ObjectModel.semanticKey | FactoryCalendar | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Factory Calendar | view | |
| ClientHandling.type | #INHERITED | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| Analytics.dataExtraction.enabled | true | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_MANAGEPAYMENTPLAN | UI_MANAGEPAYMENTPLAN_O2 | V2 | C1 | NOT_RELEASED |
| UI_OVD_ACTY_ATTRIB_CONFIGURE | UI_OVD_ACTY_ATTRIB_CONF | V2 | C1 | NOT_RELEASED |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FactoryCalendar | |||
| PublicHolidayCalendar | ||||
| ValidityStartYear | ||||
| ValidityEndYear | ||||
| CreationDate | ||||
| CreationTime | ||||
| MondayIsWorkingDay | ||||
| TuesdayIsWorkingDay | ||||
| WednesdayIsWorkingDay | ||||
| ThursdayIsWorkingDay | ||||
| FridayIsWorkingDay | ||||
| SaturdayIsWorkingDay | ||||
| SundayIsWorkingDay | ||||
| HolidayIsWorkingDay | ||||
| FactoryCalendarStartDayValue | basis | |||
| LastChangeDate | ||||
| LastChangeTime | crtime | |||
| FactoryCalSpclRulesAreExisting | ||||
| _Text | _Text | |||
| _ValidityStartYear | _ValidityStartYear | |||
| _ValidityEndYear | _ValidityEndYear |
@AbapCatalog.sqlViewName: 'IPPFACTORYCAL'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'FactoryCalendar'
@ObjectModel.semanticKey: 'FactoryCalendar'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #ORGANIZATIONAL}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Factory Calendar'
@ClientHandling.type: #INHERITED
@AbapCatalog.buffering.status: #ACTIVE
@AbapCatalog.buffering.type: #FULL
@Analytics:{ dataExtraction: { enabled : true }}
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE ]
define view I_FactoryCalendar
as select from tfacd as fcal
association [0..*] to I_FactoryCalendarText as _Text on $projection.FactoryCalendar = _Text.FactoryCalendar
association [0..1] to I_CalendarYear as _ValidityStartYear on $projection.ValidityStartYear = _ValidityStartYear.CalendarYear
association [0..1] to I_CalendarYear as _ValidityEndYear on $projection.ValidityEndYear = _ValidityEndYear.CalendarYear
{
@ObjectModel.text.association: '_Text'
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
key cast(fcal.ident as cr_wfcid preserving type) as FactoryCalendar,
cast(fcal.hocid as hident preserving type) as PublicHolidayCalendar,
@Semantics.calendar.year: true
cast(fcal.vjahr as pph_vjahr preserving type) as ValidityStartYear,
@Semantics.calendar.year: true
cast(fcal.bjahr as pph_bjahr preserving type) as ValidityEndYear,
// Admin
@Semantics.systemDate.createdAt: true
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'LastChangeDate'
cast(fcal.crdat as erdat preserving type) as CreationDate,
@Semantics.systemTime.createdAt: true
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'LastChangeTime'
cast(fcal.crtime as erzet preserving type) as CreationTime,
cast(fcal.motag as tamotag preserving type) as MondayIsWorkingDay,
cast(fcal.ditag as taditag preserving type) as TuesdayIsWorkingDay,
cast(fcal.miwch as tamiwch preserving type) as WednesdayIsWorkingDay,
cast(fcal.dotag as tadotag preserving type) as ThursdayIsWorkingDay,
cast(fcal.frtag as tafrtag preserving type) as FridayIsWorkingDay,
cast(fcal.satag as tasatag preserving type) as SaturdayIsWorkingDay,
cast(fcal.sotag as tasotag preserving type) as SundayIsWorkingDay,
cast(fcal.fetag as tafetag preserving type) as HolidayIsWorkingDay,
basis as FactoryCalendarStartDayValue,
@Semantics.systemDate.lastChangedAt: true
cast(fcal.crdat as laeda preserving type) as LastChangeDate,
@Semantics.systemTime.lastChangedAt: true
crtime as LastChangeTime,
cast(fcal.interv as tainterv preserving type) as FactoryCalSpclRulesAreExisting,
// Associations
_Text,
_ValidityStartYear,
_ValidityEndYear
};
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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