I_DistributionChainCountry

DDL: I_DISTRIBUTIONCHAINCOUNTRY SQL: IDSCHAINCOUNTRY Type: view COMPOSITE

Distribution Chain Country/Region

I_DistributionChainCountry is a Composite CDS View that provides data about "Distribution Chain Country/Region" in SAP S/4HANA. It reads from 3 data sources (I_Allwdplantsperslsorg, I_Plant, I_SalesArea) and exposes 5 fields with key fields ProductSalesOrg, ProductDistributionChnl, SalesOrganizationasProductSalesOrg, ProductDistributionChnl, Country.

Data Sources (3)

SourceAliasJoin Type
I_Allwdplantsperslsorg I_Allwdplantsperslsorg union
I_Plant I_Plant inner
I_SalesArea I_SalesArea from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IDSCHAINCOUNTRY view
VDM.viewType #COMPOSITE view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #CUSTOMIZING view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Distribution Chain Country/Region view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ProductSalesOrg I_SalesArea SalesOrganization
KEY ProductDistributionChnl I_SalesArea DistributionChannel
KEY SalesOrganizationasProductSalesOrg
KEY ProductDistributionChnl I_Allwdplantsperslsorg DistributionChannel
KEY Country
@AbapCatalog.sqlViewName: 'IDSCHAINCOUNTRY'
@VDM.viewType: #COMPOSITE
@AbapCatalog.compiler.compareFilter: true
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Distribution Chain Country/Region'
@AbapCatalog.preserveKey:true
@ClientHandling.algorithm: #SESSION_VARIABLE

define view I_DistributionChainCountry
  as select from I_SalesArea
{
  key  I_SalesArea.SalesOrganization                       as ProductSalesOrg,
  key  I_SalesArea.DistributionChannel                     as ProductDistributionChnl,
  key  I_SalesArea._SalesOrganization._CompanyCode.Country as Country
}

union select from I_Allwdplantsperslsorg
  inner join      I_Plant on I_Plant.Plant = I_Allwdplantsperslsorg.Plant
{

  key I_Allwdplantsperslsorg.SalesOrganization   as ProductSalesOrg,
  key I_Allwdplantsperslsorg.DistributionChannel as ProductDistributionChnl,
  key I_Plant._OrganizationAddress.Country       as Country //BSREQ-3882

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ALLWDPLANTSPERSLSORG",
"I_COMPANYCODE",
"I_ORGANIZATIONADDRESS",
"I_PLANT",
"I_SALESAREA",
"I_SALESORGANIZATION"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/