P_RU_TaxItem

DDL: P_RU_TAXITEM SQL: PRUTAXITEM Type: view CONSUMPTION

P_RU_TaxItem is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_RU_BSET) and exposes 11 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxItem.

Data Sources (1)

SourceAliasJoin Type
P_RU_BSET P_RU_BSET from

Annotations (7)

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

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY TaxItem TaxItem Tax Item
TaxCode TaxCode Tax Code
GLAccount GLAccount General Ledger
TaxItemGroup TaxItemGroup2 Tax off grpg
TaxRate TaxRate Tax Rate
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
DebitCreditCode DebitCreditCode Single-Character Flag
TaxJurisdiction TaxJurisdiction Tax Jurisdiction

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_TaxItem.
-- 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: PRUTAXITEM

CREATE VIEW P_RU_TaxItem AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  TaxItem,
  TaxCode,
  GLAccount,
  TaxItemGroup2 AS TaxItemGroup,
  TaxRate,
  TransactionTypeDetermination,
  DebitCreditCode,
  TaxJurisdiction
FROM P_RU_BSET
;