C_TimeSheetTP

DDL: C_TIMESHEETTP Type: view_entity CONSUMPTION Package: ODATA_TIMESHEET_MAN

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)

SourceAliasJoin Type
R_TimeSheetTP_2 R_TimeSheetTP_2 projection

Annotations (9)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
ASQL_F1823A ASQL_F1823A C2 NOT_RELEASED
UI_TIMESHEET_MANAGE UI_TIMESHEET_MANAGE V4 C1 NOT_RELEASED

Fields (52)

KeyFieldSource TableSource FieldDescription
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
;