A_TimeSheet_C1276
Timesheet Recordings
A_TimeSheet_C1276 is a Consumption CDS View that provides data about "Timesheet Recordings" in SAP S/4HANA. It reads from 1 data source (R_TimeSheetTP_2) and exposes 26 fields with key field TimeSheetUUID. It has 3 associations to related views. It is exposed through 2 OData services (API_TIMESHEETMOBILE_C1276, ASQL_F9251). Part of development package ODATA_TIMESHEET_MOBILE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_TimeSheetTP_2 | R_TimeSheetTP_2 | projection |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_AllowedTimeSheetTask_C1276 | _Task | $projection.TimeSheetTaskUUID = _Task.TimeSheetTaskUUID |
| [0..1] | A_TimeSheetWorkLocation | _WorkLocation | $projection.TimeSheetWrkLocCode = _WorkLocation.TimeSheetWrkLocCode and _WorkLocation.TimeSheetWrkLocEndDate <= '99991231' |
| [0..1] | A_TimeSheetOvertimeCategory | _OverTimeCat | $projection.TimeSheetOvertimeCategory = _OverTimeCat.TimeSheetOvertimeCategory |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Timesheet Recordings | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| OData.entityType.name | TimeSheet_Type | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_TIMESHEETMOBILE_C1276 | API_TIMESHEETMOBILE_C1276 | V4 | C2 | NOT_RELEASED |
| ASQL_F9251 | ASQL_F9251 | C2 | NOT_RELEASED |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TimeSheetUUID | TimeSheetUUID | ||
| WorkAssignmentExternalID | WorkAssignmentExternalID | WFA Ext. ID | ||
| Country2DigitISOCode | Country2DigitISOCode | Country/Region | ||
| TimeSheetDate | TimeSheetDate | Date | ||
| RecordedHours | RecordedHours | Hours | ||
| HoursUnitOfMeasure | HoursUnitOfMeasure | Unit of Measure | ||
| TimeSheetTaskUUID | TimeSheetTaskUUID | |||
| TimeSheetTaskName | _TimeSheetTask | TimeSheetTaskName | ||
| Customer | ||||
| CustomerName | ||||
| TimeSheetProcessingStatus | TimeSheetProcessingStatus | |||
| TimeSheetProcessingStatusTextlocalized | ||||
| TimeSheetLongText | TimeSheetLongText | |||
| TimeSheetWrkLocCode | TimeSheetWrkLocCode | |||
| TimeSheetWrkLocCodeNamelocalized | ||||
| TimeSheetRejectionReason | TimeSheetRejectionReason | Rejection reas. | ||
| TimeSheetRejectionReasonTextlocalized | ||||
| TimeSheetOvertimeCategory | TimeSheetOvertimeCategory | |||
| _TimeSheetProcessingStatus | _TimeSheetProcessingStatus | |||
| _TimeSheetRejectionReason | _TimeSheetRejectionReason | |||
| _TimeSheetTask | _TimeSheetTask | |||
| _TimeSheetWrkLoc | _TimeSheetWrkLoc | |||
| _Task | _Task | |||
| _WorkLocation | _WorkLocation | |||
| _OverTimeCat | _OverTimeCat | |||
| _WorkAssignment | _WorkAssignment |
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 A_TimeSheet_C1276.
-- 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 A_TimeSheet_C1276 AS
SELECT
TimeSheetUUID,
WorkAssignmentExternalID,
Country2DigitISOCode,
TimeSheetDate,
RecordedHours,
HoursUnitOfMeasure,
TimeSheetTaskUUID,
_TimeSheetTask.TimeSheetTaskName AS TimeSheetTaskName,
_TimeSheetTask._CustomerBP.Customer AS Customer,
_TimeSheetTask._CustomerBP._Customer.CustomerName AS CustomerName,
TimeSheetProcessingStatus,
_TimeSheetProcessingStatus._TimeSheetProcgStatusText.TimeSheetProcessingStatusText : localized AS TimeSheetProcessingStatusTextlocalized,
TimeSheetLongText,
TimeSheetWrkLocCode,
_TimeSheetWrkLoc._TimeSheetWrkLocText.TimeSheetWrkLocCodeName : localized AS TimeSheetWrkLocCodeNamelocalized,
TimeSheetRejectionReason,
_TimeSheetRejectionReason._TimeSheetRejectionReasonText.TimeSheetRejectionReasonText : localized AS TimeSheetRejectionReasonTextlocalized,
TimeSheetOvertimeCategory
FROM R_TimeSheetTP_2
LEFT OUTER JOIN A_AllowedTimeSheetTask_C1276 AS _Task ON TimeSheetTaskUUID = _Task.TimeSheetTaskUUID -- association [1..1]
LEFT OUTER JOIN A_TimeSheetWorkLocation AS _WorkLocation ON TimeSheetWrkLocCode = _WorkLocation.TimeSheetWrkLocCode AND _WorkLocation.TimeSheetWrkLocEndDate <= '99991231' -- association [0..1]
LEFT OUTER JOIN A_TimeSheetOvertimeCategory AS _OverTimeCat ON TimeSheetOvertimeCategory = _OverTimeCat.TimeSheetOvertimeCategory -- association [0..1]
;
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