C_TimeSheetTP
TimeSheet
C_TimeSheetTP is a Consumption CDS View that provides data about "TimeSheet" in SAP S/4HANA. It reads from 1 data source (R_TimeSheetTP_2) and exposes 52 fields with key field TimeSheetUUID. It is exposed through 2 OData services (ASQL_F1823A, UI_TIMESHEET_MANAGE). Part of development package ODATA_TIMESHEET_MAN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_TimeSheetTP_2 | R_TimeSheetTP_2 | projection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | TimeSheet | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F1823A | ASQL_F1823A | C2 | NOT_RELEASED | |
| UI_TIMESHEET_MANAGE | UI_TIMESHEET_MANAGE | V4 | C1 | NOT_RELEASED |
Fields (52)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TimeSheetUUID | TimeSheetUUID | ||
| WorkAssignmentExternalID | WorkAssignmentExternalID | WFA Ext. ID | ||
| Country2DigitISOCode | Country2DigitISOCode | Country/Region | ||
| CustomerName | ||||
| Customer | ||||
| TimeSheetDate | TimeSheetDate | Date | ||
| RecordedHours | RecordedHours | Hours | ||
| HoursUnitOfMeasure | HoursUnitOfMeasure | Unit of Measure | ||
| TimeSheetStartTime | TimeSheetStartTime | |||
| TimeSheetEndTime | TimeSheetEndTime | |||
| TimeSheetLongText | TimeSheetLongText | |||
| TimeSheetTaskUUID | TimeSheetTaskUUID | |||
| TimeSheetTask | _TimeSheetTask | TimeSheetTask | ||
| TimeSheetTaskName | ||||
| TimeSheetTaskAccountingCat | _TimeSheetTask | TimeSheetTaskAccountingCat | ||
| TimeSheetTaskAccountingCatNamelocalized | ||||
| SenderCostCenter | SenderCostCenter | Sender Cost Center | ||
| ReceiverCostCenter | ReceiverCostCenter | |||
| ProjectUUID | ProjectUUID | Project UUID | ||
| Project | ||||
| ProjectDescription | ||||
| ProjectElementUUID | ProjectElementUUID | Obj Link Entity GUID | ||
| ProjectElement | ||||
| ProjectElementDescription | ||||
| ActivityType | ActivityType | Activity Type | ||
| CostCtrActivityTypeNamelocalized | ||||
| EntProjElmntWorkItemUUID | EntProjElmntWorkItemUUID | Entity GUID | ||
| EntProjElmntWorkItem | ||||
| EntProjElmntWorkItemName | ||||
| BillableControl | BillableControl | Billable Control | ||
| BillingControlCategoryText | ||||
| TimeSheetOvertimeCategory | TimeSheetOvertimeCategory | |||
| TimeSheetOvertimeCategoryTextlocalized | ||||
| TimeSheetWrkLocCode | TimeSheetWrkLocCode | |||
| TimeSheetWrkLocCodeNamelocalized | ||||
| TimeSheetTaskType | TimeSheetTaskType | Task Type | ||
| TimeSheetTaskTypeTextlocalized | ||||
| TimeSheetProcessingStatus | TimeSheetProcessingStatus | |||
| TimeSheetProcessingStatusTextlocalized | ||||
| TimeSheetRejectionReason | TimeSheetRejectionReason | Rejection reas. | ||
| TimeSheetRejectionReasonTextlocalized | ||||
| WorkflowTaskInternalID | WorkflowTaskInternalID | Work Item ID | ||
| TimeSheetAccountingDocument | TimeSheetAccountingDocument | Document no. | ||
| TimeSheetIsChangedAfterApprvl | TimeSheetIsChangedAfterApprvl | |||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| TimeSheetLastChangeDateTime | TimeSheetLastChangeDateTime | Changed On | ||
| WorkforceAssignmentIsPrimary | _TimeSheetWorkAssignment | WorkforceAssignmentIsPrimary | Checkbox | |
| _WorkAssignment | _WorkAssignment | |||
| _TimeSheetWorkAssignment | _TimeSheetWorkAssignment |
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 C_TimeSheetTP.
-- 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 C_TimeSheetTP AS
SELECT
TimeSheetUUID,
WorkAssignmentExternalID,
Country2DigitISOCode,
_TimeSheetTask._CustomerBP._Customer.CustomerName AS CustomerName,
_TimeSheetTask._CustomerBP.Customer AS Customer,
TimeSheetDate,
RecordedHours,
HoursUnitOfMeasure,
TimeSheetStartTime,
TimeSheetEndTime,
TimeSheetLongText,
TimeSheetTaskUUID,
_TimeSheetTask.TimeSheetTask AS TimeSheetTask,
_TimeSheetTask._TaskDisplayText.TimeSheetTaskNameForDisplayTxt AS TimeSheetTaskName,
_TimeSheetTask.TimeSheetTaskAccountingCat AS TimeSheetTaskAccountingCat,
_TimeSheetTask._AccountingCat._Text.TimeSheetTaskAccountingCatName:localized AS TimeSheetTaskAccountingCatNamelocalized,
SenderCostCenter,
ReceiverCostCenter,
ProjectUUID,
_TimeSheetTask._Project.Project AS Project,
_TimeSheetTask._Project.ProjectDescription AS ProjectDescription,
ProjectElementUUID,
_TimeSheetTask._ProjectElement.ProjectElement AS ProjectElement,
_TimeSheetTask._ProjectElement.ProjectElementDescription AS ProjectElementDescription,
ActivityType,
_TimeSheetTask._CostCenterActType._Text.CostCtrActivityTypeName:localized AS CostCtrActivityTypeNamelocalized,
EntProjElmntWorkItemUUID,
_TimeSheetTask._ProjectElementWorkItem.EntProjElmntWorkItem AS EntProjElmntWorkItem,
_TimeSheetTask._ProjectElementWorkItem.EntProjElmntWorkItemName AS EntProjElmntWorkItemName,
BillableControl,
_TimeSheetTask._BillableCat.BillingControlCategoryText AS BillingControlCategoryText,
TimeSheetOvertimeCategory,
_TimeSheetOvertimeCat._TimeSheetOvertimeCatText.TimeSheetOvertimeCategoryText : localized AS TimeSheetOvertimeCategoryTextlocalized,
TimeSheetWrkLocCode,
_TimeSheetWrkLoc._TimeSheetWrkLocText.TimeSheetWrkLocCodeName : localized AS TimeSheetWrkLocCodeNamelocalized,
TimeSheetTaskType,
_TimeSheetTaskType._TimeSheetTaskTypeText.TimeSheetTaskTypeText : localized AS TimeSheetTaskTypeTextlocalized,
TimeSheetProcessingStatus,
_TimeSheetProcessingStatus._TimeSheetProcgStatusText.TimeSheetProcessingStatusText : localized AS TimeSheetProcessingStatusTextlocalized,
TimeSheetRejectionReason,
_TimeSheetRejectionReason._TimeSheetRejectionReasonText.TimeSheetRejectionReasonText : localized AS TimeSheetRejectionReasonTextlocalized,
WorkflowTaskInternalID,
TimeSheetAccountingDocument,
TimeSheetIsChangedAfterApprvl,
CreatedByUser,
LastChangedByUser,
CreationDateTime,
LastChangeDateTime,
TimeSheetLastChangeDateTime,
_TimeSheetWorkAssignment.WorkforceAssignmentIsPrimary AS WorkforceAssignmentIsPrimary
FROM R_TimeSheetTP_2
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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