I_SuplrInvcSeldSESLeanAPI01

DDL: I_SUPLRINVCSELDSESLEANAPI01 SQL: ISISELSESLAPI Type: view BASIC

Service Entry Sheet Ref for Supplier Inv

I_SuplrInvcSeldSESLeanAPI01 (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_SuplrInvcSeldSESLeanAPI01 is a Basic CDS View that provides data about "Service Entry Sheet Ref for Supplier Inv" in SAP S/4HANA. It reads from 1 data source (I_SuplrInvcSeldSrvcEntrShtLean) and exposes 5 fields with key fields SupplierInvoice, FiscalYear, ServiceEntrySheet, ServiceEntrySheetItem. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Invoice Processing
Purpose
This CDS view provides the list of referenced service entry sheets 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 service entry sheet 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 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. ServiceEntrySheet : This parameter is used to specify the service entry sheet. ServiceEntrySheetItem : This parameter is used to specify the service entry sheet item.

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 service entry sheets 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 service entry sheet 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_SuplrInvcSeldSrvcEntrShtLean I_SuplrInvcSeldSrvcEntrShtLean 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 ISISELSESLAPI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Service Entry Sheet Ref for Supplier Inv 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 (5)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice I_SuplrInvcSeldSrvcEntrShtLean SupplierInvoice Document Number of an Accounting Document
KEY FiscalYear I_SuplrInvcSeldSrvcEntrShtLean FiscalYear G/L Fiscal Year
KEY ServiceEntrySheet I_SuplrInvcSeldSrvcEntrShtLean ServiceEntrySheet Service Entry Sheet
KEY ServiceEntrySheetItem I_SuplrInvcSeldSrvcEntrShtLean ServiceEntrySheetItem Item Number of Service Entry Sheet
_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_SuplrInvcSeldSESLeanAPI01.
-- 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: ISISELSESLAPI

CREATE VIEW I_SuplrInvcSeldSESLeanAPI01 AS
SELECT
  I_SuplrInvcSeldSrvcEntrShtLean.SupplierInvoice AS SupplierInvoice,
  I_SuplrInvcSeldSrvcEntrShtLean.FiscalYear AS FiscalYear,
  I_SuplrInvcSeldSrvcEntrShtLean.ServiceEntrySheet AS ServiceEntrySheet,
  I_SuplrInvcSeldSrvcEntrShtLean.ServiceEntrySheetItem AS ServiceEntrySheetItem
FROM I_SuplrInvcSeldSrvcEntrShtLean
LEFT OUTER JOIN I_SupplierInvoiceAPI01 AS _SupplierInvoiceAPI01 ON SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice AND FiscalYear = _SupplierInvoiceAPI01.FiscalYear  -- association [1..1]
;