I_CostComponent

DDL: I_COSTCOMPONENT Type: view BASIC

Cost Component

I_CostComponent is a Basic CDS View (Dimension) that provides data about "Cost Component" in SAP S/4HANA. It reads from 1 data source (tckh3) and exposes 14 fields with key fields CostComponentStructure, CostComponent. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
tckh3 tckh3 from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CostComponentStructure _CostComponentStructure $projection.CostComponentStructure = _CostComponentStructure.CostComponentStructure
[0..1] I_CostComponentGroup _CostComponentGroup $projection.CostComponentGroup = _CostComponentGroup.CostComponentGroup
[0..*] I_CostComponentText _Text $projection.CostComponentStructure = _Text.CostComponentStructure and $projection.CostComponent = _Text.CostComponent

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IFICOSTCOMP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 1 view
AbapCatalog.buffering.status #ACTIVE view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.representativeKey CostComponent view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Cost Component view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CostComponentStructure elehk
KEY CostComponent elemt
CostComponentGroup egrup
CostCompIsForInitialCostSplit zusch
CostCompIsForSalesAndAdminCost vv_gk
CostCompIsForCOGM herko
CostCompIsForInvtryValuation besbw
CostCompIsForInvtryOnCommlLaw invhr
CostCompIsForInvtryOnTaxLaw invsr
CostCompIsForTransfPrSurcharge gewzs
CostComponentIsRolledUp waelz
_CostComponentStructure _CostComponentStructure
_CostComponentGroup _CostComponentGroup
_Text _Text
@AbapCatalog: {
  sqlViewName: 'IFICOSTCOMP',
  compiler.compareFilter: true,
  preserveKey: true,
  buffering: {
    type: #GENERIC, 
    numberOfKeyFields: 1, 
    status: #ACTIVE } }
@ClientHandling: {
  type: #CLIENT_DEPENDENT,
  algorithm: #SESSION_VARIABLE }
@Analytics: { 
  dataCategory: #DIMENSION, 
  internalName: #LOCAL }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ObjectModel: {
  representativeKey: 'CostComponent',
  usageType: {
    serviceQuality: #A,
    sizeCategory: #M,
    dataClass: #CUSTOMIZING } }
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Cost Component'


define view I_CostComponent
  as select from tckh3
  association [0..1] to I_CostComponentStructure as _CostComponentStructure on  $projection.CostComponentStructure = _CostComponentStructure.CostComponentStructure
  association [0..1] to I_CostComponentGroup     as _CostComponentGroup     on  $projection.CostComponentGroup = _CostComponentGroup.CostComponentGroup
  association [0..*] to I_CostComponentText      as _Text                   on  $projection.CostComponentStructure = _Text.CostComponentStructure
                                                                            and $projection.CostComponent          = _Text.CostComponent
{
      @ObjectModel.foreignKey.association: '_CostComponentStructure'
  key elehk     as  CostComponentStructure,
      @ObjectModel.text.association: '_Text'
  key elemt     as  CostComponent,
      @ObjectModel.foreignKey.association: '_CostComponentGroup'
      egrup     as  CostComponentGroup,

      //Cost Component View

      zusch     as  CostCompIsForInitialCostSplit,
      vv_gk     as  CostCompIsForSalesAndAdminCost,
      herko     as  CostCompIsForCOGM,
      besbw     as  CostCompIsForInvtryValuation,
      invhr     as  CostCompIsForInvtryOnCommlLaw,
      invsr     as  CostCompIsForInvtryOnTaxLaw,
      gewzs     as  CostCompIsForTransfPrSurcharge,
      waelz     as  CostComponentIsRolledUp,
      
      _CostComponentStructure,
      _CostComponentGroup,
      _Text

}