I_ProductDrilldownCostCompAss
Product Drilldown Cost Comp. Assignment
I_ProductDrilldownCostCompAss is a Basic CDS View (Dimension) that provides data about "Product Drilldown Cost Comp. Assignment" in SAP S/4HANA. It reads from 2 data sources (I_CostComponentAssignment, tkkbu) and exposes 7 fields with key fields ChartOfAccounts, FromCostElement. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CostComponentAssignment | I_CostComponentAssignment | from |
| tkkbu | tkkbu | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ChartOfAccounts | _ChartOfAccounts | $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFIPDCSTCMPASS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Product Drilldown Cost Comp. Assignment | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | FromCostElement | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| AbapCatalog.buffering.type | #NONE | view | |
| AbapCatalog.buffering.numberOfKeyFields | 0 | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChartOfAccounts | ChartOfAccounts | ||
| KEY | FromCostElement | FromCostElement | ||
| CostOriginGroup | CostOriginGroup | |||
| CostComponentStructure | CostComponentStructure | |||
| CostComponent | CostComponent | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _CostComponent | I_CostComponentAssignment | _CostComponent |
@AbapCatalog.sqlViewName: 'IFIPDCSTCMPASS'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.type: #CLIENT_DEPENDENT
@ClientHandling.algorithm: #SESSION_VARIABLE
@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'Product Drilldown Cost Comp. Assignment'
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'FromCostElement'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@AbapCatalog.buffering: {type: #NONE, numberOfKeyFields: 0, status: #NOT_ALLOWED}
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
define view I_ProductDrilldownCostCompAss
as select from I_CostComponentAssignment
inner join tkkbu on I_CostComponentAssignment.CostComponentStructure = tkkbu.rpdata
association [0..1] to I_ChartOfAccounts as _ChartOfAccounts on $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
{
@ObjectModel.foreignKey.association: '_ChartOfAccounts'
key ChartOfAccounts,
key FromCostElement,
CostOriginGroup,
CostComponentStructure,
//In case ToCostElement is null in database
case when ToCostElement is not null
then ToCostElement
else ''
end as ToCostElement,
CostComponent,
_ChartOfAccounts,
I_CostComponentAssignment._CostComponent
}
where
appl = 'K'
and rppar = 'PREL';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COSTCOMPONENTASSIGNMENT",
"TKKBU"
],
"ASSOCIATED":
[
"I_CHARTOFACCOUNTS",
"I_COSTCOMPONENT"
],
"BASE":
[
"I_COSTCOMPONENTASSIGNMENT"
],
"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