I_SupCsgnmtPplineWthdrwlAPI01

DDL: I_SUPCSGNMTPPLINEWTHDRWLAPI01 SQL: ISUPCSGPLWDAPI01 Type: view COMPOSITE Package: VDM_MM_IV_CONSIGNMENT

Consignment and Pipeline Withdrawal of Supplier

I_SupCsgnmtPplineWthdrwlAPI01 (Composite)

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

Sourcing & Procurement

I_SupCsgnmtPplineWthdrwlAPI01 is a Composite CDS View that provides data about "Consignment and Pipeline Withdrawal of Supplier" in SAP S/4HANA. It reads from 1 data source (I_SuplrCsgnmtPplineWithdrawal) and exposes 25 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem. It has 3 associations to related views. Part of development package VDM_MM_IV_CONSIGNMENT.

SAP Help Documentation

CategoryCDS Views for Invoice Processing
Purpose
This CDS view enables you to retrieve the consignment and pipeline data records of the supplier. This CDS view provides the data to answer the following business questions: How many data records exist in the system for logistics consignment and pipeline settlements with a specific status? For which suppliers were the data records for logistics consignment and pipeline settlement created last year? How many records were posted in the last 3 months? In which company codes were the data records created last year? 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 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: BUKRS ( Company Code ) WERKS ( Plant ) 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: MaterialDocument : This parameter (key) is used to to specify the number of the material document. MaterialDocumentYear : This parameter (key) is used to to specify the fiscal year. MaterialDocumentItem : This parameter (key) is used to specify the item in material document. SuplrCsgnmtPplineWthdrwlStatus : This parameter is used to specify the status for the settlement entry. DocumentDate : This parameter is used to specify the document date. PostingDate : This parameter is used to specify the posting date. CompanyCode : This parameter is used to specify the company code. IssgOrRcvgStkIdfgSpclStkType : This parameter is used to specify the special stock indicator. ConsignmentPipelineSupplier : This parameter is used to specify the supplier account number. Plant : This parameter is used to specify the plant. Material : This parameter is used to specify the material number. DebitCreditCode : This parameter is used to specify the debit/credit indicator. BusinessArea : This parameter is used to specify the business area. DocumentCurrency : This parameter is used to specify the currency key. SuplrCsgnmtPplineWthdrwlAmount : This parameter is used to specify the amount in document currency. SupCsgnmtPplineWthdrwlQtyUnit : This parameter is used to specify the unit of measure for settlement. SuplrCsgnmtPplineWthdrwlQty : This parameter is used to specify the quantity withdrawn for settlement. GLAccount : This parameter is used to specify the general ledger account. TaxCode : This parameter is used to specify the tax on sales/purchase code. NonDeductibleInputTaxAmount : This parameter is used to specify the non-deductible input tax amount. ProfitCenter : This parameter is used to specify the profit center. TaxCountry : This parameter is used to specify the tax reporting country/region.

View on SAP Help Portal →

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 enables you to retrieve the consignment and pipeline data records of the supplier.</p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>How many data records exist in the system for logistics consignment and pipeline settlements with a specific status?</p> </li> <li> <p>For which suppliers were the data records for logistics consignment and pipeline settlement created last year?</p> </li> <li> <p>How many records were posted in the last 3 months?</p> </li> <li> <p> In which company codes were the data records created last year?</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_SuplrCsgnmtPplineWithdrawal I_SuplrCsgnmtPplineWithdrawal from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_SupCsgnmtPplineInvcHistAPI01 _SupCsgnmtPplineInvcHistAPI01 $projection.MaterialDocument = _SupCsgnmtPplineInvcHistAPI01.MaterialDocument and $projection.MaterialDocumentYear = _SupCsgnmtPplineInvcHistAPI01.MaterialDocumentYear and $projection.MaterialDocumentItem = _SupCsgnmtPplineInvcHistAPI01.MaterialDocumentItem
[1..1] I_SupplierCompany _SupplierCompany $projection.ConsignmentPipelineSupplier = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode
[0..1] I_Currency _Currency $projection.DocumentCurrency = _Currency.Currency

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ISUPCSGPLWDAPI01 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Consignment and Pipeline Withdrawal of Supplier 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

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocument MaterialDocument Number of Material Document
KEY MaterialDocumentYear MaterialDocumentYear Material Document Year
KEY MaterialDocumentItem MaterialDocumentItem Item in Material Document
SuplrCsgnmtPplineWthdrwlStatus SuplrCsgnmtPplineWthdrwlStatus Status for RKWA entry
DocumentDate DocumentDate Document Date in Document
PostingDate PostingDate Posting Date in the Document
CompanyCode CompanyCode Receiver Company Code
IssgOrRcvgStkIdfgSpclStkType IssgOrRcvgStkIdfgSpclStkType Special Stock Indicator
ConsignmentPipelineSupplier ConsignmentPipelineSupplier Supplier's Account Number
Plant Plant Valuation Area
Material Material Material Number
DebitCreditCode DebitCreditCode Debit/Credit Indicator
BusinessArea BusinessArea Business Area
DocumentCurrency DocumentCurrency Document Currency
SuplrCsgnmtPplineWthdrwlAmount SuplrCsgnmtPplineWthdrwlAmount Amount in Document Currency
SupCsgnmtPplineWthdrwlQtyUnit SupCsgnmtPplineWthdrwlQtyUnit Unit of measure for settlement
SuplrCsgnmtPplineWthdrwlQty SuplrCsgnmtPplineWthdrwlQty Quantity withdrawn for settlement
GLAccount GLAccount General Ledger Account
TaxCode TaxCode Tax on Sales/Purchases Code
NonDeductibleInputTaxAmount NonDeductibleInputTaxAmount Non-deductible input tax
ProfitCenter ProfitCenter Profit Center
TaxCountry TaxCountry Tax Reporting Country/Region
_SupCsgnmtPplineInvcHistAPI01 _SupCsgnmtPplineInvcHistAPI01
_Currency _Currency
_SupplierCompany _SupplierCompany

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_SupCsgnmtPplineWthdrwlAPI01.
-- 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: ISUPCSGPLWDAPI01

CREATE VIEW I_SupCsgnmtPplineWthdrwlAPI01 AS
SELECT
  MaterialDocument,
  MaterialDocumentYear,
  MaterialDocumentItem,
  SuplrCsgnmtPplineWthdrwlStatus,
  DocumentDate,
  PostingDate,
  CompanyCode,
  IssgOrRcvgStkIdfgSpclStkType,
  ConsignmentPipelineSupplier,
  Plant,
  Material,
  DebitCreditCode,
  BusinessArea,
  DocumentCurrency,
  SuplrCsgnmtPplineWthdrwlAmount,
  SupCsgnmtPplineWthdrwlQtyUnit,
  SuplrCsgnmtPplineWthdrwlQty,
  GLAccount,
  TaxCode,
  NonDeductibleInputTaxAmount,
  ProfitCenter,
  TaxCountry
FROM I_SuplrCsgnmtPplineWithdrawal
LEFT OUTER JOIN I_SupCsgnmtPplineInvcHistAPI01 AS _SupCsgnmtPplineInvcHistAPI01 ON MaterialDocument = _SupCsgnmtPplineInvcHistAPI01.MaterialDocument AND MaterialDocumentYear = _SupCsgnmtPplineInvcHistAPI01.MaterialDocumentYear AND MaterialDocumentItem = _SupCsgnmtPplineInvcHistAPI01.MaterialDocumentItem  -- association [0..*]
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCompany ON ConsignmentPipelineSupplier = _SupplierCompany.Supplier AND CompanyCode = _SupplierCompany.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON DocumentCurrency = _Currency.Currency  -- association [0..1]
;