P_CnsldtnDistributionChannelT

DDL: P_CNSLDTNDISTRIBUTIONCHANNELT Type: view COMPOSITE

P_CnsldtnDistributionChannelT is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_DistributionChannelText) and exposes 9 fields with key fields Language, DistributionChannel, DistributionChannel.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnAddlMD I_CnsldtnAddlMD union_all
I_DistributionChannelText I_DistributionChannelText from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCSDISTRICHLT 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 (9)

KeyFieldSource TableSource FieldDescription
KEY Language Language
KEY DistributionChannel DistributionChannel
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
LanguageasLanguage
KEY DistributionChannel AdditionalMasterDataCode
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
DistributionChannelName _Text AdditionalMasterDataText
@AbapCatalog:{
  sqlViewName: 'PCSDISTRICHLT',
  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_CnsldtnDistributionChannelT
  as select from I_DistributionChannelText
{

  key Language,

  key DistributionChannel,

      cast ( 'ACCTG' as fincs_masterdatasource )                   as AdditionalMasterDataSource,

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

      DistributionChannelName                                      as DistributionChannelName
}


union all select from I_CnsldtnAddlMD
{

  key _Text.Language                                               as Language,

  key AdditionalMasterDataCode                                     as DistributionChannel,

      cast ( 'CNSLDTN' as fincs_masterdatasource )                 as AdditionalMasterDataSource,

      cast ( 'X' as fincs_isadditionalmasterdata preserving type ) as CnsldtnIsAdditionalMasterData,

      _Text.AdditionalMasterDataText                               as DistributionChannelName
}
where
      AdditionalCharcFieldName =  'VTWEG'
  and AdditionalMasterDataCode <> ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CNSLDTNADDLMD",
"I_CNSLDTNADDLMDT",
"I_DISTRIBUTIONCHANNELTEXT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/