C_ActualCostRateTP
Actual Cost Rate
C_ActualCostRateTP is a Consumption CDS View that provides data about "Actual Cost Rate" in SAP S/4HANA. It reads from 1 data source (R_ActualCostRateTP) and exposes 42 fields with key field AccountingCostRateUUID. It has 4 associations to related views. It is exposed through 1 OData service (UI_ACTUALCOSTRATE_MANAGE). Part of development package RAP_FIN_CO_COST_RATE_UI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_ActualCostRateTP | R_ActualCostRateTP | projection |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CostCenterVH | _CostCenterVH | $projection.ControllingArea = _CostCenterVH.ControllingArea and $projection.CostCenter = _CostCenterVH.CostCenter |
| [0..*] | I_CostCenterActivityTypeVH | _ActivityTypeVH | $projection.ControllingArea = _ActivityTypeVH.ControllingArea and $projection.ActivityType = _ActivityTypeVH.CostCtrActivityType and $projection.CostCtrActivityTypeQtyUnit = _ActivityTypeVH.CostCtrActivityTypeQtyUnit |
| [0..*] | C_HierRuntimeRprstnDplLeafNode | _CostCenterHierarchyLeafNode | $projection.CostCenter = _CostCenterHierarchyLeafNode.UnivHierarchyBusinessEntity and $projection.ControllingArea = _CostCenterHierarchyLeafNode.HierarchyNodeClass and _CostCenterHierarchyLeafNode.ValidityStartDate <= $session.system_date and _CostCenterHierarchyLeafNode.ValidityEndDate >= $session.system_date and _CostCenterHierarchyLeafNode.HierarchyType = '0101' |
| [1..*] | C_ActualCostRateHistory | _ActualCostRateHistory | $projection.CostCenter = _ActualCostRateHistory.CostCenter and $projection.ActivityType = _ActualCostRateHistory.ActivityType and $projection.Ledger = _ActualCostRateHistory.Ledger |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Actual Cost Rate | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.sapObjectNodeType.name | AccountingCostRate | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.textArrangement | #TEXT_LAST | view | |
| UI.headerInfo.typeName | Cost Rate | view | |
| UI.headerInfo.typeNamePlural | Cost Rates | view | |
| UI.headerInfo.title.label | Cost Rate | view | |
| UI.headerInfo.title.value | AccountingCostRateObject | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | AccountingCostRateDesc | view | |
| Metadata.allowExtensions | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_ACTUALCOSTRATE_MANAGE | UI_ACTUALCOSTRATE_MANAGE | V4 | C1 | NOT_RELEASED |
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccountingCostRateUUID | AccountingCostRateUUID | ||
| ValidityDate | ValidityDate | Valid On | ||
| CostCenter | CostCenter | Cost Center | ||
| CostCenterHierarchy | CostCenterHierarchy | |||
| CostCenterHierarchyNode | CostCenterHierarchyNode | |||
| ActivityType | ActivityType | Activity Type | ||
| Ledger | Ledger | Ledger | ||
| Currency | Currency | Valuation Crcy | ||
| ValidityStartFiscalYear | ValidityStartFiscalYear | |||
| ValidityStartFiscalPeriod | ValidityStartFiscalPeriod | |||
| CostRateFixedAmount | CostRateFixedAmount | |||
| CostRateTotalAmount | CostRateTotalAmount | |||
| CostRateVarblAmount | CostRateVarblAmount | |||
| CostRateScaleFactor | CostRateScaleFactor | |||
| CostCtrActivityTypeQtyUnit | CostCtrActivityTypeQtyUnit | |||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| ValidityEndFiscalYear | ValidityEndFiscalYear | |||
| ValidityEndFiscalPeriod | ValidityEndFiscalPeriod | |||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| PlanningCategory | PlanningCategory | Plan Category | ||
| ControllingObject | ControllingObject | Object number | ||
| AccountingCostRateObject | AccountingCostRateObject | |||
| ComponentBreakdown | ComponentBreakdown | |||
| CostRateIsManual | CostRateIsManual | Truth Value | ||
| RowIndex | RowIndex | Row index | ||
| CostRateIsOverwriteMode | CostRateIsOverwriteMode | |||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| CostCenterNameasCostCenterNamelocalized | ||||
| LedgerNameasLedgerNamelocalized | ||||
| CostCenterHierarchyName | CostCenterHierarchyName | |||
| HierarchyNodeText | HierarchyNodeText | |||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| AccountingCostRateDesc | AccountingCostRateDesc | |||
| _Currency | _Currency | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _ActivityTypeVH | _ActivityTypeVH | |||
| _CostCenterVH | _CostCenterVH | |||
| _CostCenterHierarchyLeafNode | _CostCenterHierarchyLeafNode | |||
| _ActualCostRateHistory | _ActualCostRateHistory |
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_ActualCostRateTP.
-- 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_ActualCostRateTP AS
SELECT
AccountingCostRateUUID,
ValidityDate,
CostCenter,
CostCenterHierarchy,
CostCenterHierarchyNode,
ActivityType,
Ledger,
Currency,
ValidityStartFiscalYear,
ValidityStartFiscalPeriod,
CostRateFixedAmount,
CostRateTotalAmount,
CostRateVarblAmount,
CostRateScaleFactor,
CostCtrActivityTypeQtyUnit,
CompanyCode,
ControllingArea,
ValidityEndFiscalYear,
ValidityEndFiscalPeriod,
ValidityStartDate,
ValidityEndDate,
PlanningCategory,
ControllingObject,
AccountingCostRateObject,
ComponentBreakdown,
CostRateIsManual,
RowIndex,
CostRateIsOverwriteMode,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
_CurrentCostCenter._Text.CostCenterName as CostCenterName : localized AS CostCenterNameasCostCenterNamelocalized,
_LedgerText.LedgerName as LedgerName : localized AS LedgerNameasLedgerNamelocalized,
CostCenterHierarchyName,
HierarchyNodeText,
CreatedByUser,
CreationDateTime,
AccountingCostRateDesc
FROM R_ActualCostRateTP
LEFT OUTER JOIN I_CostCenterVH AS _CostCenterVH ON ControllingArea = _CostCenterVH.ControllingArea AND CostCenter = _CostCenterVH.CostCenter -- association [0..*]
LEFT OUTER JOIN I_CostCenterActivityTypeVH AS _ActivityTypeVH ON ControllingArea = _ActivityTypeVH.ControllingArea AND ActivityType = _ActivityTypeVH.CostCtrActivityType AND CostCtrActivityTypeQtyUnit = _ActivityTypeVH.CostCtrActivityTypeQtyUnit -- association [0..*]
LEFT OUTER JOIN C_HierRuntimeRprstnDplLeafNode AS _CostCenterHierarchyLeafNode ON CostCenter = _CostCenterHierarchyLeafNode.UnivHierarchyBusinessEntity AND ControllingArea = _CostCenterHierarchyLeafNode.HierarchyNodeClass AND _CostCenterHierarchyLeafNode.ValidityStartDate <= $session.system_date AND _CostCenterHierarchyLeafNode.ValidityEndDate >= $session.system_date AND _CostCenterHierarchyLeafNode.HierarchyType = '0101' -- association [0..*]
LEFT OUTER JOIN C_ActualCostRateHistory AS _ActualCostRateHistory ON CostCenter = _ActualCostRateHistory.CostCenter AND ActivityType = _ActualCostRateHistory.ActivityType AND Ledger = _ActualCostRateHistory.Ledger -- association [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