I_SCAL_TFACD_COMBINED
Combined FCAL View for SCAL Format
I_SCAL_TFACD_COMBINED is a CDS View that provides data about "Combined FCAL View for SCAL Format" in SAP S/4HANA. It reads from 1 data source (R_FHC_FCAL_COMBINED) and exposes 20 fields with key field Ident.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_FHC_FCAL_COMBINED | fhc_fcal | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Combined FCAL View for SCAL Format | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ident | R_FHC_FCAL_COMBINED | FactoryCalendarLegacyID | Tree Structure |
| VJahr | ||||
| BJahr | ||||
| Motag | R_FHC_FCAL_COMBINED | FctryCalMondayIsWorkingDay | Work Monday | |
| Ditag | R_FHC_FCAL_COMBINED | FctryCalTuesdayIsWorkingDay | Work Tuesday | |
| Miwch | R_FHC_FCAL_COMBINED | FctryCalWednesdayIsWorkingDay | Work Wednesday | |
| Dotag | R_FHC_FCAL_COMBINED | FctryCalThursdayIsWorkingDay | Work Thursday | |
| Frtag | R_FHC_FCAL_COMBINED | FctryCalFridayIsWorkingDay | Work Friday | |
| Satag | R_FHC_FCAL_COMBINED | FctryCalSaturdayIsWorkingDay | Work Saturday | |
| Sotag | R_FHC_FCAL_COMBINED | FctryCalSundayIsWorkingDay | Work Sunday | |
| Fetag | R_FHC_FCAL_COMBINED | FctryCalHolidayIsWorkingDay | Work Holiday | |
| Hocid | ||||
| Basis | ||||
| Abbr | ||||
| Crusr | ||||
| Crdat | ||||
| Crtime | ||||
| Interv | ||||
| Aktvjahr | ||||
| Aktbjahr |
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_SCAL_TFACD_COMBINED.
-- 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_SCAL_TFACD_COMBINED AS
SELECT
fhc_fcal.FactoryCalendarLegacyID AS Ident,
cast( (substring (fhc_fcal.FctryCalendarValidityStartDate,1,4) ) as vjahr) AS VJahr,
cast( (substring (fhc_fcal.FactoryCalendarValidityEndDate,1,4) ) as bjahr) AS BJahr,
fhc_fcal.FctryCalMondayIsWorkingDay AS Motag,
fhc_fcal.FctryCalTuesdayIsWorkingDay AS Ditag,
fhc_fcal.FctryCalWednesdayIsWorkingDay AS Miwch,
fhc_fcal.FctryCalThursdayIsWorkingDay AS Dotag,
fhc_fcal.FctryCalFridayIsWorkingDay AS Frtag,
fhc_fcal.FctryCalSaturdayIsWorkingDay AS Satag,
fhc_fcal.FctryCalSundayIsWorkingDay AS Sotag,
fhc_fcal.FctryCalHolidayIsWorkingDay AS Fetag,
cast(fhc_fcal.PublicHolidayCalendarID as hident) AS Hocid,
cast( (cast(fhc_fcal.FactoryCalendarStartDateValue as sstring ) ) as kftag ) AS Basis,
cast( '0' as kabbr ) AS Abbr,
cast( '0' as kuser ) AS Crusr,
cast( '00000000' as fabdat ) AS Crdat,
cast( '000000' as crtime ) AS Crtime,
cast( '0' as kabbr ) AS Interv,
cast( '0000' as aktvjahr preserving type ) AS Aktvjahr,
cast( '0000' as aktbjahr preserving type ) AS Aktbjahr
FROM R_FHC_FCAL_COMBINED AS fhc_fcal
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA