P_CnsldtnDistributionChannel

DDL: P_CNSLDTNDISTRIBUTIONCHANNEL Type: view COMPOSITE Package: FIN_CS_MD_DISTRIBUTIONCHANNEL

Consolidation Combined Distribution Channel

P_CnsldtnDistributionChannel is a Composite CDS View that provides data about "Consolidation Combined Distribution Channel" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_DistributionChannel) and exposes 4 fields with key field DistributionChannel. Part of development package FIN_CS_MD_DISTRIBUTIONCHANNEL.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnAddlMD I_CnsldtnAddlMD union_all
I_DistributionChannel I_DistributionChannel from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCSDISTRICHL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY DistributionChannel DistributionChannel
AdditionalMasterDataSource
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
@AbapCatalog:{
  sqlViewName: 'PCSDISTRICHL',
  compiler.compareFilter: true
  }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #B,
  sizeCategory: #S
}
@VDM:{
  viewType: #COMPOSITE,
  private:true
  }

define view P_CnsldtnDistributionChannel
  as select from I_DistributionChannel
{

  key DistributionChannel,

      cast ( 'ACCTG' as fincs_masterdatasource )                   as AdditionalMasterDataSource,

      cast ( ' ' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData
}

union all select from I_CnsldtnAddlMD
{

  key AdditionalMasterDataCode                                     as DistributionChannel,

      cast ( 'CNSLDTN' as fincs_masterdatasource )                 as AdditionalMasterDataSource,

      cast ( 'X' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData
}
where
      AdditionalCharcFieldName =  'VTWEG'
  and AdditionalMasterDataCode <> ''