P_PH_SuplrCustJrnlTaxAmount

DDL: P_PH_SUPLRCUSTJRNLTAXAMOUNT SQL: PPHCSTAXAMT Type: view COMPOSITE Package: GLO_FIN_IS_PH

PH CAS Supplier Customer Tax Amount

P_PH_SuplrCustJrnlTaxAmount is a Composite CDS View that provides data about "PH CAS Supplier Customer Tax Amount" in SAP S/4HANA. It reads from 1 data source (I_StRpBPTaxItem) and exposes 17 fields with key fields CompanyCode, AccountingDocument, FiscalYear, Supplier, Customer. Part of development package GLO_FIN_IS_PH.

Data Sources (1)

SourceAliasJoin Type
I_StRpBPTaxItem I_StRpBPTaxItem from

Annotations (6)

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

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY Supplier Supplier Supplier
KEY Customer Customer Sold-to Party
CountryCurrency CountryCurrency Currency
DocumentCurrency DocumentCurrency Document Currency
BusinessPlace _ReceivablesPayablesItem BusinessPlace Business place
TaxCode TaxCode Tax Code
TaxRate Tax Rate
TaxRateValidityStartDate TaxRateValidityStartDate Tax Rate Validity Start Date
TaxAmountInCountryCrcy
TaxBaseAmountInCountryCrcy
TaxAmountInCoCodeCrcy
TaxBaseAmountInCoCodeCrcy
TaxBaseAmountInTransCrcy
TaxAmountInTransCrcy

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_PH_SuplrCustJrnlTaxAmount.
-- 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: PPHCSTAXAMT

CREATE VIEW P_PH_SuplrCustJrnlTaxAmount AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  Supplier,
  Customer,
  CountryCurrency,
  DocumentCurrency,
  _ReceivablesPayablesItem.BusinessPlace AS BusinessPlace,
  TaxCode,
  cast (TaxRate as fitaxrate ) AS TaxRate,
  TaxRateValidityStartDate,
  sum(TaxAmountInCountryCrcy) AS TaxAmountInCountryCrcy,
  sum(TaxBaseAmountInCountryCrcy) AS TaxBaseAmountInCountryCrcy,
  sum(TaxAmountInCoCodeCrcy) AS TaxAmountInCoCodeCrcy,
  sum(TaxBaseAmountInCoCodeCrcy) AS TaxBaseAmountInCoCodeCrcy,
  sum(TaxBaseAmountInTransCrcy) AS TaxBaseAmountInTransCrcy,
  sum(TaxAmountInTransCrcy) AS TaxAmountInTransCrcy
FROM I_StRpBPTaxItem
;