I_CAInvcgChrgAndDiscKey

DDL: I_CAINVCGCHRGANDDISCKEY Type: view_entity BASIC Package: FKKINV_VDM_UTILS

Zuschlags-/Rabattschlüssel für Rechn.

I_CAInvcgChrgAndDiscKey is a Basic CDS View (Dimension) that provides data about "Zuschlags-/Rabattschlüssel für Rechn." in SAP S/4HANA. It reads from 2 data sources (tfk2617, I_CAApplicationArea) and exposes 5 fields with key fields CAApplicationArea, CAInvcgChargeAndDiscountKey. It has 2 associations to related views. Part of development package FKKINV_VDM_UTILS.

Data Sources (2)

SourceAliasJoin Type
tfk2617 _tfk2617 from
I_CAApplicationArea ApplArea inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CAApplicationArea _ApplArea $projection.CAApplicationArea = _ApplArea.CAApplicationArea
[1..*] I_CAInvcgChrgAndDiscKeyText _CAInvcgChrgAndDiscKeyText $projection.CAInvcgChargeAndDiscountKey = _CAInvcgChrgAndDiscKeyText.CAInvcgChargeAndDiscountKey and $projection.CAApplicationArea = _CAInvcgChrgAndDiscKeyText.CAApplicationArea

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
EndUserText.label Zuschlags-/Rabattschlüssel für Rechn. view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey CAInvcgChargeAndDiscountKey view
ObjectModel.sapObjectNodeType.name ContrAcctgInvcgChrgAndDiscKey view
ObjectModel.compositionRoot true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CAApplicationArea tfk2617 applk
KEY CAInvcgChargeAndDiscountKey tfk2617 chgkey
_ApplArea _ApplArea
_CAInvcgChrgAndDiscKeyText _CAInvcgChrgAndDiscKeyText
CAInvcgChrgAndDiscIsIndividual tfk2617 chgindiv
@AccessControl.authorizationCheck: #NOT_REQUIRED

@Analytics: {
  dataCategory: #DIMENSION,
  dataExtraction.enabled: true,
  internalName:#LOCAL
}

@EndUserText.label: 'Zuschlags-/Rabattschlüssel für Rechn.'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: {
  modelingPattern: #ANALYTICAL_DIMENSION,
  representativeKey: 'CAInvcgChargeAndDiscountKey',
  sapObjectNodeType.name: 'ContrAcctgInvcgChrgAndDiscKey',
  compositionRoot: true,
  supportedCapabilities: [
    #ANALYTICAL_DIMENSION,
    #CDS_MODELING_ASSOCIATION_TARGET,
    #CDS_MODELING_DATA_SOURCE,
    #EXTRACTION_DATA_SOURCE,
    #SQL_DATA_SOURCE
  ],
  usageType: {
    dataClass: #CUSTOMIZING,
    serviceQuality: #A,
    sizeCategory: #S
  }
}

@VDM.viewType: #BASIC
define view entity I_CAInvcgChrgAndDiscKey
  as select from tfk2617             as _tfk2617
    inner join   I_CAApplicationArea as ApplArea on _tfk2617.applk = ApplArea.CAApplicationArea
  association [1..1] to I_CAApplicationArea         as _ApplArea                  on  $projection.CAApplicationArea = _ApplArea.CAApplicationArea
  association [1..*] to I_CAInvcgChrgAndDiscKeyText as _CAInvcgChrgAndDiscKeyText on  $projection.CAInvcgChargeAndDiscountKey = _CAInvcgChrgAndDiscKeyText.CAInvcgChargeAndDiscountKey
                                                                                  and $projection.CAApplicationArea           = _CAInvcgChrgAndDiscKeyText.CAApplicationArea
{
      @ObjectModel.foreignKey.association: '_ApplArea'
  key _tfk2617.applk   as CAApplicationArea,

      @ObjectModel.text.association: '_CAInvcgChrgAndDiscKeyText'
  key _tfk2617.chgkey  as CAInvcgChargeAndDiscountKey,

      _ApplArea,
      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD] //compositional relationship to text view

      _CAInvcgChrgAndDiscKeyText,

      _tfk2617.chgindiv as CAInvcgChrgAndDiscIsIndividual
}
where
  ApplArea.CAApplicationAreaIsActive = 'X'