I_SCAL_THOCD_COMBINED

DDL: I_SCAL_THOCD_COMBINED Type: view_entity Package: SZC

Combined HCALAssign View for SCAL Format

I_SCAL_THOCD_COMBINED is a CDS View that provides data about "Combined HCALAssign View for SCAL Format" in SAP S/4HANA. It reads from 1 data source (R_FHC_HCAL_COMBINED_ASSGN) and exposes 4 fields with key fields Ident, BisJahr, Ftgid. Part of development package SZC.

Data Sources (1)

SourceAliasJoin Type
R_FHC_HCAL_COMBINED_ASSGN fhc_hcal from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Combined HCALAssign 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 (4)

KeyFieldSource TableSource FieldDescription
KEY Ident R_FHC_HCAL_COMBINED_ASSGN PublicHolidayCalendarLegacyID Tree Structure
KEY BisJahr
KEY Ftgid R_FHC_HCAL_COMBINED_ASSGN PublicHolidayLegacyID Public hol. ID
AbJahr

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_THOCD_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_THOCD_COMBINED AS
SELECT
  fhc_hcal.PublicHolidayCalendarLegacyID AS Ident,
  cast( (substring (fhc_hcal.PublHldayCalAssignmentEndDate,1,4) ) as bjahr) AS BisJahr,
  fhc_hcal.PublicHolidayLegacyID AS Ftgid,
  cast( (substring (fhc_hcal.PublHldayCalAssgmtStartDate,1,4) ) as vjahr) AS AbJahr
FROM R_FHC_HCAL_COMBINED_ASSGN AS fhc_hcal
;