Deprecated SAP_INTERNAL_API
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

I_PrmtHbRpldSupplierInvoiceTax

DDL: I_PRMTHBRPLDSUPPLIERINVOICETAX SQL: IPRCHUBSINVTAX Type: view BASIC

Procurement Hub Supplier Invoice Tax

I_PrmtHbRpldSupplierInvoiceTax is a Basic CDS View that provides data about "Procurement Hub Supplier Invoice Tax" in SAP S/4HANA. It reads from 2 data sources (I_PrmtHbRpldSupplierInvoice, cim_d_taxsums) and exposes 15 fields with key field PrmtHbRpldSuplrInvcTaxUUID. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_PrmtHbRpldSupplierInvoice I_PrmtHbRpldSupplierInvoice inner
cim_d_taxsums tax from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PrmtHbRpldSupplierInvoice _SupplierInvoice $projection.PrmtHbRpldSupplierInvoiceUUID = _SupplierInvoice.PrmtHbRpldSupplierInvoiceUUID
[0..1] I_Currency _Currency $projection.ProcmtHubDocumentCurrency = _Currency.Currency

Annotations (15)

NameValueLevelField
EndUserText.label Procurement Hub Supplier Invoice Tax view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.sqlViewName IPRCHUBSINVTAX view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey PrmtHbRpldSuplrInvcTaxUUID view
ObjectModel.uniqueIdField PrmtHbRpldSuplrInvcTaxUUID view
AbapCatalog.preserveKey true view
VDM.lifecycle.status #DEPRECATED view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PrmtHbRpldSuplrInvcTaxUUID cim_d_taxsums prmthbrpldsuplrinvctaxuuid UUID
PrmtHbRpldSupplierInvoiceUUID cim_d_taxsums prmthbrpldsupplierinvoiceuuid UUID
PrmtHbRpldSupplierInvoice cim_d_taxsums prmthbrpldsupplierinvoice Inv. Doc. No.
PrmtHbRpldSuplrInvcFiscalYear cim_d_taxsums prmthbrpldsuplrinvcfiscalyear Fiscal Year
ProcmtHubCompanyCode cim_d_taxsums procmthubcompanycode Company Code
ProcmtHubTaxCode cim_d_taxsums procmthubtaxcode Tax Code
SupplierInvoiceTaxCounter cim_d_taxsums supplierinvoicetaxcounter Item
ProcmtHubDocumentCurrency cim_d_taxsums procmthubdocumentcurrency Currency Key
TaxAmount cim_d_taxsums taxamount Tax Amt in Rptg Crcy
TaxBaseAmountInTransCrcy cim_d_taxsums taxbaseamountintranscrcy Value-Added Tax
PrmtHbCompanyCodeCurrency cim_d_taxsums prmthbcompanycodecurrency Local Currency
TaxAmountInCoCodeCrcy cim_d_taxsums taxamountincocodecrcy Tax Amount in Company Code Currency
TaxBaseAmountInCoCodeCrcy cim_d_taxsums taxbaseamountincocodecrcy TxBaseAmt CoCodeCrcy
_SupplierInvoice _SupplierInvoice
_Currency _Currency

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_PrmtHbRpldSupplierInvoiceTax.
-- 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: IPRCHUBSINVTAX

CREATE VIEW I_PrmtHbRpldSupplierInvoiceTax AS
SELECT
  tax.prmthbrpldsuplrinvctaxuuid AS PrmtHbRpldSuplrInvcTaxUUID,
  tax.prmthbrpldsupplierinvoiceuuid AS PrmtHbRpldSupplierInvoiceUUID,
  tax.prmthbrpldsupplierinvoice AS PrmtHbRpldSupplierInvoice,
  tax.prmthbrpldsuplrinvcfiscalyear AS PrmtHbRpldSuplrInvcFiscalYear,
  tax.procmthubcompanycode AS ProcmtHubCompanyCode,
  tax.procmthubtaxcode AS ProcmtHubTaxCode,
  tax.supplierinvoicetaxcounter AS SupplierInvoiceTaxCounter,
  tax.procmthubdocumentcurrency AS ProcmtHubDocumentCurrency,
  tax.taxamount AS TaxAmount,
  tax.taxbaseamountintranscrcy AS TaxBaseAmountInTransCrcy,
  tax.prmthbcompanycodecurrency AS PrmtHbCompanyCodeCurrency,
  tax.taxamountincocodecrcy AS TaxAmountInCoCodeCrcy,
  tax.taxbaseamountincocodecrcy AS TaxBaseAmountInCoCodeCrcy
FROM cim_d_taxsums AS tax
INNER JOIN I_PrmtHbRpldSupplierInvoice ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PrmtHbRpldSupplierInvoice AS _SupplierInvoice ON PrmtHbRpldSupplierInvoiceUUID = _SupplierInvoice.PrmtHbRpldSupplierInvoiceUUID  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON ProcmtHubDocumentCurrency = _Currency.Currency  -- association [0..1]
;