I_ProductTax

DDL: I_PRODUCTTAX Type: view_entity BASIC

Product Tax Classification

I_ProductTax is a Basic CDS View that provides data about "Product Tax Classification" in SAP S/4HANA. It reads from 1 data source (tskm) and exposes 4 fields with key fields ProductSalesTaxCategory, ProductTaxClassification. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
tskm tskm from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ProductTaxText _Text $projection.ProductTaxClassification = _Text.ProductTaxClassification and $projection.ProductSalesTaxCategory = _Text.ProductSalesTaxCategory
[0..1] I_PricingConditionType _ProductSalesTaxCategory $projection.ProductSalesTaxCategory = _ProductSalesTaxCategory.ConditionType and _ProductSalesTaxCategory.ConditionApplication = 'V'

Annotations (11)

NameValueLevelField
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Product Tax Classification view
Search.searchable true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey ProductTaxClassification view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name ProductTaxClassification view
ObjectModel.objectIdentifier.oidElement ProductTaxClassificationOID view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ProductSalesTaxCategory tskm tatyp Transaction
KEY ProductTaxClassification tskm taxkm Tax Classifica.
_Text _Text
_ProductSalesTaxCategory _ProductSalesTaxCategory

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_ProductTax.
-- 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.

CREATE VIEW I_ProductTax AS
SELECT
  tskm.tatyp AS ProductSalesTaxCategory,
  tskm.taxkm AS ProductTaxClassification
FROM tskm
LEFT OUTER JOIN I_ProductTaxText AS _Text ON ProductTaxClassification = _Text.ProductTaxClassification AND ProductSalesTaxCategory = _Text.ProductSalesTaxCategory  -- association [0..*]
LEFT OUTER JOIN I_PricingConditionType AS _ProductSalesTaxCategory ON ProductSalesTaxCategory = _ProductSalesTaxCategory.ConditionType AND _ProductSalesTaxCategory.ConditionApplication = 'V'  -- association [0..1]
;