I_SupCsgnmtPplineWthdrwlAPI01
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
| Category | CDS Views for Invoice Processing |
|---|
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.
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Sourcing & Procurement |
| Application Component | MM-IV-LIV-2CL |
| Capabilities | Data 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 |
| Package | Sourcing 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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SuplrCsgnmtPplineWithdrawal | I_SuplrCsgnmtPplineWithdrawal | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA