I_TeamCatsHoursTile

DDL: I_TEAMCATSHOURSTILE Type: view COMPOSITE

Team Recorded Hours for the Last Three Months

I_TeamCatsHoursTile is a Composite CDS View (Cube) that provides data about "Team Recorded Hours for the Last Three Months" in SAP S/4HANA. It reads from 3 data sources (P_CATSDATAWITHCATEGORY, P_TEAMEMPAVAIL3MONTHS, I_YearMonth) and exposes 5 fields with key fields CalendarYearMonth, EmploymentInternalID. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
P_CATSDATAWITHCATEGORY CatsData left_outer
P_TEAMEMPAVAIL3MONTHS P_TEAMEMPAVAIL3MONTHS from
I_YearMonth YearMonth left_outer

Parameters (1)

NameTypeDefault
P_EndDate sydate

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_CalendarMonthText MText YearMonth.CalendarMonth = MText.CalendarMonth and Language = $session.system_language

Annotations (12)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Team Recorded Hours for the Last Three Months view
AbapCatalog.sqlViewName ITEAMCATSTILE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CalendarYearMonth I_YearMonth YearMonth Calendar Year and Date
KEY EmploymentInternalID Empavailhrs EmploymentInternalID WorkForce Assgmt ID
CalendarMonthName Calendar Month
AvailabilityInHours Empavailhrs EmployeeAvailableHours Available Hours
TotalProductiveHours P_CATSDATAWITHCATEGORY RecordedHours Hours

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_TeamCatsHoursTile.
-- 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.
-- Parameters: P_EndDate : sydate

CREATE VIEW I_TeamCatsHoursTile AS
SELECT
  YearMonth.YearMonth AS CalendarYearMonth,
  Empavailhrs.EmploymentInternalID AS EmploymentInternalID,
  CONCAT_WITH_SPACE(MText.CalendarMonthName,Empavailhrs.CalendarYear, 1) AS CalendarMonthName,
  Empavailhrs.EmployeeAvailableHours AS AvailabilityInHours,
  CatsData.RecordedHours AS TotalProductiveHours
FROM P_TEAMEMPAVAIL3MONTHS
LEFT OUTER JOIN P_CATSDATAWITHCATEGORY AS CatsData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_YearMonth AS YearMonth ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CalendarMonthText AS MText ON YearMonth.CalendarMonth = MText.CalendarMonth AND Language = $session.system_language  -- association [0..1]
;