I_CNSLDTNDISTRIBUTIONCHANNEL

CDS View

Cnsldtn Combined Distribution Channel

I_CNSLDTNDISTRIBUTIONCHANNEL is a CDS View in S/4HANA. Cnsldtn Combined Distribution Channel. It contains 3 fields. 4 CDS views read from this table.

CDS Views using this table (4)

ViewTypeJoinVDMDescription
A_CnsldtnDistributionChannel view from COMPOSITE Combined Distribution Channel
I_CnsldtnDistributionChannelT view inner COMPOSITE Cnsldtn Cmbnd Distribution Channel - Txt
I_CnsldtnDistributionChannelVH view from COMPOSITE Cnsldtn Combined Distribution Channel
R_CnsldtnDistributionChannelTP view_entity from TRANSACTIONAL Consolidation Distribution Channel - TP

Fields (3)

KeyField CDS FieldsUsed in Views
KEY DistributionChannel DistributionChannel 1
AdditionalMasterDataSource AdditionalMasterDataSource 1
CnsldtnIsAdditionalMasterData CnsldtnIsAdditionalMasterData 1
@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":""
}
}*/