C_ServiceCostRateHistory
Service Cost Rate with History
C_ServiceCostRateHistory is a Consumption CDS View that provides data about "Service Cost Rate with History" in SAP S/4HANA. It reads from 1 data source (I_AccountingCostRateHistory) and exposes 36 fields with key field AccountingCostRateUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AccountingCostRateHistory | I_AccountingCostRateHistory | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_LedgerText | _LedgerText | $projection.Ledger = _LedgerText.Ledger and _LedgerText.Language = $session.system_language |
Annotations (22)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CFISRVCOSTRATEH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Service Cost Rate with History | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Cost Rate | view | |
| UI.headerInfo.typeNamePlural | Cost Rates | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | view | ||
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccountingCostRateUUID | AccountingCostRateUUID | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ReceivingCompanyCode | ReceivingCompanyCode | Rcvg Co Code | ||
| IsIntercompanyRate | IsIntercompanyRate | |||
| CostCenter | CostCenter | Cost Center | ||
| TimeSheetOvertimeCategory | TimeSheetOvertimeCategory | |||
| ActivityType | ActivityType | Activity Type | ||
| WorkItem | WorkItem | Work Item ID | ||
| EmployeeFullName | ||||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| ValidityStartFiscalYear | ValidityStartFiscalYear | |||
| ValidityStartFiscalPeriod | ValidityStartFiscalPeriod | |||
| Currency | Currency | Valuation Crcy | ||
| Ledger | Ledger | Ledger | ||
| LedgerName | _LedgerText | LedgerName | Ledger Name | |
| CostRateVarblAmount | ||||
| CostRateScaleFactor | CostRateScaleFactor | |||
| CostCtrActivityTypeQtyUnit | CostCtrActivityTypeQtyUnit | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| ValidityEndFiscalYear | ValidityEndFiscalYear | |||
| ValidityEndFiscalPeriod | ValidityEndFiscalPeriod | |||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| DeletionDateTime | DeletionDateTime | |||
| CostRateIsDeleted | CostRateIsDeleted | |||
| CreatedByUser | CreatedByUser | User Name | ||
| DeletedByUser | DeletedByUser | |||
| CompanyCodeName | ||||
| ReceivingCompanyCodeName | ||||
| CostCenterName | ||||
| CostCtrActivityTypeName | ||||
| ServiceCostLevelName | ||||
| WorkItemName | ||||
| WBSElementDescription | _WBSElementInternalID | WBSDescription | WBS Element Name |
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_ServiceCostRateHistory.
-- 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.
-- SQL view name: CFISRVCOSTRATEH
CREATE VIEW C_ServiceCostRateHistory AS
SELECT
AccountingCostRateUUID,
CompanyCode,
ReceivingCompanyCode,
IsIntercompanyRate,
CostCenter,
TimeSheetOvertimeCategory,
ActivityType,
WorkItem,
cast( _Employment._Employee.EmployeeFullName as fco_employee_full_name preserving type) AS EmployeeFullName,
WBSElementExternalID,
ValidityStartFiscalYear,
ValidityStartFiscalPeriod,
Currency,
Ledger,
_LedgerText.LedgerName AS LedgerName,
cast( CostRateVarblAmount as fco_cost_rate preserving type ) AS CostRateVarblAmount,
CostRateScaleFactor,
CostCtrActivityTypeQtyUnit,
ControllingArea,
WBSElementInternalID,
ValidityEndFiscalYear,
ValidityEndFiscalPeriod,
ValidityStartDate,
ValidityEndDate,
CreationDateTime,
DeletionDateTime,
CostRateIsDeleted,
CreatedByUser,
DeletedByUser,
cast( _CompanyCode.CompanyCodeName as fis_butxt preserving type ) AS CompanyCodeName,
cast( _ReceivingCompanyCode.CompanyCodeName as fco_receiving_companycode_name preserving type ) AS ReceivingCompanyCodeName,
cast( _CurrentCostCenter._Text[1: Language = $session.system_language].CostCenterName as fis_kostl_name preserving type) AS CostCenterName,
cast( _CurrentCostCtrActyType._Text[1: Language = $session.system_language].CostCtrActivityTypeName as fco_activity_type_name preserving type) AS CostCtrActivityTypeName,
cast( _CurrentServiceCostLevel._Text[1: Language = $session.system_language].ServiceCostLevelName as fco_service_cost_level_name preserving type) AS ServiceCostLevelName,
_WorkItem._Text[1: Language = $session.system_language].WorkItemName AS WorkItemName,
_WBSElementInternalID.WBSDescription AS WBSElementDescription
FROM I_AccountingCostRateHistory
LEFT OUTER JOIN I_LedgerText AS _LedgerText ON Ledger = _LedgerText.Ledger AND _LedgerText.Language = $session.system_language -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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