P_CnsldtnDistributionChannel

DDL: P_CNSLDTNDISTRIBUTIONCHANNEL Type: view COMPOSITE

P_CnsldtnDistributionChannel is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnAddlMD, I_DistributionChannel) and exposes 4 fields with key field 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 RefDistCh-Cust/Mat.
AdditionalMasterDataSource
AdditionalMasterDataSource
CnsldtnIsAdditionalMasterData

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_CnsldtnDistributionChannel.
-- 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_CnsldtnDistributionChannel AS
SELECT
  DistributionChannel,
  cast ( 'ACCTG' as fincs_masterdatasource ) AS AdditionalMasterDataSource,
  cast ( 'X' as fincs_isadditionalmasterdata preserving type ) AS CnsldtnIsAdditionalMasterData
FROM I_DistributionChannel
-- UNION ALL with additional select branch(es): I_CnsldtnAddlMD
;