I_SuplrInvcSeldDelivNoteAPI01

DDL: I_SUPLRINVCSELDDELIVNOTEAPI01 SQL: ISISELDELNOTAPI Type: view BASIC Package: VDM_MM_IV_SI_API

Delivery Note Ref for Supplier Invoice

I_SuplrInvcSeldDelivNoteAPI01 is a Basic CDS View that provides data about "Delivery Note Ref for Supplier Invoice" in SAP S/4HANA. It reads from 1 data source (I_SuplrInvcSeldInbDeliveryNote) and exposes 4 fields with key fields SupplierInvoice, FiscalYear, InboundDeliveryNote. It has 1 association to related views. Part of development package VDM_MM_IV_SI_API.

SAP Help Documentation

CategoryCDS Views for Invoice Processing
Purpose
This CDS view provides the list of referenced delivery notes if an invoice is not yet posted. This CDS view provides the data to answer the following business questions: How many manually entered references exist in case an invoice is not yet posted (but, for example, parked or held)? How many manually entered references exist for a given delivery note for which an invoice has not yet been posted? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: SAP_MM_BC_INV_PROCESS_PC : Accounts Payable - Supplier Invoices Users who want to use this CDS view must have a role that includes authorization based on at least one of the business catalogs listed above. In this role, the following restriction types must be set to read access: M_RECH_BUK You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Parameters The main parameters of the CDS view are as follows: SupplierInvoice : This parameter is used to specify the supplier invoice. FiscalYear : This parameter is used to specify the fiscal year. InboundDeliveryNote : This parameter is used to specify the delivery note.

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
I_SuplrInvcSeldInbDeliveryNote I_SuplrInvcSeldInbDeliveryNote from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_SupplierInvoiceAPI01 _SupplierInvoiceAPI01 $projection.SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice and $projection.FiscalYear = _SupplierInvoiceAPI01.FiscalYear

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ISISELDELNOTAPI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Delivery Note Ref for Supplier Invoice view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #NONE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice I_SuplrInvcSeldInbDeliveryNote SupplierInvoice SD Document
KEY FiscalYear I_SuplrInvcSeldInbDeliveryNote FiscalYear G/L Fiscal Year
KEY InboundDeliveryNote I_SuplrInvcSeldInbDeliveryNote InboundDeliveryNote Reference
_SupplierInvoiceAPI01 _SupplierInvoiceAPI01

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_SuplrInvcSeldDelivNoteAPI01.
-- 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: ISISELDELNOTAPI

CREATE VIEW I_SuplrInvcSeldDelivNoteAPI01 AS
SELECT
  I_SuplrInvcSeldInbDeliveryNote.SupplierInvoice AS SupplierInvoice,
  I_SuplrInvcSeldInbDeliveryNote.FiscalYear AS FiscalYear,
  I_SuplrInvcSeldInbDeliveryNote.InboundDeliveryNote AS InboundDeliveryNote
FROM I_SuplrInvcSeldInbDeliveryNote
LEFT OUTER JOIN I_SupplierInvoiceAPI01 AS _SupplierInvoiceAPI01 ON SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice AND FiscalYear = _SupplierInvoiceAPI01.FiscalYear  -- association [1..1]
;