I_COSTCOMPONENTASSIGNMENT

CDS View

Cost Component Assignment

I_COSTCOMPONENTASSIGNMENT is a CDS View in S/4HANA. Cost Component Assignment. It contains 5 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
I_ProductDrilldownCostCompAss view from BASIC Product Drilldown Cost Comp. Assignment

Fields (5)

KeyField CDS FieldsUsed in Views
KEY CostComponentStructure CostComponentStructure 2
KEY FromCostElement FromCostElement 2
_CostComponent _CostComponent 1
CostComponent CostComponent 2
ToCostElement ToCostElement 2
@AbapCatalog: {
  sqlViewName: 'ICOSTCOMPASSGMT',
  compiler.compareFilter: true,
  preserveKey: true,
  buffering: {
    type: #FULL,
    numberOfKeyFields: 0,
    status: #ACTIVE } }
@ClientHandling: {
  type: #CLIENT_DEPENDENT,
  algorithm: #SESSION_VARIABLE }
@Analytics: {
  dataCategory: #CUBE,
  dataExtraction.enabled: false }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ObjectModel: {
  usageType: {
    serviceQuality: #A,
    sizeCategory: #M,
    dataClass: #CUSTOMIZING },
  supportedCapabilities: [
    #CDS_MODELING_ASSOCIATION_TARGET,
    #CDS_MODELING_DATA_SOURCE,
    #SQL_DATA_SOURCE,
    #ANALYTICAL_PROVIDER ],
    modelingPattern: #ANALYTICAL_CUBE }
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Cost Component Assignment'


define view I_CostComponentAssignment
  as select from tckh2
  association [0..1] to I_CostComponent as _CostComponent on  $projection.CostComponentStructure = _CostComponent.CostComponentStructure
                                                          and $projection.CostComponent          = _CostComponent.CostComponent
{
  key ktopl                                       as ChartOfAccounts,
  key elehk                                       as CostComponentStructure,
  key cast( kstav as kstrf preserving type )      as FromCostElement,
  key hrkft                                       as CostOriginGroup,
  key cast( abkat as  fco_abkat preserving type ) as VarianceResultsAnlysCategory,

      cast( kstab as kstrt preserving type )      as ToCostElement,
      elemt                                       as CostComponent,

      _CostComponent

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TCKH2"
],
"ASSOCIATED":
[
"I_COSTCOMPONENT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/