I_SuplrCsgnmtPplineWithdrawal

DDL: I_SUPLRCSGNMTPPLINEWITHDRAWAL SQL: ISUPLRCSGPPLWDR Type: view BASIC

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)

SourceAliasJoin Type
rkwa rkwa from

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;