I_ProdPlantPurchaseTax

DDL: I_PRODPLANTPURCHASETAX SQL: IPRDPLNTPURCHTAX Type: view COMPOSITE

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)

SourceAliasJoin Type
I_Address_2 Address inner
I_Plant Plant inner
I_ProductPlantBasic ProductPlant inner
I_ProductPurchaseTax PurchaseTax from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY Product I_ProductPurchaseTax Product Product Sold
KEY SourceLocationCountry I_ProductPurchaseTax SourceLocationCountry Dep. Ctry/Reg.
KEY Plant I_Plant Plant Valuation Area
TaxIndicator I_ProductPurchaseTax TaxIndicator Tax indicator
_Product _Product
_Country I_ProductPurchaseTax _Country

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 I_ProdPlantPurchaseTax.
-- 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.
-- SQL view name: IPRDPLNTPURCHTAX

CREATE VIEW I_ProdPlantPurchaseTax AS
SELECT
  PurchaseTax.Product AS Product,
  PurchaseTax.SourceLocationCountry AS SourceLocationCountry,
  Plant.Plant AS Plant,
  PurchaseTax.TaxIndicator AS TaxIndicator,
  PurchaseTax._Country AS _Country
FROM I_ProductPurchaseTax AS PurchaseTax
INNER JOIN I_Address_2 AS Address ON /* join condition not captured in parsed metadata */
INNER JOIN I_Plant AS Plant ON /* join condition not captured in parsed metadata */
INNER JOIN I_ProductPlantBasic AS ProductPlant ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
;