I_PPS_PurchaseContractTaxCode

DDL: I_PPS_PURCHASECONTRACTTAXCODE Type: view_entity COMPOSITE

Purchase Contract Tax Code values

I_PPS_PurchaseContractTaxCode is a Composite CDS View that provides data about "Purchase Contract Tax Code values" in SAP S/4HANA. It reads from 3 data sources (I_CompanyCode, I_Country, I_TaxCode) and exposes 7 fields with key fields TaxCode, TaxCalculationProcedure. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
I_CompanyCode _CompanyCode inner
I_Country _Country inner
I_TaxCode _TaxCode from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_TaxCalculationProcedure _TaxCalculationProcedure $projection.TaxCalculationProcedure = _TaxCalculationProcedure.TaxCalculationProcedure

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Purchase Contract Tax Code values view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey TaxCode view
VDM.viewType #COMPOSITE view
Analytics.technicalName IppsTaxCode view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY TaxCode I_TaxCode TaxCode Tax Code
KEY TaxCalculationProcedure I_TaxCode TaxCalculationProcedure Tax Procedure
CompanyCode I_CompanyCode CompanyCode Receiver Company Code
TaxType I_TaxCode TaxType Tax Type
TaxCodeName
_TaxCalculationProcedure _TaxCalculationProcedure
_Text I_TaxCode _Text

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_PPS_PurchaseContractTaxCode.
-- 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_PPS_PurchaseContractTaxCode AS
SELECT
  _TaxCode.TaxCode AS TaxCode,
  _TaxCode.TaxCalculationProcedure AS TaxCalculationProcedure,
  _CompanyCode.CompanyCode AS CompanyCode,
  _TaxCode.TaxType AS TaxType,
  _TaxCode._Text[1: Language = $session.system_language].TaxCodeName AS TaxCodeName,
  _TaxCode._Text AS _Text
FROM I_TaxCode AS _TaxCode
INNER JOIN I_Country AS _Country ON /* join condition not captured in parsed metadata */
INNER JOIN I_CompanyCode AS _CompanyCode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_TaxCalculationProcedure AS _TaxCalculationProcedure ON TaxCalculationProcedure = _TaxCalculationProcedure.TaxCalculationProcedure  -- association [0..1]
;