I_ProductValuationCosting
Product Valuation Costing Core Entity
I_ProductValuationCosting is a Basic CDS View that provides data about "Product Valuation Costing Core Entity" in SAP S/4HANA. It reads from 3 data sources (P_ProductValuationBasic, t001, t001k) and exposes 17 fields with key fields Product, ValuationArea, ValuationType. It has 2 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_ProductValuationBasic | ProdCosting | from |
| t001 | t001 | inner |
| t001k | t001k | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [0..1] | E_Productvaluation | _ProdValuationExt | $projection.Product = _ProdValuationExt.Product and $projection.ValuationArea = _ProdValuationExt.ValuationArea and $projection.ValuationType = _ProdValuationExt.ValuationType |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRODVALCOST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Product Valuation Costing Core Entity | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | P_ProductValuationBasic | Product | |
| KEY | ValuationArea | P_ProductValuationBasic | ValuationArea | |
| KEY | ValuationType | P_ProductValuationBasic | ValuationType | |
| IsMaterialCostedWithQtyStruc | P_ProductValuationBasic | IsMaterialCostedWithQtyStruc | ||
| IsMaterialRelatedOrigin | P_ProductValuationBasic | IsMaterialRelatedOrigin | ||
| CostOriginGroup | P_ProductValuationBasic | CostOriginGroup | ||
| CostingOverheadGroup | P_ProductValuationBasic | CostingOverheadGroup | ||
| PlannedPrice1InCoCodeCrcy | P_ProductValuationBasic | PlannedPrice1InCoCodeCrcy | ||
| PlannedPrice2InCoCodeCrcy | P_ProductValuationBasic | PlannedPrice2InCoCodeCrcy | ||
| PlannedPrice3InCoCodeCrcy | P_ProductValuationBasic | PlannedPrice3InCoCodeCrcy | ||
| FuturePlndPrice1ValdtyDate | P_ProductValuationBasic | FuturePlndPrice1ValdtyDate | ||
| FuturePlndPrice2ValdtyDate | P_ProductValuationBasic | FuturePlndPrice2ValdtyDate | ||
| FuturePlndPrice3ValdtyDate | P_ProductValuationBasic | FuturePlndPrice3ValdtyDate | ||
| PlannedPrice | P_ProductValuationBasic | PlannedPrice | ||
| Currency | t001 | waers | ||
| CompanyCode | t001 | bukrs | ||
| _Product | _Product |
@AbapCatalog.sqlViewName: 'IPRODVALCOST'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #BASIC
@EndUserText.label: 'Product Valuation Costing Core Entity'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #XL
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations:true
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#EXTRACTION_DATA_SOURCE ]
@Analytics:{
dataExtraction: {
enabled: true,
delta.changeDataCapture :{
mapping: [
{ table: 'MBEW',
role: #MAIN,
viewElement: ['Product','ValuationArea','ValuationType'],
tableElement: ['MATNR','BWKEY','BWTAR'] },
{ table: 'T001K',
role: #LEFT_OUTER_TO_ONE_JOIN,
viewElement: ['ValuationArea'],
tableElement: ['BWKEY']},
{ table: 'T001',
role: #LEFT_OUTER_TO_ONE_JOIN,
viewElement: ['CompanyCode'],
tableElement: ['BUKRS']
} ]
}
}
}
define view I_ProductValuationCosting
as select from P_ProductValuationBasic as ProdCosting
inner join t001k on ProdCosting.ValuationArea = t001k.bwkey
inner join t001 on t001.bukrs = t001k.bukrs
association [1..1] to I_Product as _Product on $projection.Product = _Product.Product
association [0..1] to E_Productvaluation as _ProdValuationExt on $projection.Product = _ProdValuationExt.Product
and $projection.ValuationArea = _ProdValuationExt.ValuationArea
and $projection.ValuationType = _ProdValuationExt.ValuationType
{
key ProdCosting.Product,
key ProdCosting.ValuationArea,
key ProdCosting.ValuationType,
ProdCosting.IsMaterialCostedWithQtyStruc,
@Semantics.booleanIndicator
ProdCosting.IsMaterialRelatedOrigin,
ProdCosting.CostOriginGroup,
@ObjectModel.sapObjectNodeTypeReference:'CostingOverheadGroup'
ProdCosting.CostingOverheadGroup,
@Semantics.amount.currencyCode: 'Currency'
ProdCosting.PlannedPrice1InCoCodeCrcy,
@Semantics.amount.currencyCode: 'Currency'
ProdCosting.PlannedPrice2InCoCodeCrcy,
@Semantics.amount.currencyCode: 'Currency'
ProdCosting.PlannedPrice3InCoCodeCrcy,
ProdCosting.FuturePlndPrice1ValdtyDate,
ProdCosting.FuturePlndPrice2ValdtyDate,
ProdCosting.FuturePlndPrice3ValdtyDate,
@Semantics.amount.currencyCode: 'Currency'
ProdCosting.PlannedPrice,
@Semantics.currencyCode: true
t001.waers as Currency,
t001.bukrs as CompanyCode,
_Product
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_PRODUCTVALUATIONBASIC",
"T001",
"T001K"
],
"ASSOCIATED":
[
"E_PRODUCTVALUATION",
"I_PRODUCT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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