I_SupplierPurchasingData
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)
| Source | Alias | Join Type |
|---|---|---|
| lfm2 | lfm2 | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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