I_PurchasingInfoRecord
Purchasing Info Record
I_PurchasingInfoRecord is a Basic CDS View that provides data about "Purchasing Info Record" in SAP S/4HANA. It reads from 1 data source (eina) and exposes 45 fields with key field PurchasingInfoRecord. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| eina | eina | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_PurgInfoRecdOrgPlantData | _PurgInfoRecdOrgPlantData | $projection.PurchasingInfoRecord = _PurgInfoRecdOrgPlantData.PurchasingInfoRecord |
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [1..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [1..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.BaseUnit = _BaseUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _PurgDocOrderQuantityUnit | $projection.PurgDocOrderQuantityUnit = _PurgDocOrderQuantityUnit.UnitOfMeasure |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Purchasing Info Record | view | |
| AbapCatalog.sqlViewName | IPURINFREC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | PurchasingInfoRecord | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| AbapCatalog.preserveKey | true | view |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingInfoRecord | infnr | Info Record | |
| Supplier | lifnr | Vendor no. | ||
| Material | matnr | Vehicle Model | ||
| MaterialGroup | matkl | Product Sold Group | ||
| CreationDate | erdat | Entered On | ||
| IsDeleted | loekz | Status | ||
| CreatedByUser | ernam | User Name | ||
| PurchasingInfoRecordDesc | txz01 | Text | ||
| PurgInfoRecNonStockItmSortTerm | sortl | Sort Term | ||
| PurgDocOrderQuantityUnit | meins | Valuation Unit | ||
| OrderItemQtyToBaseQtyNmrtr | umrez | Numerator | ||
| OrderItemQtyToBaseQtyDnmntr | umren | Denominator | ||
| SupplierMaterialNumber | idnlf | Vendor Material | ||
| SupplierRespSalesPersonName | verkf | Salesperson | ||
| SupplierPhoneNumber | telf1 | Telephone no. | ||
| BaseUnit | lmein | Base Unit | ||
| SupplierMaterialGroup | wglif | Suppl. Mat. Grp | ||
| PriorSupplier | kolif | Prior Supplier | ||
| AvailabilityStartDate | lifab | Available from | ||
| AvailabilityEndDate | lifbi | Available to | ||
| VarblPurOrdUnitIsActive | vabme | Var. Order Unit | ||
| Manufacturer | mfrnr | Manufacturer | ||
| IsRegularSupplier | relif | Reg. Supplier | ||
| SupplierSubrange | ltsnr | Suppl. Subrange | ||
| NoDaysReminder1 | mahn1 | 1st Rem./Exped. | ||
| NoDaysReminder2 | mahn2 | 2nd Rem./Exped. | ||
| NoDaysReminder3 | mahn3 | 3rd Rem./Exped. | ||
| ProductPurchasePointsQty | anzpu | Points | ||
| ProductPurchasePointsQtyUnit | punei | Points Unit | ||
| ReturnAgreement | rueck | Return Agmt | ||
| SupplierCertOriginCat | urztp | Certif. Cat. | ||
| SupplierCertOriginNumber | urznr | Certificate | ||
| SupplierCertValidityEndDate | urzdt | Valid to | ||
| SupplierCertOriginCountry | urzla | C/R. of Origin | ||
| SupplierCertOriginRegion | regio | Resident Region | ||
| SuplrCertOriginClassfctnNumber | urzzt | Number | ||
| SupplierSubrangeSortNumber | ltssf | SSR Sort No. | ||
| LastChangeDateTime | lastchangedatetime | Timestamp | ||
| IsEndOfPurposeBlocked | eina | iseopblocked | Business Usage Comp. | |
| _PurgInfoRecdOrgPlantData | _PurgInfoRecdOrgPlantData | |||
| _Material | _Material | |||
| _MaterialGroup | _MaterialGroup | |||
| _Supplier | _Supplier | |||
| _BaseUnit | _BaseUnit | |||
| _PurgDocOrderQuantityUnit | _PurgDocOrderQuantityUnit |
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_PurchasingInfoRecord.
-- 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: IPURINFREC
CREATE VIEW I_PurchasingInfoRecord AS
SELECT
infnr AS PurchasingInfoRecord,
lifnr AS Supplier,
matnr AS Material,
matkl AS MaterialGroup,
erdat AS CreationDate,
loekz AS IsDeleted,
ernam AS CreatedByUser,
txz01 AS PurchasingInfoRecordDesc,
sortl AS PurgInfoRecNonStockItmSortTerm,
meins AS PurgDocOrderQuantityUnit,
umrez AS OrderItemQtyToBaseQtyNmrtr,
umren AS OrderItemQtyToBaseQtyDnmntr,
idnlf AS SupplierMaterialNumber,
verkf AS SupplierRespSalesPersonName,
telf1 AS SupplierPhoneNumber,
lmein AS BaseUnit,
wglif AS SupplierMaterialGroup,
kolif AS PriorSupplier,
lifab AS AvailabilityStartDate,
lifbi AS AvailabilityEndDate,
vabme AS VarblPurOrdUnitIsActive,
mfrnr AS Manufacturer,
relif AS IsRegularSupplier,
ltsnr AS SupplierSubrange,
mahn1 AS NoDaysReminder1,
mahn2 AS NoDaysReminder2,
mahn3 AS NoDaysReminder3,
anzpu AS ProductPurchasePointsQty,
punei AS ProductPurchasePointsQtyUnit,
rueck AS ReturnAgreement,
urztp AS SupplierCertOriginCat,
urznr AS SupplierCertOriginNumber,
urzdt AS SupplierCertValidityEndDate,
urzla AS SupplierCertOriginCountry,
regio AS SupplierCertOriginRegion,
urzzt AS SuplrCertOriginClassfctnNumber,
ltssf AS SupplierSubrangeSortNumber,
LastChangeDateTime,
eina.iseopblocked AS IsEndOfPurposeBlocked
FROM eina
LEFT OUTER JOIN I_PurgInfoRecdOrgPlantData AS _PurgInfoRecdOrgPlantData ON PurchasingInfoRecord = _PurgInfoRecdOrgPlantData.PurchasingInfoRecord -- association [1..*]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [1..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _PurgDocOrderQuantityUnit ON PurgDocOrderQuantityUnit = _PurgDocOrderQuantityUnit.UnitOfMeasure -- 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