I_DistributionChainCountry
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)
| Source | Alias | Join Type |
|---|---|---|
| I_Allwdplantsperslsorg | I_Allwdplantsperslsorg | union |
| I_Plant | I_Plant | inner |
| I_SalesArea | I_SalesArea | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA