I_CnsldtnDistributionChannel

DDL: I_CNSLDTNDISTRIBUTIONCHANNEL Type: view COMPOSITE

Cnsldtn Combined Distribution Channel

I_CnsldtnDistributionChannel is a Composite CDS View (Dimension) that provides data about "Cnsldtn Combined Distribution Channel" in SAP S/4HANA. It has 2 associations to related views.

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_CnsldtnDistributionChannelT _Text $projection.DistributionChannel = _Text.DistributionChannel
[1..1] I_CnsldtnMDSource _MDSource $projection.AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName ICSDISTRICHL view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey DistributionChannel view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name CnsldtnDistributionChannel view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Cnsldtn Combined Distribution Channel view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY DistributionChannel
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
_MDSource _MDSource
_Text _Text
@AbapCatalog:{
  sqlViewName: 'ICSDISTRICHL'
  }
@Analytics: {
  dataCategory: #DIMENSION,
  internalName: #LOCAL,
  dataExtraction.enabled: true
}
@AccessControl:{
  authorizationCheck: #MANDATORY
  }
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata:{
  allowExtensions:true,
  ignorePropagatedAnnotations: true
  }
@ObjectModel:{
  usageType: {
    dataClass: #MASTER,
    serviceQuality: #C,
    sizeCategory: #S},
  representativeKey: 'DistributionChannel',
  modelingPattern: #ANALYTICAL_DIMENSION,
  supportedCapabilities: [#CDS_MODELING_DATA_SOURCE,
                          #CDS_MODELING_ASSOCIATION_TARGET,
                          #SQL_DATA_SOURCE,
                          #EXTRACTION_DATA_SOURCE,
                          #ANALYTICAL_DIMENSION],
  sapObjectNodeType.name: 'CnsldtnDistributionChannel'
}
@VDM:{
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_LOCAL_API
  }
@EndUserText.label: 'Cnsldtn Combined Distribution Channel'

// expose only additional master data entity in case of homonymous non-additional master data entity existence


define view I_CnsldtnDistributionChannel
  as select distinct from P_CnsldtnDistributionChannel

  association [0..*] to I_CnsldtnDistributionChannelT as _Text     on $projection.DistributionChannel = _Text.DistributionChannel

  association [1..1] to I_CnsldtnMDSource             as _MDSource on $projection.AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource

{

      @ObjectModel.text.association: '_Text'
      @Consumption.valueHelpDefinition: [{
        entity: {
          name: 'I_CnsldtnDistributionChannelVH',
          element: 'DistributionChannel'
        }
      }]
  key cast( DistributionChannel as fincs_distributionchannel preserving type )                      as DistributionChannel,

      @ObjectModel.foreignKey.association: '_MDSource'
      @API.element: {releaseState: #DEPRECATED, successor: 'CnsldtnIsAdditionalMasterData'}
      @VDM.lifecycle: {status: #DEPRECATED, successor: 'CnsldtnIsAdditionalMasterData' }
      cast( max ( AdditionalMasterDataSource ) as fincs_masterdatasource preserving type )          as AdditionalMasterDataSource,

      cast( max ( CnsldtnIsAdditionalMasterData ) as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData,


      /* associations */
      _MDSource,
      _Text
}
where
  DistributionChannel is not initial //required to avoid access to corrupt database entries

group by
  DistributionChannel;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_CNSLDTNDISTRIBUTIONCHANNEL"
],
"ASSOCIATED":
[
"I_CNSLDTNDISTRIBUTIONCHANNELT",
"I_CNSLDTNMDSOURCE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/