I_PPS_PurchaseContractTaxCode
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCode | _CompanyCode | inner |
| I_Country | _Country | inner |
| I_TaxCode | _TaxCode | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_TaxCalculationProcedure | _TaxCalculationProcedure | $projection.TaxCalculationProcedure = _TaxCalculationProcedure.TaxCalculationProcedure |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA