I_AccountingCostRate
Interface view for search model CostRate
I_AccountingCostRate is a Basic CDS View that provides data about "Interface view for search model CostRate" in SAP S/4HANA. It reads from 5 data sources (I_CostCenterText, I_CostCenterActivityTypeText, I_Ledger, P_CostRateBusinessTransTypeTxt, P_AccountingCostRate) and exposes 22 fields with key field AccountingCostRateUUID. It has 5 associations to related views.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| I_CostCenterText | _CurrentCostCenterText | inner |
| I_CostCenterActivityTypeText | _I_CostCenterActivityTypeText | inner |
| I_Ledger | _Ledger | inner |
| P_CostRateBusinessTransTypeTxt | _P_CostRateBusinessTransType | inner |
| P_AccountingCostRate | _Rate | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_Currency | _Currency | $projection.Currency = _Currency.Currency |
| [0..*] | I_CostCenter | _CurrentCostCenter | $projection.ControllingArea = _CurrentCostCenter.ControllingArea and $projection.CostCenter = _CurrentCostCenter.CostCenter and _CurrentCostCenter.ValidityStartDate <= $projection.ValidityStartDate and _CurrentCostCenter.ValidityEndDate >= $projection.ValidityEndDate |
| [0..1] | I_PlanningCategory | _PlanningCategory | $projection.PlanningCategory = _PlanningCategory.PlanningCategory |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.CostCtrActivityTypeQtyUnit = _UnitOfMeasure.UnitOfMeasure |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFIACCOSTRATE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Interface view for search model CostRate | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccountingCostRateUUID | AccountingCostRateUUID | Cost Rate UUID | |
| Ledger | P_AccountingCostRate | Ledger | Ledger | |
| CompanyCode | P_AccountingCostRate | CompanyCode | Receiver Company Code | |
| ControllingArea | P_AccountingCostRate | ControllingArea | Controlling Area | |
| CostCenter | P_AccountingCostRate | CostCenter | Cost Center | |
| ActivityType | ActivityType | Activity Type | ||
| PlanningCategory | PlanningCategory | Plan Category | ||
| BusinessTransactionTypeName | P_CostRateBusinessTransTypeTxt | BusinessTransactionTypeName | Short text | |
| ValidityStartDate | P_AccountingCostRate | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | P_AccountingCostRate | ValidityEndDate | ValidTo | |
| CostCtrActivityTypeQtyUnit | P_AccountingCostRate | CostCtrActivityTypeQtyUnit | Activity Unit | |
| Currency | Currency | Valuation Crcy | ||
| CostRateTotalAmount | CostRateTotalAmount | Total Rate | ||
| CostRateScaleFactor | CostRateScaleFactor | Per | ||
| AccountingCostRateDesc | AccountingCostRateDesc | |||
| CostCtrActivityTypeName | I_CostCenterActivityTypeText | CostCtrActivityTypeName | ||
| _CompanyCode | _CompanyCode | |||
| CostCenterName | I_CostCenterText | CostCenterName | Name | |
| _CurrentCostCenter | _CurrentCostCenter | |||
| _Currency | _Currency | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _PlanningCategory | _PlanningCategory |
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 I_AccountingCostRate.
-- 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: IFIACCOSTRATE
CREATE VIEW I_AccountingCostRate AS
SELECT
AccountingCostRateUUID,
_Rate.Ledger AS Ledger,
_Rate.CompanyCode AS CompanyCode,
_Rate.ControllingArea AS ControllingArea,
_Rate.CostCenter AS CostCenter,
ActivityType,
PlanningCategory,
_P_CostRateBusinessTransType.BusinessTransactionTypeName AS BusinessTransactionTypeName,
_Rate.ValidityStartDate AS ValidityStartDate,
_Rate.ValidityEndDate AS ValidityEndDate,
_Rate.CostCtrActivityTypeQtyUnit AS CostCtrActivityTypeQtyUnit,
Currency,
CostRateTotalAmount,
CostRateScaleFactor,
AccountingCostRateDesc,
_I_CostCenterActivityTypeText.CostCtrActivityTypeName AS CostCtrActivityTypeName,
_CurrentCostCenterText.CostCenterName AS CostCenterName
FROM P_AccountingCostRate AS _Rate
INNER JOIN I_Ledger AS _Ledger ON /* join condition not captured in parsed metadata */
INNER JOIN P_CostRateBusinessTransTypeTxt AS _P_CostRateBusinessTransType ON /* join condition not captured in parsed metadata */
INNER JOIN I_CostCenterActivityTypeText AS _I_CostCenterActivityTypeText ON /* join condition not captured in parsed metadata */
INNER JOIN I_CostCenterText AS _CurrentCostCenterText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CurrentCostCenter ON ControllingArea = _CurrentCostCenter.ControllingArea AND CostCenter = _CurrentCostCenter.CostCenter AND _CurrentCostCenter.ValidityStartDate <= ValidityStartDate AND _CurrentCostCenter.ValidityEndDate >= ValidityEndDate -- association [0..*]
LEFT OUTER JOIN I_PlanningCategory AS _PlanningCategory ON PlanningCategory = _PlanningCategory.PlanningCategory -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON CostCtrActivityTypeQtyUnit = _UnitOfMeasure.UnitOfMeasure -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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