I_SuplrInvcSeldDelivNoteAPI01
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
| Category | CDS 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.
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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SuplrInvcSeldInbDeliveryNote | I_SuplrInvcSeldInbDeliveryNote | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SupplierInvoiceAPI01 | _SupplierInvoiceAPI01 | $projection.SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice and $projection.FiscalYear = _SupplierInvoiceAPI01.FiscalYear |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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