I_SupCsgnmtPplineInvcHistAPI01

DDL: I_SUPCSGNMTPPLINEINVCHISTAPI01 SQL: ISUPCSGINVHIST01 Type: view COMPOSITE Package: VDM_MM_IV_CONSIGNMENT

Consignment and Pipeline History of Supplier Invoice

I_SupCsgnmtPplineInvcHistAPI01 (Composite)

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

SupplierInvoiceItemConsignment · Sourcing & Procurement

I_SupCsgnmtPplineInvcHistAPI01 is a Composite CDS View that provides data about "Consignment and Pipeline History of Supplier Invoice" in SAP S/4HANA. It reads from 1 data source (I_SupCsgnmtPplineInvcHist) and exposes 7 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem, SupplierInvoice, FiscalYear. It has 1 association to related views. Part of development package VDM_MM_IV_CONSIGNMENT.

SAP API Hub

CategoryComposite
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 information about the created supplier invoice and supplier invoices items that settled a consignment and pipeline withdrawal. </p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>Which consignment and pipeline withdrawals have been settled via the creation of a supplier invoice?</p> </li> <li> <p>Which supplier invoices were created in the consignment and pipeline settlement process?</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_SupCsgnmtPplineInvcHist I_SupCsgnmtPplineInvcHist from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_SupCsgnmtPplineWthdrwlAPI01 _SupCsgnmtPplineWthdrwlAPI01 $projection.MaterialDocument = _SupCsgnmtPplineWthdrwlAPI01.MaterialDocument and $projection.MaterialDocumentYear = _SupCsgnmtPplineWthdrwlAPI01.MaterialDocumentYear and $projection.MaterialDocumentItem = _SupCsgnmtPplineWthdrwlAPI01.MaterialDocumentItem

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ISUPCSGINVHIST01 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Consignment and Pipeline History of Supplier Invoice view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #NONE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.sapObjectNodeType.name SupplierInvoiceItemConsignment view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocument MaterialDocument Number of Material Document
KEY MaterialDocumentYear MaterialDocumentYear Material Document Year
KEY MaterialDocumentItem MaterialDocumentItem Item in Material Document
KEY SupplierInvoice SupplierInvoice Document Number of an Accounting Document
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY SupplierInvoiceItem SupplierInvoiceItem Document Item in Invoice Document
_SupCsgnmtPplineWthdrwlAPI01 _SupCsgnmtPplineWthdrwlAPI01

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_SupCsgnmtPplineInvcHistAPI01.
-- 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: ISUPCSGINVHIST01

CREATE VIEW I_SupCsgnmtPplineInvcHistAPI01 AS
SELECT
  MaterialDocument,
  MaterialDocumentYear,
  MaterialDocumentItem,
  SupplierInvoice,
  FiscalYear,
  SupplierInvoiceItem
FROM I_SupCsgnmtPplineInvcHist
LEFT OUTER JOIN I_SupCsgnmtPplineWthdrwlAPI01 AS _SupCsgnmtPplineWthdrwlAPI01 ON MaterialDocument = _SupCsgnmtPplineWthdrwlAPI01.MaterialDocument AND MaterialDocumentYear = _SupCsgnmtPplineWthdrwlAPI01.MaterialDocumentYear AND MaterialDocumentItem = _SupCsgnmtPplineWthdrwlAPI01.MaterialDocumentItem  -- association [1..1]
;