C_TrdClassfctnProdPlantCountry
Trade classification product by country/region
C_TrdClassfctnProdPlantCountry is a Consumption CDS View that provides data about "Trade classification product by country/region" in SAP S/4HANA. It reads from 1 data source (I_ProductPlantBasic) and exposes 3 fields with key fields Product, Country.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductPlantBasic | _ProductPlant | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPROCOUNTRY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Trade classification product by country/region | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_ProductPlantBasic | Product | |
| KEY | Country | _Address | Country | |
| _ProductPlantBasic | _ProductPlantBasic |
@AbapCatalog.sqlViewName: 'CPROCOUNTRY'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Trade classification product by country/region'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
define view C_TrdClassfctnProdPlantCountry
as select from I_ProductPlantBasic as _ProductPlant
left outer to one join I_Plant as _Plant on _Plant.Plant = _ProductPlant.Plant
left outer to one join I_Address as _Address on _Plant.AddressID = _Address.AddressID
association[1..*] to I_ProductPlantBasic as _ProductPlantBasic on _ProductPlantBasic.Product = $projection.Product
{
key _ProductPlant.Product,
key _Address.Country as Country,
_ProductPlantBasic
}
group by
_ProductPlant.Product,
_Address.Country
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDRESS",
"I_PLANT",
"I_PRODUCTPLANTBASIC"
],
"ASSOCIATED":
[
"I_PRODUCTPLANTBASIC"
],
"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