I_FHC_FCAL_RUNTIME

DDL: I_FHC_FCAL_RUNTIME SQL: VFHCFCALRUN Type: view Package: S_FHC_RUNTIME

Factory Calendar runtime interface

I_FHC_FCAL_RUNTIME is a CDS View that provides data about "Factory Calendar runtime interface" in SAP S/4HANA. It reads from 2 data sources (fhc_c_fcal_exc, fhc_c_fcal) and exposes 11 fields with key fields date_from, date_to. Part of development package S_FHC_RUNTIME.

Data Sources (2)

SourceAliasJoin Type
fhc_c_fcal_exc exceptions left_outer
fhc_c_fcal factorycalendar from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName VFHCFCALRUN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Factory Calendar runtime interface view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY date_from fhc_c_fcal_exc date_from Validity Start Date
KEY date_to fhc_c_fcal_exc date_to Validity End Date
work_monday fhc_c_fcal work_monday Work Monday
work_tuesday fhc_c_fcal work_tuesday Work Tuesday
work_friday fhc_c_fcal work_friday Work Friday
work_sunday fhc_c_fcal work_sunday Work Sunday
work_holiday fhc_c_fcal work_holiday Work Holiday
valid_from fhc_c_fcal valid_from Validity Start Time
valid_to fhc_c_fcal valid_to Validity End Time
changer fhc_c_fcal changer Last Changed By
changed fhc_c_fcal changed Time Stamp

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_FHC_FCAL_RUNTIME.
-- 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: VFHCFCALRUN

CREATE VIEW I_FHC_FCAL_RUNTIME AS
SELECT
  exceptions.date_from AS date_from,
  exceptions.date_to AS date_to,
  factorycalendar.work_monday AS work_monday,
  factorycalendar.work_tuesday AS work_tuesday,
  factorycalendar.work_friday AS work_friday,
  factorycalendar.work_sunday AS work_sunday,
  factorycalendar.work_holiday AS work_holiday,
  factorycalendar.valid_from AS valid_from,
  factorycalendar.valid_to AS valid_to,
  factorycalendar.changer AS changer,
  factorycalendar.changed AS changed
FROM fhc_c_fcal AS factorycalendar
LEFT OUTER JOIN fhc_c_fcal_exc AS exceptions ON /* join condition not captured in parsed metadata */
;