I_ProductDrilldownCostCompAss

DDL: I_PRODUCTDRILLDOWNCOSTCOMPASS SQL: IFIPDCSTCMPASS Type: view BASIC

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)

SourceAliasJoin Type
I_CostComponentAssignment I_CostComponentAssignment from
tkkbu tkkbu inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts

Annotations (18)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/