I_ProdPlantPurchaseTax
Composite View - Prod Plant Purchase Tax
I_ProdPlantPurchaseTax is a Composite CDS View that provides data about "Composite View - Prod Plant Purchase Tax" in SAP S/4HANA. It reads from 4 data sources (I_Address_2, I_Plant, I_ProductPlantBasic, I_ProductPurchaseTax) and exposes 6 fields with key fields Product, SourceLocationCountry, Plant. It has 1 association to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_Address_2 | Address | inner |
| I_Plant | Plant | inner |
| I_ProductPlantBasic | ProductPlant | inner |
| I_ProductPurchaseTax | PurchaseTax | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRDPLNTPURCHTAX | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Composite View - Prod Plant Purchase Tax | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_ProductPurchaseTax | Product | |
| KEY | SourceLocationCountry | I_ProductPurchaseTax | SourceLocationCountry | |
| KEY | Plant | I_Plant | Plant | |
| TaxIndicator | I_ProductPurchaseTax | TaxIndicator | ||
| _Product | _Product | |||
| _Country | I_ProductPurchaseTax | _Country |
@AbapCatalog.sqlViewName: 'IPRDPLNTPURCHTAX'
@VDM.viewType: #COMPOSITE
//@VDM.private: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Composite View - Prod Plant Purchase Tax'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_ProdPlantPurchaseTax
as select from I_ProductPurchaseTax as PurchaseTax
inner join I_Address_2 as Address on Address.Country = PurchaseTax.SourceLocationCountry //BSREQ-3882
inner join I_Plant as Plant on Plant.AddressID = Address.AddressID
inner join I_ProductPlantBasic as ProductPlant on ProductPlant.Product = PurchaseTax.Product
and ProductPlant.Plant = Plant.Plant
association [1..1] to I_Product as _Product on $projection.Product = _Product.Product
{
key PurchaseTax.Product,
key PurchaseTax.SourceLocationCountry,
key Plant.Plant,
// Plant.PlantName,
PurchaseTax.TaxIndicator,
_Product,
PurchaseTax._Country
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDRESS_2",
"I_PLANT",
"I_PRODUCTPLANTBASIC",
"I_PRODUCTPURCHASETAX"
],
"ASSOCIATED":
[
"I_COUNTRY",
"I_PRODUCT"
],
"BASE":
[
"I_PRODUCTPURCHASETAX"
],
"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