I_ProductTaxText

DDL: I_PRODUCTTAXTEXT Type: view_entity BASIC

Product Tax Classification - Text

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

Data Sources (1)

SourceAliasJoin Type
tskmt tskmt from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ProductTax _ProductTax $projection.ProductSalesTaxCategory = _ProductTax.ProductSalesTaxCategory and $projection.ProductTaxClassification = _ProductTax.ProductTaxClassification
[0..1] I_PricingConditionType _ProductSalesTaxCategory $projection.ProductSalesTaxCategory = _ProductSalesTaxCategory.ConditionType and _ProductSalesTaxCategory.ConditionApplication = 'V'

Annotations (10)

NameValueLevelField
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Product Tax Classification - Text view
Search.searchable true view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey ProductTaxClassification view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ProductSalesTaxCategory tskmt tatyp Transaction
KEY Language tskmt spras Off. Language
KEY ProductTaxClassification tskmt taxkm Tax Classifica.
ProductTaxClassificationName Wgh.Dat.Ty.Txt.
_ProductSalesTaxCategory _ProductSalesTaxCategory
_ProductTax _ProductTax

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_ProductTaxText.
-- 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_ProductTaxText AS
SELECT
  tskmt.tatyp AS ProductSalesTaxCategory,
  tskmt.spras AS Language,
  tskmt.taxkm AS ProductTaxClassification,
  cast( vtext as producttaxclassificationname ) AS ProductTaxClassificationName
FROM tskmt
LEFT OUTER JOIN I_ProductTax AS _ProductTax ON ProductSalesTaxCategory = _ProductTax.ProductSalesTaxCategory AND ProductTaxClassification = _ProductTax.ProductTaxClassification  -- association [1..1]
LEFT OUTER JOIN I_PricingConditionType AS _ProductSalesTaxCategory ON ProductSalesTaxCategory = _ProductSalesTaxCategory.ConditionType AND _ProductSalesTaxCategory.ConditionApplication = 'V'  -- association [0..1]
;