I_TimeSheetTaskType

DDL: I_TIMESHEETTASKTYPE Type: view BASIC

Task Type for Timesheet

I_TimeSheetTaskType (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Human Resources

I_TimeSheetTaskType is a Basic CDS View that provides data about "Task Type for Timesheet" in SAP S/4HANA. It reads from 1 data source (tcatx_tasktypes) and exposes 4 fields with key field TimeSheetTaskType. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Human Resources
StatusReleased
Description
This CDS view provides a list of task types available to the workforce to record time. Note This CDS view is only applicable for usage in cloud systems. In on-premise systems, this CDS views may not work as expected. Also, an ABAP Test Cockpit warning message will be displayed when any of these CDS views are used in an on-premise system.

Purpose
This CDS view provides the prerequisites for answering the following business questions: What are the task types available for recording time? What is the relevance of available task types?

Structure
Main input parameters This view does not have any input parameters. Measures and attributes Some important attributes are: Task Type Task Type Relevance

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessHuman Resources
Application ComponentCA-TS-S4
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Search
PackageHuman Resources for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
tcatx_tasktypes tcatx_tasktypes from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_TimeSheetTaskTypeText _TimeSheetTaskTypeText $projection.TimeSheetTaskType = _TimeSheetTaskTypeText.TimeSheetTaskType
[0..1] I_TimeSheetTaskTypeRelevance _TimeSheetTaskTypeRelevance $projection.TimeSheetTaskTypeRelevanceCode = _TimeSheetTaskTypeRelevance.TimeSheetTaskTypeRelevanceCode

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName ITIMSHTTASKTYP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Task Type for Timesheet view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey TimeSheetTaskType view
ObjectModel.semanticKey TimeSheetTaskType view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY TimeSheetTaskType tasktype Task Type
TimeSheetTaskTypeRelevanceCode tasktype_relevance Task Type Relevance
_TimeSheetTaskTypeText _TimeSheetTaskTypeText
_TimeSheetTaskTypeRelevance _TimeSheetTaskTypeRelevance

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_TimeSheetTaskType.
-- 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_TimeSheetTaskType AS
SELECT
  tasktype AS TimeSheetTaskType,
  tasktype_relevance AS TimeSheetTaskTypeRelevanceCode
FROM tcatx_tasktypes
LEFT OUTER JOIN I_TimeSheetTaskTypeText AS _TimeSheetTaskTypeText ON TimeSheetTaskType = _TimeSheetTaskTypeText.TimeSheetTaskType  -- association [0..*]
LEFT OUTER JOIN I_TimeSheetTaskTypeRelevance AS _TimeSheetTaskTypeRelevance ON TimeSheetTaskTypeRelevanceCode = _TimeSheetTaskTypeRelevance.TimeSheetTaskTypeRelevanceCode  -- association [0..1]
;