I_PPS_PurOrdItmTaxCodeText

DDL: I_PPS_PURORDITMTAXCODETEXT Type: view_entity BASIC

Purchase order item tax - Text

I_PPS_PurOrdItmTaxCodeText is a Basic CDS View that provides data about "Purchase order item tax - Text" in SAP S/4HANA. It reads from 1 data source (ekpo) and exposes 7 fields with key fields PurchaseOrder, PurchaseOrderItem, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ekpo ekpo from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Plant _Plant _Plant.Plant = $projection.Plant
[0..1] I_TaxCodeText _TaxCodeText _TaxCodeText.TaxCode = $projection.TaxCode and _TaxCodeText.TaxCalculationProcedure = $projection.TaxCalculationProcedure and _TaxCodeText.Language = $session.system_language

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Purchase order item tax - Text view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #META view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.dataCategory #TEXT view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder ebeln Source PurchDoc
KEY PurchaseOrderItem ebelp Item pur. doc.
KEY Language
TaxCode mwskz Tax Code
Plant werks Receiving Plant
TaxCalculationProcedure
_TaxCodeText _TaxCodeText

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_PurOrdItmTaxCodeText.
-- 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_PurOrdItmTaxCodeText AS
SELECT
  ebeln AS PurchaseOrder,
  ebelp AS PurchaseOrderItem,
  $session.system_language AS Language,
  mwskz AS TaxCode,
  werks AS Plant,
  _Plant._Address._Country.TaxCalculationProcedure AS TaxCalculationProcedure
FROM ekpo
LEFT OUTER JOIN I_Plant AS _Plant ON _Plant.Plant = Plant  -- association [0..1]
LEFT OUTER JOIN I_TaxCodeText AS _TaxCodeText ON _TaxCodeText.TaxCode = TaxCode AND _TaxCodeText.TaxCalculationProcedure = TaxCalculationProcedure AND _TaxCodeText.Language = $session.system_language  -- association [0..1]
;