I_SuplrInvcSeldInbBOLAPI01

DDL: I_SUPLRINVCSELDINBBOLAPI01 SQL: ISISELBOLAPI Type: view BASIC Package: VDM_MM_IV_SI_API

Bill of Lading Ref for Supplier Invoice

I_SuplrInvcSeldInbBOLAPI01 (Basic)

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

Sourcing & Procurement

I_SuplrInvcSeldInbBOLAPI01 is a Basic CDS View that provides data about "Bill of Lading Ref for Supplier Invoice" in SAP S/4HANA. It reads from 1 data source (I_SuplrInvcSeldInbBillOfLading) and exposes 4 fields with key fields SupplierInvoice, FiscalYear, InboundBillOfLading. 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 bill of ladings 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 bill of lading 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 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. InboundBillOfLading : This parameter is used to specify the bill of lading.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-IV-LIV-2CL
CapabilitiesData Source for Defining CDS Entities,Data Source in SQL Select
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageSourcing and Procurement for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides the list of referenced bill of ladings for supplier invoices.</p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>How many invoices are referenced to bill of ladings?</p> </li> <li> <p>How many invoices with reference to bill of ladings were created last year?</p> </li> <li> <p>Business question</p> </li> <li> <p>...</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_SuplrInvcSeldInbBillOfLading I_SuplrInvcSeldInbBillOfLading 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 ISISELBOLAPI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Bill of Lading 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_SuplrInvcSeldInbBillOfLading SupplierInvoice Document Number of an Accounting Document
KEY FiscalYear I_SuplrInvcSeldInbBillOfLading FiscalYear G/L Fiscal Year
KEY InboundBillOfLading I_SuplrInvcSeldInbBillOfLading InboundBillOfLading Number of Bill of Lading at Time of Goods Receipt
_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_SuplrInvcSeldInbBOLAPI01.
-- 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: ISISELBOLAPI

CREATE VIEW I_SuplrInvcSeldInbBOLAPI01 AS
SELECT
  I_SuplrInvcSeldInbBillOfLading.SupplierInvoice AS SupplierInvoice,
  I_SuplrInvcSeldInbBillOfLading.FiscalYear AS FiscalYear,
  I_SuplrInvcSeldInbBillOfLading.InboundBillOfLading AS InboundBillOfLading
FROM I_SuplrInvcSeldInbBillOfLading
LEFT OUTER JOIN I_SupplierInvoiceAPI01 AS _SupplierInvoiceAPI01 ON SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice AND FiscalYear = _SupplierInvoiceAPI01.FiscalYear  -- association [1..1]
;