I_CostEstimateItem
Cost Estimate Item
I_CostEstimateItem is a Basic CDS View (Fact) that provides data about "Cost Estimate Item" in SAP S/4HANA. It reads from 1 data source (P_CKIS) and exposes 58 fields with key fields CostingReferenceObject, CostEstimate, CostingType, CostingDate, CostingVersion. It has 9 associations to related views. Part of development package FINS_PCP_COSTEST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CKIS | P_CKIS | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CostEstimate | _CostEstimate | $projection.CostingReferenceObject = _CostEstimate.CostingReferenceObject and $projection.CostEstimate = _CostEstimate.CostEstimate and $projection.CostingType = _CostEstimate.CostingType and $projection.CostingDate = _CostEstimate.CostingDate and $projection.CostingVersion = _CostEstimate.CostingVersion and $projection.ValuationVariant = _CostEstimate.ValuationVariant and $projection.CostIsEnteredManually = _CostEstimate.CostIsEnteredManually |
| [0..1] | I_CostingType | _CostingType | $projection.CostingType = _CostingType.CostingType |
| [0..1] | I_CostingVersion | _CostingVersion | $projection.CostingVersion = _CostingVersion.CostingVersion and $projection.CostingType = _CostingVersion.CostingType and $projection.ValuationVariant = _CostingVersion.ValuationVariant |
| [1..1] | I_CostingValuationVariant | _ValuationVariant | $projection.ValuationVariant = _ValuationVariant.ValuationVariant |
| [0..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [1..1] | I_Currency | _GlobalCurrency | $projection.globalcurrency = _GlobalCurrency.Currency |
| [1..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
| [0..1] | I_UnitOfMeasure | _CostingUnitOfMeasure | $projection.CostingPriceQtyUnit = _CostingUnitOfMeasure.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.CostEstimateItemQuantityUnit = _UnitOfMeasure.UnitOfMeasure |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_FACT | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Cost Estimate Item | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CostingReferenceObject | CostingReferenceObject | Reference Obj. | |
| KEY | CostEstimate | CostEstimate | Cost EstimateNo | |
| KEY | CostingType | CostingType | Costing Type | |
| KEY | CostingDate | CostingDate | Costing Date | |
| KEY | CostingVersion | CostingVersion | Costing Version | |
| KEY | ValuationVariant | ValuationVariant | Valuation Variant | |
| KEY | CostIsEnteredManually | CostIsEnteredManually | Additive Costs | |
| KEY | CostingItem | CostingItem | WBS Element | |
| CostingItemCategory | CostingItemCategory | Item Category | ||
| CostElement | CostElement | G/L Account | ||
| CostOriginGroup | CostOriginGroup | Origin Group | ||
| Plant | Plant | Valuation Area | ||
| Product | Product | Product Sold | ||
| ValuationType | ValuationType | Valuation Type | ||
| Creditor | Creditor | Supplier | ||
| GlobalCurrency | _CostEstimate | GlobalCurrency | GM Billing Element: Global Currency | |
| TotalPriceInGlobalCurrency | ||||
| FixedPriceInGlobalCurrency | ||||
| TotalAmountInGlobalCurrency | ||||
| FixedAmountInGlobalCrcy | ||||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| TotalPriceInCompanyCodeCrcy | TotalPriceInCompanyCodeCrcy | |||
| FixedPriceInCompanyCodeCrcy | FixedPriceInCompanyCodeCrcy | |||
| TotalAmountInCoCodeCrcy | TotalAmountInCoCodeCrcy | Total Amt In Co Crcy | ||
| FixedAmountInCoCodeCrcy | FixedAmountInCoCodeCrcy | |||
| CostEstimateItemQuantityUnit | Unit of Measure | |||
| CostEstimateItemQuantity | Quantity | |||
| CostingPriceQtyUnit | CostingPriceQtyUnit | Price Qty Unit | ||
| CostingPriceUnitQty | CostingPriceUnitQty | Unit of measure | ||
| CostingValuationStrategy | CostingValuationStrategy | |||
| ProductValnPurgInfoRecdStrgy | ProductValnPurgInfoRecdStrgy | Substr.InfoRec. | ||
| BillOfMaterialItemNumber | BillOfMaterialItemNumber | Item | ||
| CostingItemIsAssembly | CostingItemIsAssembly | |||
| CostCtrActivityType | CostCtrActivityType | Activity Type | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| Operation | Operation | Transaction | ||
| PurchasingInfoRecord | PurchasingInfoRecord | Info Record | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingInfoRecordCategory | PurchasingInfoRecordCategory | Infotype | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | ||
| IsLotSizeIndependent | IsLotSizeIndependent | LotSzIndep.Ind. | ||
| HasError | HasError | TRUE | ||
| TransferCostEstimate | TransferCostEstimate | |||
| TransferCostingType | TransferCostingType | |||
| TransferCostingDate | TransferCostingDate | |||
| TransferCostingVersion | TransferCostingVersion | |||
| TransferValuationVariant | TransferValuationVariant | |||
| _CostEstimate | _CostEstimate | |||
| _Product | _Product | |||
| _CostingType | _CostingType | |||
| _CostingVersion | _CostingVersion | |||
| _ValuationVariant | _ValuationVariant | |||
| _GlobalCurrency | _GlobalCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _CostingUnitOfMeasure | _CostingUnitOfMeasure | |||
| _UnitOfMeasure | _UnitOfMeasure |
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_CostEstimateItem.
-- 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 I_CostEstimateItem AS
SELECT
CostingReferenceObject,
CostEstimate,
CostingType,
CostingDate,
CostingVersion,
ValuationVariant,
CostIsEnteredManually,
CostingItem,
CostingItemCategory,
CostElement,
CostOriginGroup,
Plant,
Product,
ValuationType,
Creditor,
_CostEstimate.GlobalCurrency AS GlobalCurrency,
cast(TotalPriceInInCtrlgAreaCrcy as fpc_total_price_global_crcy preserving type) AS TotalPriceInGlobalCurrency,
cast(FixedPriceInCtrlgAreaCrcy as fpc_fixed_price_global_crcy preserving type) AS FixedPriceInGlobalCurrency,
cast(TotalAmountInCtrlgAreaCrcy as fis_ksl) AS TotalAmountInGlobalCurrency,
cast(FixedAmountInCtrlgAreaCrcy as fis_kfsl) AS FixedAmountInGlobalCrcy,
CompanyCodeCurrency,
TotalPriceInCompanyCodeCrcy,
FixedPriceInCompanyCodeCrcy,
TotalAmountInCoCodeCrcy,
FixedAmountInCoCodeCrcy,
cast(BaseUnit as fpc_item_quantity_unit preserving type) AS CostEstimateItemQuantityUnit,
cast(QuantityInBaseUnit as fpc_item_quantity preserving type) AS CostEstimateItemQuantity,
CostingPriceQtyUnit,
CostingPriceUnitQty,
CostingValuationStrategy,
ProductValnPurgInfoRecdStrgy,
BillOfMaterialItemNumber,
CostingItemIsAssembly,
CostCtrActivityType,
CostCenter,
ProfitCenter,
Operation,
PurchasingInfoRecord,
PurchasingOrganization,
PurchasingInfoRecordCategory,
PurchasingDocument,
PurchasingDocumentItem,
IsLotSizeIndependent,
HasError,
TransferCostEstimate,
TransferCostingType,
TransferCostingDate,
TransferCostingVersion,
TransferValuationVariant
FROM P_CKIS
LEFT OUTER JOIN I_CostEstimate AS _CostEstimate ON CostingReferenceObject = _CostEstimate.CostingReferenceObject AND CostEstimate = _CostEstimate.CostEstimate AND CostingType = _CostEstimate.CostingType AND CostingDate = _CostEstimate.CostingDate AND CostingVersion = _CostEstimate.CostingVersion AND ValuationVariant = _CostEstimate.ValuationVariant AND CostIsEnteredManually = _CostEstimate.CostIsEnteredManually -- association [1..1]
LEFT OUTER JOIN I_CostingType AS _CostingType ON CostingType = _CostingType.CostingType -- association [0..1]
LEFT OUTER JOIN I_CostingVersion AS _CostingVersion ON CostingVersion = _CostingVersion.CostingVersion AND CostingType = _CostingVersion.CostingType AND ValuationVariant = _CostingVersion.ValuationVariant -- association [0..1]
LEFT OUTER JOIN I_CostingValuationVariant AS _ValuationVariant ON ValuationVariant = _ValuationVariant.ValuationVariant -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GlobalCurrency ON globalcurrency = _GlobalCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _CostingUnitOfMeasure ON CostingPriceQtyUnit = _CostingUnitOfMeasure.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON CostEstimateItemQuantityUnit = _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