I_SuplrCsgnmtPplineWithdrawal
Consignment and Pipeline Withdrawal of Supplier
I_SuplrCsgnmtPplineWithdrawal is a Basic CDS View that provides data about "Consignment and Pipeline Withdrawal of Supplier" in SAP S/4HANA. It reads from 1 data source (rkwa) and exposes 26 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| rkwa | rkwa | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SupplierCompany | _SupplierCompany | $projection.ConsignmentPipelineSupplier = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode |
| [0..1] | I_Currency | _Currency | $projection.DocumentCurrency = _Currency.Currency |
| [0..1] | I_UnitOfMeasure | _UoM | $projection.SupCsgnmtPplineWthdrwlQtyUnit = _UoM.UnitOfMeasure |
| [0..*] | I_SupCsgnmtPplineInvcHist | _SupplierInvoiceHistory | $projection.MaterialDocument = _SupplierInvoiceHistory.MaterialDocument and $projection.MaterialDocumentYear = _SupplierInvoiceHistory.MaterialDocumentYear and $projection.MaterialDocumentItem = _SupplierInvoiceHistory.MaterialDocumentItem |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISUPLRCSGPPLWDR | 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 Withdrawal of Supplier | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocument | mblnr | Material Doc. | |
| KEY | MaterialDocumentYear | mjahr | Mat. Doc. Year | |
| KEY | MaterialDocumentItem | zeile | Mat. Doc.Item | |
| SuplrCsgnmtPplineWthdrwlStatus | status | Workflow Status | ||
| DocumentDate | bldat | Journal Entry Date | ||
| PostingDate | budat | Posting Date | ||
| CompanyCode | bukrs | Value | ||
| IssgOrRcvgStkIdfgSpclStkType | sobkz | Special Stock | ||
| ConsignmentPipelineSupplier | lifnr | Vendor no. | ||
| Plant | werks | Receiving Plant | ||
| Material | matnr | Vehicle Model | ||
| DebitCreditCode | shkzg | Returns | ||
| BusinessArea | gsber | Business Area | ||
| DocumentCurrency | bwaer | Ref.currency | ||
| SuplrCsgnmtPplineWthdrwlAmount | wrbtr | Gross Amount | ||
| SupCsgnmtPplineWthdrwlQtyUnit | bstme | Unit.Order | ||
| SuplrCsgnmtPplineWthdrwlQty | bstmg | Quantity withdrawn for settlement | ||
| GLAccount | hkont | Transfer acct | ||
| TaxCode | mwskz | Tax Code | ||
| NonDeductibleInputTaxAmount | navnw | Non-deductible | ||
| ProfitCenter | prctr | Profit Centers | ||
| TaxCountry | tax_country | Tax Ctry/Rgn | ||
| _SupplierCompany | _SupplierCompany | |||
| _Currency | _Currency | |||
| _UoM | _UoM | |||
| _SupplierInvoiceHistory | _SupplierInvoiceHistory |
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_SuplrCsgnmtPplineWithdrawal.
-- 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: ISUPLRCSGPPLWDR
CREATE VIEW I_SuplrCsgnmtPplineWithdrawal AS
SELECT
mblnr AS MaterialDocument,
mjahr AS MaterialDocumentYear,
zeile AS MaterialDocumentItem,
status AS SuplrCsgnmtPplineWthdrwlStatus,
bldat AS DocumentDate,
budat AS PostingDate,
bukrs AS CompanyCode,
sobkz AS IssgOrRcvgStkIdfgSpclStkType,
lifnr AS ConsignmentPipelineSupplier,
werks AS Plant,
matnr AS Material,
shkzg AS DebitCreditCode,
gsber AS BusinessArea,
bwaer AS DocumentCurrency,
wrbtr AS SuplrCsgnmtPplineWthdrwlAmount,
bstme AS SupCsgnmtPplineWthdrwlQtyUnit,
bstmg AS SuplrCsgnmtPplineWthdrwlQty,
hkont AS GLAccount,
mwskz AS TaxCode,
navnw AS NonDeductibleInputTaxAmount,
prctr AS ProfitCenter,
tax_country AS TaxCountry
FROM rkwa
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]
LEFT OUTER JOIN I_UnitOfMeasure AS _UoM ON SupCsgnmtPplineWthdrwlQtyUnit = _UoM.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_SupCsgnmtPplineInvcHist AS _SupplierInvoiceHistory ON MaterialDocument = _SupplierInvoiceHistory.MaterialDocument AND MaterialDocumentYear = _SupplierInvoiceHistory.MaterialDocumentYear AND MaterialDocumentItem = _SupplierInvoiceHistory.MaterialDocumentItem -- association [0..*]
;
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