I_SuplrInvcSeldDelivNoteAPI01

DDL: I_SUPLRINVCSELDDELIVNOTEAPI01 SQL: ISISELDELNOTAPI Type: view BASIC

Delivery Note Ref for Supplier Invoice

I_SuplrInvcSeldDelivNoteAPI01 (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

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.

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 Users who want to use this CDS view must have the following authorization objects assigned: M_RECH_BUK

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 →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-IV-LIV
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the list of referenced delivery notes if an invoice is not yet posted.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>How many manually entered references exist in case an invoice is not yet posted (but, for example, parked or held)?</p></li> <li><p>How many manually entered references exist for a given delivery note for which an invoice has not yet been posted?</p></li> </ul> <p>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.</p>

Documentation

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 (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ISISELDELNOTAPI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey 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 Document Number of an Accounting Document
KEY FiscalYear I_SuplrInvcSeldInbDeliveryNote FiscalYear G/L Fiscal Year
KEY InboundDeliveryNote I_SuplrInvcSeldInbDeliveryNote InboundDeliveryNote Number of External Delivery Note
_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]
;