I_SupplierPurchasingData

DDL: I_SUPPLIERPURCHASINGDATA Type: view_entity BASIC Package: MDC_SUPPL_GOV_BO

Supplier Purchasing Data

I_SupplierPurchasingData is a Basic CDS View that provides data about "Supplier Purchasing Data" in SAP S/4HANA. It reads from 1 data source (lfm2) and exposes 46 fields with key fields Supplier, PurchasingOrganization, SupplierSubrange, Plant. It has 4 associations to related views. Part of development package MDC_SUPPL_GOV_BO.

Data Sources (1)

SourceAliasJoin Type
lfm2 lfm2 from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_SupplierPurchasingOrg _SupplierPurchasingOrg $projection.Supplier = _SupplierPurchasingOrg.Supplier and $projection.PurchasingOrganization = _SupplierPurchasingOrg.PurchasingOrganization
[1..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_SupplierSubrange _SupplierSubrange $projection.Supplier = _SupplierSubrange.Supplier and $projection.SupplierSubrange = _SupplierSubrange.SupplierSubrange
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Supplier Purchasing Data view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey PurchasingOrganization view
VDM.viewType #BASIC view

Fields (46)

KeyFieldSource TableSource FieldDescription
KEY Supplier lifnr Vendor no.
KEY PurchasingOrganization ekorg Purchasing Org.
KEY SupplierSubrange ltsnr Suppl. Subrange
KEY Plant werks Receiving Plant
PurchasingIsBlockedForSupplier sperm Purch. block
DeletionIndicator loevm End Contract
SupplierABCClassificationCode lfabc ABC indicator
PurchaseOrderCurrency waers Transaction Currency
SupplierRespSalesPersonName verkf Salesperson
MinimumOrderAmount minbw Minimum value
PaymentTerms zterm Terms of Payment
IncotermsClassification inco1 Incoterms
IncotermsTransferLocation inco2 Incoterms 2
InvoiceIsGoodsReceiptBased webre GR-Based IV
IsOrderAcknRqd kzabs Acknowl. Reqd.
CalculationSchemaGroupCode kalsk Schema Grp Supp
PurOrdAutoGenerationIsAllowed kzaut Automatic PO
IntrastatCrsBorderTrMode expvz Mode of Trans.
PurgOutlineAgrmtCustomsOffice zolla Customs office
PricingDateControl meprf Pr. Date Cat.
PurchasingGroup ekgrp Sub. purchasing grp
EvaldReceiptSettlementIsActive xersy Eval. Rcpt Settlmnt
PlannedDeliveryDurationInDays plifz Plnd Deliv.Time
MRPPlanningCalendar mrppp Planning cal.
PlanningCycle lfrhy Planning Cycle
OrderEntryIsBySupplier libes PO entry: supp.
PriceMarkingAgreement lipre Price mkg. sup.
SupplierIsRackJobbing liser Rack jobbing
IncotermsVersion incov Inco. Version
IncotermsLocation1 inco2_l Inco. Location1
IncotermsLocation2 inco3_l Inco. Location2
MRPResponsible dispo MRP Controller
SupplierConfirmationControlKey bstae Conf. Control
RoundingProfile rdprf Rounding Prfl.
ProductUnitGroup megru UoM Group
AutomaticEvaluatedRcptSettlmt xersr Aut. GRSet Ret
ProdStockAndSlsDataTransfPrfl paprf PROACT control prof
SuplrInvcRevalIsAllowed xnbwy Revaluation
InvoiceIsMMServiceEntryBased lebre Srv.-Based Inv. Ver.
SuplrIsSubjToSubsqntSettlement bolre Subseq. Settlmt
SuplrPurgOrgAgrmtOfBusVolIsRqd umsae BVComp FinSettl
SupplierPhoneNumber telf1 Telephone no.
_SupplierPurchasingOrg _SupplierPurchasingOrg
_Supplier _Supplier
_SupplierSubrange _SupplierSubrange
_Plant _Plant

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_SupplierPurchasingData.
-- 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.

CREATE VIEW I_SupplierPurchasingData AS
SELECT
  lifnr AS Supplier,
  ekorg AS PurchasingOrganization,
  ltsnr AS SupplierSubrange,
  werks AS Plant,
  sperm AS PurchasingIsBlockedForSupplier,
  loevm AS DeletionIndicator,
  lfabc AS SupplierABCClassificationCode,
  waers AS PurchaseOrderCurrency,
  verkf AS SupplierRespSalesPersonName,
  minbw AS MinimumOrderAmount,
  zterm AS PaymentTerms,
  inco1 AS IncotermsClassification,
  inco2 AS IncotermsTransferLocation,
  webre AS InvoiceIsGoodsReceiptBased,
  kzabs AS IsOrderAcknRqd,
  kalsk AS CalculationSchemaGroupCode,
  kzaut AS PurOrdAutoGenerationIsAllowed,
  expvz AS IntrastatCrsBorderTrMode,
  zolla AS PurgOutlineAgrmtCustomsOffice,
  meprf AS PricingDateControl,
  ekgrp AS PurchasingGroup,
  xersy AS EvaldReceiptSettlementIsActive,
  plifz AS PlannedDeliveryDurationInDays,
  mrppp AS MRPPlanningCalendar,
  lfrhy AS PlanningCycle,
  libes AS OrderEntryIsBySupplier,
  lipre AS PriceMarkingAgreement,
  liser AS SupplierIsRackJobbing,
  incov AS IncotermsVersion,
  inco2_l AS IncotermsLocation1,
  inco3_l AS IncotermsLocation2,
  dispo AS MRPResponsible,
  bstae AS SupplierConfirmationControlKey,
  rdprf AS RoundingProfile,
  megru AS ProductUnitGroup,
  xersr AS AutomaticEvaluatedRcptSettlmt,
  paprf AS ProdStockAndSlsDataTransfPrfl,
  xnbwy AS SuplrInvcRevalIsAllowed,
  lebre AS InvoiceIsMMServiceEntryBased,
  bolre AS SuplrIsSubjToSubsqntSettlement,
  umsae AS SuplrPurgOrgAgrmtOfBusVolIsRqd,
  telf1 AS SupplierPhoneNumber
FROM lfm2
LEFT OUTER JOIN I_SupplierPurchasingOrg AS _SupplierPurchasingOrg ON Supplier = _SupplierPurchasingOrg.Supplier AND PurchasingOrganization = _SupplierPurchasingOrg.PurchasingOrganization  -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [1..1]
LEFT OUTER JOIN I_SupplierSubrange AS _SupplierSubrange ON Supplier = _SupplierSubrange.Supplier AND SupplierSubrange = _SupplierSubrange.SupplierSubrange  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
;