P_RU_TaxCode

DDL: P_RU_TAXCODE SQL: PRUTAXCODE Type: view COMPOSITE

P_RU_TaxCode is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_CompanyCode, I_Country, I_TaxCode) and exposes 5 fields with key fields CompanyCode, TaxCalculationProcedure, TaxCode.

Data Sources (3)

SourceAliasJoin Type
I_CompanyCode I_CompanyCode inner
I_Country I_Country inner
I_TaxCode I_TaxCode from

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PRUTAXCODE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_CompanyCode CompanyCode Receiver Company Code
KEY TaxCalculationProcedure I_TaxCode TaxCalculationProcedure Tax Procedure
KEY TaxCode I_TaxCode TaxCode Tax Code
TaxType I_TaxCode TaxType Tax Type
Country I_CompanyCode Country Venue: Ctry/Reg

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 P_RU_TaxCode.
-- 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.
-- SQL view name: PRUTAXCODE

CREATE VIEW P_RU_TaxCode AS
SELECT
  I_CompanyCode.CompanyCode AS CompanyCode,
  I_TaxCode.TaxCalculationProcedure AS TaxCalculationProcedure,
  I_TaxCode.TaxCode AS TaxCode,
  I_TaxCode.TaxType AS TaxType,
  I_CompanyCode.Country AS Country
FROM I_TaxCode
INNER JOIN I_Country ON /* join condition not captured in parsed metadata */
INNER JOIN I_CompanyCode ON /* join condition not captured in parsed metadata */
;