C_PlanCostRateHistory

DDL: C_PLANCOSTRATEHISTORY SQL: CFIPLANCOSTRATEH Type: view CONSUMPTION Package: FINS_CO_COST_RATE

Plan Cost Rate with History

C_PlanCostRateHistory is a Consumption CDS View that provides data about "Plan 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. It is exposed through 2 OData services (ASQL_F3162A, UI_PLANCOSTRATE_MANAGE). Part of development package FINS_CO_COST_RATE.

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 (21)

NameValueLevelField
AbapCatalog.sqlViewName CFIPLANCOSTRATEH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
EndUserText.label Plan Cost Rate with History view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE 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

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F3162A ASQL_F3162A C2 NOT_RELEASED
UI_PLANCOSTRATE_MANAGE UI_PLANCOSTRATE_MANAGE V4 C1 NOT_RELEASED

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY AccountingCostRateUUID AccountingCostRateUUID
CostCenter CostCenter Cost Center
ActivityType ActivityType Activity Type
Currency Currency Valuation Crcy
Ledger Ledger Ledger
LedgerName _LedgerText LedgerName Ledger Name
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
PlanningCategory PlanningCategory Plan Category
ControllingObject ControllingObject Object number
CostObject CostObject Cost Object
AccountingCostRateDesc AccountingCostRateDesc
CostCenterName
CostCtrActivityTypeName

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_PlanCostRateHistory.
-- 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: CFIPLANCOSTRATEH

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