I_PurchasingInfoRecord

DDL: I_PURCHASINGINFORECORD SQL: IPURINFREC Type: view BASIC

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)

SourceAliasJoin Type
eina eina from

Associations (6)

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

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

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