I_MRPPurchasingInfoRecord
Basic InfoRecords for SOS
I_MRPPurchasingInfoRecord is a Basic CDS View that provides data about "Basic InfoRecords for SOS" in SAP S/4HANA. It reads from 3 data sources (eina, eine, eine) and exposes 47 fields.
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMRPPURGINFOREC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Basic InfoRecords for SOS | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ManufacturerMaterial | eina | matnr | Vehicle Model | |
| Material | mara | matnr | Int. material no. | |
| Plant | t024w | werks | Receiving Plant | |
| ValidityStartDate | eina | lifab | Available from | |
| lifbiendasValidityEndDate | ||||
| PreferredSupplier | eina | lifnr | Vendor no. | |
| umren3endendasMaterialMinLotSizeQuantity | ||||
| umren3endendasMaterialMaxLotSizeQuantity | ||||
| IsRelevantForAutomSrcg | eine | aut_source | Auto. Sourcing | |
| PurgDocNetPriceAmount | eine | netpr | Price | |
| PurgDocTransactionCurrency | eine | waers | Transaction Currency | |
| PurgDocNetPriceQuantity | eine | peinh | Unit of measure | |
| ActivePurchasingInfoRecord | eina | infnr | Info Record | |
| PurchasingOrganization | eine | ekorg | Purchasing Org. | |
| PurchasingInfoRecordCategory | eine | esokz | Infotype | |
| PurchasingGroup | eine | ekgrp | Sub. purchasing grp | |
| GoodsReceiptDuration | marc | webaz | GR Proc. Time | |
| PlannedDeliveryDuration | eine | aplfz | Pl. Deliv. Time | |
| ProductionVersion | eine | verid | Version ID | |
| RoundingProfile | eine | rdprf | Rounding Prfl. | |
| werkswhenthenelseXendasPurgDocHasPlant | ||||
| ProductVariantGroup | eina | matkl | Product Sold Group | |
| PurgDocHasRefPurchasingOrg | ||||
| matnrasManufacturerMaterial | ||||
| Material | mara | bmatn | Int. material no. | |
| Plant | t024w | werks | Receiving Plant | |
| ValidityStartDate | eina | lifab | Available from | |
| lifbiendasValidityEndDate | ||||
| PreferredSupplier | eina | lifnr | Vendor no. | |
| umren3endendasMaterialMinLotSizeQuantity | ||||
| umren3endendasMaterialMaxLotSizeQuantity | ||||
| IsRelevantForAutomSrcg | eine | aut_source | Auto. Sourcing | |
| PurgDocNetPriceAmount | eine | netpr | Price | |
| PurgDocTransactionCurrency | eine | waers | Transaction Currency | |
| PurgDocNetPriceQuantity | eine | peinh | Unit of measure | |
| ActivePurchasingInfoRecord | eina | infnr | Info Record | |
| PurchasingOrganization | eine | ekorg | Purchasing Org. | |
| PurchasingInfoRecordCategory | eine | esokz | Infotype | |
| PurchasingGroup | eine | ekgrp | Sub. purchasing grp | |
| GoodsReceiptDuration | marc | webaz | GR Proc. Time | |
| PlannedDeliveryDuration | eine | aplfz | Pl. Deliv. Time | |
| ProductionVersion | eine | verid | Version ID | |
| RoundingProfile | eine | rdprf | Rounding Prfl. | |
| werkswhenthenelseXendasPurgDocHasPlant | ||||
| ProductVariantGroup | eina | matkl | Product Sold Group | |
| PurgDocHasRefPurchasingOrg | ||||
| ManufacturerPartProfile | mara | mprof | Mfr Part Profile |
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_MRPPurchasingInfoRecord.
-- 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: IMRPPURGINFOREC
CREATE VIEW I_MRPPurchasingInfoRecord AS
SELECT
eina.matnr AS ManufacturerMaterial,
mara.matnr AS Material,
t024w.werks AS Plant,
eina.lifab AS ValidityStartDate,
case eina.lifbi when '00000000' then '99991231' else eina.lifbi end as ValidityEndDate AS lifbiendasValidityEndDate,
eina.lifnr AS PreferredSupplier,
case eine.minbm when 0 then eine.minbm else case eina.umren when 0 then eine.minbm else division((eine.minbm * eina.umrez), eina.umren, 3) end end as MaterialMinLotSizeQuantity AS umren3endendasMaterialMinLotSizeQuantity,
case eine.bstma when 0 then cast('9999999999' as abap.dec(13,3)) else case eina.umren when 0 then eine.bstma else division((eine.bstma * eina.umrez), eina.umren, 3) end end as MaterialMaxLotSizeQuantity AS umren3endendasMaterialMaxLotSizeQuantity,
eine.aut_source AS IsRelevantForAutomSrcg,
eine.netpr AS PurgDocNetPriceAmount,
eine.waers AS PurgDocTransactionCurrency,
eine.peinh AS PurgDocNetPriceQuantity,
eina.infnr AS ActivePurchasingInfoRecord,
eine.ekorg AS PurchasingOrganization,
eine.esokz AS PurchasingInfoRecordCategory,
eine.ekgrp AS PurchasingGroup,
marc.webaz AS GoodsReceiptDuration,
eine.aplfz AS PlannedDeliveryDuration,
eine.verid AS ProductionVersion,
eine.rdprf AS RoundingProfile,
case eine.werks when '' then '' else 'X' end as PurgDocHasPlant AS werkswhenthenelseXendasPurgDocHasPlant,
eina.matkl AS ProductVariantGroup,
'' AS PurgDocHasRefPurchasingOrg,
mara.mprof as ManufacturerPartProfile AS matnrasManufacturerMaterial,
mara.mprof AS ManufacturerPartProfile
FROM eina
INNER JOIN eine ON /* join condition not captured in parsed metadata */
;
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