I_SupplierInvoiceBlockAPI01

DDL: I_SUPPLIERINVOICEBLOCKAPI01 SQL: ISUPINVBLOCKAPI Type: view BASIC

Supplier Invoice Block Logistics

I_SupplierInvoiceBlockAPI01 (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_SupplierInvoiceBlockAPI01 is a Basic CDS View that provides data about "Supplier Invoice Block Logistics" in SAP S/4HANA. It reads from 1 data source (I_SupplierInvoiceBlock) and exposes 10 fields with key fields PaymentBlockingReason, CompanyCode, FiscalYear, InvoicingParty, SupplierInvoice. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Invoice Processing
Purpose
This CDS view provides a list of all supplier invoices which are blocked for payment on the logistics side. This CDS view provides the data to answer the following business questions: Which supplier invoice is blocked for payment? What are the payment blocking reasons for a supplier invoice? When is the net due date for payment of this supplier invoice with payment block? 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 (Invoices: Company Code)

Structure
Parameters The parameters of the CDS view are as follows: PaymentBlockingReason CompanyCode used to specify the company code FiscalYear used to specify the fiscal year InvoicingParty used to specify the invoicing party SupplierInvoice used to specify the supplier invoices CreatedByUser used to specify the user who created the supplier invoice PostingDate used to specify the posting date PurchasingGroup used to specify the Purchasing Group with in the purchase order item reference NetDueDate used to specify the net due date for payment

Constraints
This CDS view does not provide any information about the payment status of the journal entry related to the supplier invoice. The payment status in the journal entry can differ from the payment status of the logistical supplier invoice.

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 a list of all supplier invoices which are blocked for payment on the logistics side. This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which supplier invoice is blocked for payment?</p></li> <li><p>What are the payment blocking reasons for a supplier invoice?</p></li> <li><p>When is the net due date for payment of this supplier invoice with payment block?</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_SupplierInvoiceBlock I_SupplierInvoiceBlock 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 ISUPINVBLOCKAPI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Supplier Invoice Block Logistics 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
AbapCatalog.preserveKey true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PaymentBlockingReason I_SupplierInvoiceBlock PaymentBlockingReason Logistics payment block
KEY CompanyCode I_SupplierInvoiceBlock CompanyCode Receiver Company Code
KEY FiscalYear I_SupplierInvoiceBlock FiscalYear G/L Fiscal Year
KEY InvoicingParty I_SupplierInvoiceBlock InvoicingParty Account Number of Supplier
KEY SupplierInvoice I_SupplierInvoiceBlock SupplierInvoice Document Number of an Invoice Document
KEY CreatedByUser I_SupplierInvoiceBlock CreatedByUser User Name
KEY PostingDate I_SupplierInvoiceBlock PostingDate Posting Date in the Document
KEY PurchasingGroup I_SupplierInvoiceBlock PurchasingGroup Purchasing Group
KEY NetDueDate I_SupplierInvoiceBlock NetDueDate Due date of an invoice
_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_SupplierInvoiceBlockAPI01.
-- 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: ISUPINVBLOCKAPI

CREATE VIEW I_SupplierInvoiceBlockAPI01 AS
SELECT
  I_SupplierInvoiceBlock.PaymentBlockingReason AS PaymentBlockingReason,
  I_SupplierInvoiceBlock.CompanyCode AS CompanyCode,
  I_SupplierInvoiceBlock.FiscalYear AS FiscalYear,
  I_SupplierInvoiceBlock.InvoicingParty AS InvoicingParty,
  I_SupplierInvoiceBlock.SupplierInvoice AS SupplierInvoice,
  I_SupplierInvoiceBlock.CreatedByUser AS CreatedByUser,
  I_SupplierInvoiceBlock.PostingDate AS PostingDate,
  I_SupplierInvoiceBlock.PurchasingGroup AS PurchasingGroup,
  I_SupplierInvoiceBlock.NetDueDate AS NetDueDate
FROM I_SupplierInvoiceBlock
LEFT OUTER JOIN I_SupplierInvoiceAPI01 AS _SupplierInvoiceAPI01 ON SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice AND FiscalYear = _SupplierInvoiceAPI01.FiscalYear  -- association [1..1]
;