A_PurchasingInfoRecord

DDL: A_PURCHASINGINFORECORD SQL: APURINFREC Type: view BASIC

Purchasing Info Record

A_PurchasingInfoRecord is a Basic CDS View that provides data about "Purchasing Info Record" in SAP S/4HANA. It reads from 1 data source (I_PurchasingInfoRecord) and exposes 33 fields with key field PurchasingInfoRecord. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingInfoRecord I_PurchasingInfoRecord from

Associations (2)

CardinalityTargetAliasCondition
[1..*] A_PurgInfoRecdOrgPlantData _PurgInfoRecdOrgPlantData $projection.PurchasingInfoRecord = _PurgInfoRecdOrgPlantData.PurchasingInfoRecord
[1..*] A_SupplierPurchasingOrg _SupplierPurchasingOrg $projection.Supplier = _SupplierPurchasingOrg.Supplier

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName APURINFREC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
EndUserText.label Purchasing Info Record view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey PurchasingInfoRecord view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY PurchasingInfoRecord PurchasingInfoRecord Info Record
Supplier Supplier Supplier
Material Material Vehicle Model
MaterialGroup MaterialGroup Product Group
CreationDate CreationDate Time Stamp
IsDeleted IsDeleted TRUE
PurchasingInfoRecordDesc PurchasingInfoRecordDesc Info Short Text
PurgInfoRecNonStockItmSortTerm PurgInfoRecNonStockItmSortTerm Sort Term
PurgDocOrderQuantityUnit PurgDocOrderQuantityUnit Purchasing Document Order Qty Unit
OrderItemQtyToBaseQtyNmrtr OrderItemQtyToBaseQtyNmrtr Equal To
OrderItemQtyToBaseQtyDnmntr OrderItemQtyToBaseQtyDnmntr Denominator
SupplierMaterialNumber SupplierMaterialNumber Supp. Mat. No.
SupplierRespSalesPersonName SupplierRespSalesPersonName Salesperson
SupplierPhoneNumber SupplierPhoneNumber Telephone
BaseUnit BaseUnit Unit of Measure
SupplierMaterialGroup SupplierMaterialGroup Suppl. Mat. Grp
PriorSupplier PriorSupplier Prior Supplier
AvailabilityStartDate AvailabilityStartDate Available from
AvailabilityEndDate AvailabilityEndDate Available to
VarblPurOrdUnitIsActive VarblPurOrdUnitIsActive Var. Order Unit
Manufacturer Manufacturer Manufacturer
IsRegularSupplier IsRegularSupplier Reg. Supplier
SupplierSubrange SupplierSubrange Suppl. Subrange
NoDaysReminder1 NoDaysReminder1 1st Rem./Exped.
NoDaysReminder2 NoDaysReminder2 2nd Rem./Exped.
NoDaysReminder3 NoDaysReminder3 3rd Rem./Exped.
ProductPurchasePointsQty ProductPurchasePointsQty Points
ProductPurchasePointsQtyUnit ProductPurchasePointsQtyUnit Points Unit
SupplierSubrangeSortNumber SupplierSubrangeSortNumber SSR Sort No.
LastChangeDateTime LastChangeDateTime Timestamp
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
_SupplierPurchasingOrg _SupplierPurchasingOrg
_PurgInfoRecdOrgPlantData _PurgInfoRecdOrgPlantData

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 A_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: APURINFREC

CREATE VIEW A_PurchasingInfoRecord AS
SELECT
  PurchasingInfoRecord,
  Supplier,
  Material,
  MaterialGroup,
  CreationDate,
  IsDeleted,
  PurchasingInfoRecordDesc,
  PurgInfoRecNonStockItmSortTerm,
  PurgDocOrderQuantityUnit,
  OrderItemQtyToBaseQtyNmrtr,
  OrderItemQtyToBaseQtyDnmntr,
  SupplierMaterialNumber,
  SupplierRespSalesPersonName,
  SupplierPhoneNumber,
  BaseUnit,
  SupplierMaterialGroup,
  PriorSupplier,
  AvailabilityStartDate,
  AvailabilityEndDate,
  VarblPurOrdUnitIsActive,
  Manufacturer,
  IsRegularSupplier,
  SupplierSubrange,
  NoDaysReminder1,
  NoDaysReminder2,
  NoDaysReminder3,
  ProductPurchasePointsQty,
  ProductPurchasePointsQtyUnit,
  SupplierSubrangeSortNumber,
  LastChangeDateTime,
  IsEndOfPurposeBlocked
FROM I_PurchasingInfoRecord
LEFT OUTER JOIN A_PurgInfoRecdOrgPlantData AS _PurgInfoRecdOrgPlantData ON PurchasingInfoRecord = _PurgInfoRecdOrgPlantData.PurchasingInfoRecord  -- association [1..*]
LEFT OUTER JOIN A_SupplierPurchasingOrg AS _SupplierPurchasingOrg ON Supplier = _SupplierPurchasingOrg.Supplier  -- association [1..*]
;