C_ServiceCostRateDEX
Service Cost Rate
C_ServiceCostRateDEX is a Consumption CDS View (Fact) that provides data about "Service Cost Rate" in SAP S/4HANA. It reads from 1 data source (I_ServiceCostRate_2) and exposes 27 fields with key field AccountingCostRateUUID. It has 1 association to related views. Part of development package FINS_CO_COST_RATE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceCostRate_2 | _Rate | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_AccountingCostRate | _Extension | $projection.AccountingCostRateUUID = _Extension.AccountingCostRateUUID |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Service Cost Rate | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_FACT | view | |
| ObjectModel.sapObjectNodeType.name | AccountingCostRate | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | CRT | view | |
| AbapCatalog.extensibility.quota.maximumFields | 340 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 10000 | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccountingCostRateUUID | AccountingCostRateUUID | ||
| Ledger | I_ServiceCostRate_2 | Ledger | ||
| CurrencyRole | CurrencyRole | |||
| CompanyCode | CompanyCode | |||
| ControllingArea | ControllingArea | |||
| CostCenter | CostCenter | |||
| ActivityType | ActivityType | |||
| IsIntercompanyRate | IsIntercompanyRate | |||
| ReceivingCompanyCode | ReceivingCompanyCode | |||
| ServiceCostLevel | ServiceCostLevel | |||
| PersonnelNumber | PersonnelNumber | |||
| WBSElementInternalID | WBSElementInternalID | |||
| WBSElementExternalID | WBSElementExternalID | |||
| WorkItem | WorkItem | |||
| TimeSheetOvertimeCategory | TimeSheetOvertimeCategory | |||
| ValidityStartFiscalYear | ValidityStartFiscalYear | |||
| ValidityStartFiscalPeriod | ValidityStartFiscalPeriod | |||
| ValidityStartFiscalYearPeriod | ValidityStartFiscalYearPeriod | |||
| ValidityStartDate | ValidityStartDate | |||
| ValidityEndFiscalYear | ValidityEndFiscalYear | |||
| ValidityEndFiscalPeriod | ValidityEndFiscalPeriod | |||
| ValidityEndFiscalYearPeriod | ValidityEndFiscalYearPeriod | |||
| ValidityEndDate | ValidityEndDate | |||
| CostCtrActivityTypeQtyUnit | CostCtrActivityTypeQtyUnit | |||
| Currency | Currency | |||
| CostRateVarblAmount | CostRateVarblAmount | |||
| CostRateScaleFactor | CostRateScaleFactor |
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Service Cost Rate'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
usageType: {
sizeCategory: #L,
serviceQuality: #D,
dataClass: #MIXED
}
,supportedCapabilities: [#EXTRACTION_DATA_SOURCE]
,modelingPattern: #ANALYTICAL_FACT
,sapObjectNodeType.name: 'AccountingCostRate'
}
@VDM.viewType: #CONSUMPTION
@Analytics:{
dataCategory: #FACT,
dataExtraction: {
enabled: true,
delta.changeDataCapture: {
mapping: [
{
role: #MAIN,
table: 'ACCOSTRATE',
tableElement: [ 'RATEUUID' ],
viewElement: [ 'AccountingCostRateUUID' ]
},
{
role: #LEFT_OUTER_TO_ONE_JOIN,
table: 'PRPS',
tableElement: [ 'PSPNR' ],
viewElement: [ 'WBSElementInternalID' ]
},
{
role: #LEFT_OUTER_TO_ONE_JOIN,
table: 'CSSL',
tableElement: [ 'KOKRS', 'KOSTL','LSTAR','GJAHR' ],
viewElement: [ 'ControllingArea','CostCenter','ActivityType','ValidityStartFiscalYear' ]
}
]
}
}
}
@AbapCatalog.extensibility: {
extensible: true,
elementSuffix: 'CRT',
dataSources: ['_Rate'],
quota: {
maximumFields: 340,
maximumBytes: 10000
}
}
define view entity C_ServiceCostRateDEX
as select from I_ServiceCostRate_2 as _Rate
association [1..1] to E_AccountingCostRate as _Extension on $projection.AccountingCostRateUUID = _Extension.AccountingCostRateUUID
{
key AccountingCostRateUUID,
_Rate.Ledger,
CurrencyRole,
CompanyCode,
ControllingArea,
CostCenter,
ActivityType,
IsIntercompanyRate,
ReceivingCompanyCode,
ServiceCostLevel,
PersonnelNumber,
WBSElementInternalID,
WBSElementExternalID,
WorkItem,
TimeSheetOvertimeCategory,
@Semantics.fiscal.year: true
ValidityStartFiscalYear,
@Semantics.fiscal.period: true
ValidityStartFiscalPeriod,
@Semantics.fiscal.yearPeriod: true
ValidityStartFiscalYearPeriod,
@Semantics.businessDate.from: true
ValidityStartDate,
@Semantics.fiscal.year: true
ValidityEndFiscalYear,
@Semantics.fiscal.period: true
ValidityEndFiscalPeriod,
@Semantics.fiscal.yearPeriod: true
ValidityEndFiscalYearPeriod,
@Semantics.businessDate.to: true
ValidityEndDate,
CostCtrActivityTypeQtyUnit,
Currency,
@Semantics.amount.currencyCode: 'Currency'
CostRateVarblAmount,
CostRateScaleFactor
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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