C_ActualCostRateHistory

DDL: C_ACTUALCOSTRATEHISTORY SQL: CFIACTCOSTRATEH Type: view CONSUMPTION

Actual Cost Rate with History

C_ActualCostRateHistory is a Consumption CDS View that provides data about "Actual Cost Rate with History" in SAP S/4HANA. It reads from 1 data source (I_AccountingCostRateHistory) and exposes 30 fields with key field AccountingCostRateUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_AccountingCostRateHistory I_AccountingCostRateHistory from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_LedgerText _LedgerText $projection.Ledger = _LedgerText.Ledger and _LedgerText.Language = $session.system_language

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName CFIACTCOSTRATEH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
EndUserText.label Actual 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 #XL 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 CostObject view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value AccountingCostRateDesc view
UI.textArrangement #TEXT_LAST view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY AccountingCostRateUUID AccountingCostRateUUID
CostCenter CostCenter Cost Center
ActivityType ActivityType Activity Type
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
CreationDateTime CreationDateTime Timestamp
DeletionDateTime DeletionDateTime
CostRateIsDeleted CostRateIsDeleted
CreatedByUser CreatedByUser User Name
DeletedByUser DeletedByUser
ControllingObject ControllingObject Object number
CostObject CostObject Cost Object
AccountingCostRateDesc AccountingCostRateDesc
CostCenterName
CostCtrActivityTypeName
Ledger Ledger Ledger
LedgerName _LedgerText LedgerName Ledger Name
_LedgerText _LedgerText

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_ActualCostRateHistory.
-- 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: CFIACTCOSTRATEH

CREATE VIEW C_ActualCostRateHistory AS
SELECT
  AccountingCostRateUUID,
  CostCenter,
  ActivityType,
  Currency,
  ValidityStartFiscalYear,
  ValidityStartFiscalPeriod,
  CostRateFixedAmount,
  CostRateTotalAmount,
  CostRateVarblAmount,
  CostRateScaleFactor,
  CostCtrActivityTypeQtyUnit,
  CompanyCode,
  ControllingArea,
  ValidityEndFiscalYear,
  ValidityEndFiscalPeriod,
  ValidityStartDate,
  ValidityEndDate,
  CreationDateTime,
  DeletionDateTime,
  CostRateIsDeleted,
  CreatedByUser,
  DeletedByUser,
  ControllingObject,
  CostObject,
  AccountingCostRateDesc,
  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,
  Ledger,
  _LedgerText.LedgerName AS LedgerName
FROM I_AccountingCostRateHistory
LEFT OUTER JOIN I_LedgerText AS _LedgerText ON Ledger = _LedgerText.Ledger AND _LedgerText.Language = $session.system_language  -- association [0..1]
;