P_SUPPLIERINVOICEEURAMT

DDL: P_SUPPLIERINVOICEEURAMT SQL: PSUPPLIERINVOIEU Type: view COMPOSITE

P_SUPPLIERINVOICEEURAMT is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_SUPPLIERINVOICEREFPO) and exposes 7 fields with key fields SupplierInvoice, PurchaseOrder.

Data Sources (1)

SourceAliasJoin Type
P_SUPPLIERINVOICEREFPO P_SUPPLIERINVOICEREFPO from

Parameters (2)

NameTypeDefault
P_PERCENT grcfc_threshold
P_WAERS waers

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PSUPPLIERINVOIEU view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice SupplierInvoice SD Document
KEY PurchaseOrder PurchaseOrder Purchasing Document
AccountingDocumentNumber AccountingDocumentNumber SD Document
FiscalYear FiscalYear G/L Fiscal Year
PostingDate PostingDate Posting Date for GR
Currency Currency Valuation Crcy
ReportingCurrency

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_SUPPLIERINVOICEEURAMT.
-- 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: PSUPPLIERINVOIEU
-- Parameters: P_PERCENT : grcfc_threshold, P_WAERS : waers

CREATE VIEW P_SUPPLIERINVOICEEURAMT AS
SELECT
  SupplierInvoice,
  PurchaseOrder,
  AccountingDocumentNumber,
  FiscalYear,
  PostingDate,
  Currency,
  $parameters.P_WAERS AS ReportingCurrency
FROM P_SUPPLIERINVOICEREFPO
;