I_PrmtHbRpldSupplierInvoice
Procurement Hub Supplier Invoice
I_PrmtHbRpldSupplierInvoice is a Basic CDS View that provides data about "Procurement Hub Supplier Invoice" in SAP S/4HANA. It reads from 1 data source (cim_d_header) and exposes 41 fields with key field PrmtHbRpldSupplierInvoiceUUID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cim_d_header | header | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_PrmtHbRpldSuplrInvcItmPORef | _SupplierInvoiceItemPORef | $projection.PrmtHbRpldSupplierInvoiceUUID = _SupplierInvoiceItemPORef.PrmtHbRpldSupplierInvoiceUUID |
| [0..*] | I_PrmtHbRpldSuplrInvcItmGLAcct | _SupplierInvoiceItemGLAcct | $projection.PrmtHbRpldSupplierInvoiceUUID = _SupplierInvoiceItemGLAcct.PrmtHbRpldSupplierInvoiceUUID |
| [0..*] | I_PrmtHbRpldSupplierInvoiceTax | _SupplierInvoiceTax | $projection.PrmtHbRpldSupplierInvoiceUUID = _SupplierInvoiceTax.PrmtHbRpldSupplierInvoiceUUID |
| [0..1] | I_Currency | _Currency | $projection.ProcmtHubDocumentCurrency = _Currency.Currency |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Procurement Hub Supplier Invoice | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.sqlViewName | IPRCHUBSINV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | PrmtHbRpldSupplierInvoiceUUID | view | |
| ObjectModel.uniqueIdField | PrmtHbRpldSupplierInvoiceUUID | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.lifecycle.status | #DEPRECATED | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrmtHbRpldSupplierInvoiceUUID | cim_d_header | prmthbrpldsupplierinvoiceuuid | UUID |
| ProcurementHubSourceSystem | cim_d_header | procurementhubsourcesystem | Connected System ID | |
| ProcmtHubSupplierInvoiceStatus | cim_d_header | procmthubsupplierinvoicestatus | Invoice Status | |
| ProcmtHubSupplierInvoiceSource | cim_d_header | procmthubsupplierinvoicesource | Source | |
| ProcmtHubSupplierInvoiceOrigin | cim_d_header | procmthubsupplierinvoiceorigin | Invoice Origin | |
| PrmtHbRpldSupplierInvoice | cim_d_header | prmthbrpldsupplierinvoice | Inv. Doc. No. | |
| PrmtHbRpldSuplrInvcFiscalYear | cim_d_header | prmthbrpldsuplrinvcfiscalyear | Fiscal Year | |
| ProcmtHubCompanyCode | cim_d_header | procmthubcompanycode | Company Code | |
| ProcmtHubDocumentCurrency | cim_d_header | procmthubdocumentcurrency | Currency Key | |
| InvoiceGrossAmount | cim_d_header | invoicegrossamount | Gross Invoice Amount | |
| PostingDate | cim_d_header | postingdate | Posting Date for GR | |
| DocumentDate | cim_d_header | documentdate | Journal Entry Date | |
| TaxReportingDate | cim_d_header | taxreportingdate | Tax Reporting Date | |
| SuplrInvcAutomReducedAmount | cim_d_header | suplrinvcautomreducedamount | Reduced Amount | |
| SuplrInvcManuallyReducedAmount | cim_d_header | suplrinvcmanuallyreducedamount | Supplier Error | |
| SupplierPostingLineItemText | cim_d_header | supplierpostinglineitemtext | Text | |
| DocumentHeaderText | cim_d_header | documentheadertext | Doc.Header Text | |
| DueCalculationBaseDate | cim_d_header | duecalculationbasedate | Due Calculation Base Date | |
| CashDiscount1DueDate | cim_d_header | cashdiscount1duedate | Cash Discount 1 | |
| CashDiscount2DueDate | cim_d_header | cashdiscount2duedate | Cash Discount 2 | |
| NetDueDate | cim_d_header | netduedate | Net Due Date | |
| ProcmtHubPaymentTerms | cim_d_header | procmthubpaymentterms | Pyt Terms | |
| ManualCashDiscount | cim_d_header | manualcashdiscount | CD Amount | |
| FixedCashDiscount | cim_d_header | fixedcashdiscount | Fixed Cash Discount | |
| CashDiscount1Percent | cim_d_header | cashdiscount1percent | Disc. Percent 1 | |
| CashDiscount1Days | cim_d_header | cashdiscount1days | Days from Baseline Date for Payment | |
| CashDiscount2Percent | cim_d_header | cashdiscount2percent | Disc. Percent 2 | |
| CashDiscount2Days | cim_d_header | cashdiscount2days | Days from Baseline Date for Payment | |
| NetPaymentDays | cim_d_header | netpaymentdays | Net Pmt Terms Period | |
| UnplannedDeliveryCost | cim_d_header | unplanneddeliverycost | Unpl. Delivery Costs | |
| PrmtHbInvoicingParty | cim_d_header | invoicingparty | Supplier | |
| SupplierInvoiceIDByInvcgParty | cim_d_header | supplierinvoiceidbyinvcgparty | Reference | |
| PrmtHbAccountingDocumentType | cim_d_header | prmthbaccountingdocumenttype | Document Type | |
| AssignmentReference | cim_d_header | assignmentreference | Assignment Reference | |
| ExchangeRate | cim_d_header | exchangerate | Exchange rate | |
| IsInvoice | cim_d_header | isinvoice | TRUE | |
| IsEndOfPurposeBlocked | cim_d_header | isendofpurposeblocked | Busin. Purp. Cmpltd. | |
| _SupplierInvoiceItemPORef | _SupplierInvoiceItemPORef | |||
| _SupplierInvoiceTax | _SupplierInvoiceTax | |||
| _SupplierInvoiceItemGLAcct | _SupplierInvoiceItemGLAcct | |||
| _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_PrmtHbRpldSupplierInvoice.
-- 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: IPRCHUBSINV
CREATE VIEW I_PrmtHbRpldSupplierInvoice AS
SELECT
header.prmthbrpldsupplierinvoiceuuid AS PrmtHbRpldSupplierInvoiceUUID,
header.procurementhubsourcesystem AS ProcurementHubSourceSystem,
header.procmthubsupplierinvoicestatus AS ProcmtHubSupplierInvoiceStatus,
header.procmthubsupplierinvoicesource AS ProcmtHubSupplierInvoiceSource,
header.procmthubsupplierinvoiceorigin AS ProcmtHubSupplierInvoiceOrigin,
header.prmthbrpldsupplierinvoice AS PrmtHbRpldSupplierInvoice,
header.prmthbrpldsuplrinvcfiscalyear AS PrmtHbRpldSuplrInvcFiscalYear,
header.procmthubcompanycode AS ProcmtHubCompanyCode,
header.procmthubdocumentcurrency AS ProcmtHubDocumentCurrency,
header.invoicegrossamount AS InvoiceGrossAmount,
header.postingdate AS PostingDate,
header.documentdate AS DocumentDate,
header.taxreportingdate AS TaxReportingDate,
header.suplrinvcautomreducedamount AS SuplrInvcAutomReducedAmount,
header.suplrinvcmanuallyreducedamount AS SuplrInvcManuallyReducedAmount,
header.supplierpostinglineitemtext AS SupplierPostingLineItemText,
header.documentheadertext AS DocumentHeaderText,
header.duecalculationbasedate AS DueCalculationBaseDate,
header.cashdiscount1duedate AS CashDiscount1DueDate,
header.cashdiscount2duedate AS CashDiscount2DueDate,
header.netduedate AS NetDueDate,
header.procmthubpaymentterms AS ProcmtHubPaymentTerms,
header.manualcashdiscount AS ManualCashDiscount,
header.fixedcashdiscount AS FixedCashDiscount,
header.cashdiscount1percent AS CashDiscount1Percent,
header.cashdiscount1days AS CashDiscount1Days,
header.cashdiscount2percent AS CashDiscount2Percent,
header.cashdiscount2days AS CashDiscount2Days,
header.netpaymentdays AS NetPaymentDays,
header.unplanneddeliverycost AS UnplannedDeliveryCost,
header.invoicingparty AS PrmtHbInvoicingParty,
header.supplierinvoiceidbyinvcgparty AS SupplierInvoiceIDByInvcgParty,
header.prmthbaccountingdocumenttype AS PrmtHbAccountingDocumentType,
header.assignmentreference AS AssignmentReference,
header.exchangerate AS ExchangeRate,
header.isinvoice AS IsInvoice,
header.isendofpurposeblocked AS IsEndOfPurposeBlocked
FROM cim_d_header AS header
LEFT OUTER JOIN I_PrmtHbRpldSuplrInvcItmPORef AS _SupplierInvoiceItemPORef ON PrmtHbRpldSupplierInvoiceUUID = _SupplierInvoiceItemPORef.PrmtHbRpldSupplierInvoiceUUID -- association [0..*]
LEFT OUTER JOIN I_PrmtHbRpldSuplrInvcItmGLAcct AS _SupplierInvoiceItemGLAcct ON PrmtHbRpldSupplierInvoiceUUID = _SupplierInvoiceItemGLAcct.PrmtHbRpldSupplierInvoiceUUID -- association [0..*]
LEFT OUTER JOIN I_PrmtHbRpldSupplierInvoiceTax AS _SupplierInvoiceTax ON PrmtHbRpldSupplierInvoiceUUID = _SupplierInvoiceTax.PrmtHbRpldSupplierInvoiceUUID -- association [0..*]
LEFT OUTER JOIN I_Currency AS _Currency ON ProcmtHubDocumentCurrency = _Currency.Currency -- association [0..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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