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 Report Text Language
KEY DistributionChannel DistributionChannel Record ID
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
LanguageasLanguage
KEY DistributionChannel AdditionalMasterDataCode Record ID
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData
DistributionChannelName _Text AdditionalMasterDataText Short Description

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_CnsldtnDistributionChannelT.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW P_CnsldtnDistributionChannelT AS
SELECT
  Language,
  DistributionChannel,
  cast ( 'ACCTG' as fincs_masterdatasource ) AS AdditionalMasterDataSource,
  cast ( ' ' as fincs_isadditionalmasterdata preserving type ) AS CnsldtnIsAdditionalMasterData,
  DistributionChannelName as DistributionChannelName AS LanguageasLanguage,
  _Text.AdditionalMasterDataText AS DistributionChannelName
FROM I_DistributionChannelText
-- UNION ALL with additional select branch(es): I_CnsldtnAddlMD
;