A_ActualCostRate

DDL: A_ACTUALCOSTRATE SQL: AFIACTCOSTRATE Type: view BASIC

Actual Cost Rate

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

Data Sources (1)

SourceAliasJoin Type
I_ActualCostRate I_ActualCostRate from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_AccountingCostRate _Extension $projection.AccountingCostRateUUID = _Extension.AccountingCostRateUUID

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName AFIACTCOSTRATE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Actual Cost Rate view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #BASIC view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY AccountingCostRateUUID AccountingCostRateUUID
CompanyCode CompanyCode Receiver Company Code
CostCenter CostCenter Cost Center
ActivityType ActivityType Activity Type
Currency Currency Valuation Crcy
ValidityStartFiscalYearPeriod ValidityStartFiscalYearPeriod
ValidityEndFiscalYearPeriod ValidityEndFiscalYearPeriod
CostRateFixedAmount CostRateFixedAmount
CostRateVarblAmount CostRateVarblAmount
CostRateScaleFactor CostRateScaleFactor
CostCtrActivityTypeQtyUnit CostCtrActivityTypeQtyUnit
Ledger Ledger Ledger
CostRateIsOverwriteMode

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 A_ActualCostRate.
-- 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: AFIACTCOSTRATE

CREATE VIEW A_ActualCostRate AS
SELECT
  AccountingCostRateUUID,
  CompanyCode,
  CostCenter,
  ActivityType,
  Currency,
  ValidityStartFiscalYearPeriod,
  ValidityEndFiscalYearPeriod,
  CostRateFixedAmount,
  CostRateVarblAmount,
  CostRateScaleFactor,
  CostCtrActivityTypeQtyUnit,
  Ledger,
  cast( '' as abap_boolean) AS CostRateIsOverwriteMode
FROM I_ActualCostRate
LEFT OUTER JOIN E_AccountingCostRate AS _Extension ON AccountingCostRateUUID = _Extension.AccountingCostRateUUID  -- association [1..1]
;