I_PurgInfoRecordWithOrgData
Info Record with Org Plant Data
I_PurgInfoRecordWithOrgData is a Basic CDS View that provides data about "Info Record with Org Plant Data" in SAP S/4HANA. It reads from 2 data sources (I_PurgInfoRecdOrgPlantData, I_PurchasingInfoRecord) and exposes 105 fields with key fields PurchasingInfoRecord, PurchasingOrganization, PurchasingInfoRecordCategory, Plant. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurgInfoRecdOrgPlantData | _PurgInfoRecdOrgPlantData | left_outer |
| I_PurchasingInfoRecord | eina | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_PurInfCndPeriod | _PurInfCndPeriod | $projection.PurchasingInfoRecord = _PurInfCndPeriod.PurchasingInfoRecord and $projection.Plant = _PurInfCndPeriod.Plant and $projection.PurchasingOrganization = _PurInfCndPeriod.PurchasingOrganization and $projection.PurchasingInfoRecordCategory = _PurInfCndPeriod.PurchasingInfoRecordCategory |
| [0..1] | E_PurchasingInforecord | _PurchasingInforecordExtension | _PurchasingInforecordExtension.PurchasingInfoRecord = $projection.PurchasingInfoRecord |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINFRECWITHORG | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Info Record with Org Plant Data | 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 | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (105)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingInfoRecord | I_PurchasingInfoRecord | PurchasingInfoRecord | |
| KEY | PurchasingOrganization | I_PurgInfoRecdOrgPlantData | PurchasingOrganization | |
| KEY | PurchasingInfoRecordCategory | I_PurgInfoRecdOrgPlantData | PurchasingInfoRecordCategory | |
| KEY | Plant | I_PurgInfoRecdOrgPlantData | Plant | |
| Supplier | Supplier | |||
| Material | Material | |||
| MaterialGroup | MaterialGroup | |||
| CreationDate | I_PurgInfoRecdOrgPlantData | CreationDate | ||
| IsDeleted | IsDeleted | |||
| PurchasingInfoRecordDesc | PurchasingInfoRecordDesc | |||
| PurgDocOrderQuantityUnit | PurgDocOrderQuantityUnit | |||
| OrderItemQtyToBaseQtyNmrtr | OrderItemQtyToBaseQtyNmrtr | |||
| OrderItemQtyToBaseQtyDnmntr | OrderItemQtyToBaseQtyDnmntr | |||
| SupplierMaterialNumber | SupplierMaterialNumber | |||
| SupplierRespSalesPersonName | SupplierRespSalesPersonName | |||
| SupplierPhoneNumber | SupplierPhoneNumber | |||
| BaseUnit | BaseUnit | |||
| SupplierMaterialGroup | SupplierMaterialGroup | |||
| PriorSupplier | PriorSupplier | |||
| AvailabilityStartDate | AvailabilityStartDate | |||
| AvailabilityEndDate | AvailabilityEndDate | |||
| VarblPurOrdUnitIsActive | VarblPurOrdUnitIsActive | |||
| Manufacturer | Manufacturer | |||
| IsRegularSupplier | IsRegularSupplier | |||
| SupplierSubrange | SupplierSubrange | |||
| NoDaysReminder1 | NoDaysReminder1 | |||
| NoDaysReminder2 | NoDaysReminder2 | |||
| NoDaysReminder3 | NoDaysReminder3 | |||
| ProductPurchasePointsQty | ProductPurchasePointsQty | |||
| ProductPurchasePointsQtyUnit | ProductPurchasePointsQtyUnit | |||
| ReturnAgreement | ReturnAgreement | |||
| SupplierCertOriginCat | SupplierCertOriginCat | |||
| SupplierCertOriginNumber | SupplierCertOriginNumber | |||
| SupplierCertValidityEndDate | SupplierCertValidityEndDate | |||
| SupplierCertOriginCountry | SupplierCertOriginCountry | |||
| SupplierCertOriginRegion | SupplierCertOriginRegion | |||
| SuplrCertOriginClassfctnNumber | SuplrCertOriginClassfctnNumber | |||
| SupplierSubrangeSortNumber | SupplierSubrangeSortNumber | |||
| LastChangeDateTime | LastChangeDateTime | |||
| PurgInfoRecNonStockItmSortTerm | PurgInfoRecNonStockItmSortTerm | |||
| SupplierQuotation | I_PurgInfoRecdOrgPlantData | SupplierQuotation | ||
| SupplierQuotationDate | I_PurgInfoRecdOrgPlantData | SupplierQuotationDate | ||
| MinRemainingShelfLife | I_PurgInfoRecdOrgPlantData | MinRemainingShelfLife | ||
| ShippingInstruction | I_PurgInfoRecdOrgPlantData | ShippingInstruction | ||
| IsEvaluatedRcptSettlmtAllowed | I_PurgInfoRecdOrgPlantData | IsEvaluatedRcptSettlmtAllowed | ||
| IsPurOrderAllwdForInbDeliv | I_PurgInfoRecdOrgPlantData | IsPurOrderAllwdForInbDeliv | ||
| IsOrderAcknRqd | I_PurgInfoRecdOrgPlantData | IsOrderAcknRqd | ||
| SupplierConfirmationControlKey | I_PurgInfoRecdOrgPlantData | SupplierConfirmationControlKey | ||
| MaterialRoundingProfile | I_PurgInfoRecdOrgPlantData | MaterialRoundingProfile | ||
| MaterialStagingTime | I_PurgInfoRecdOrgPlantData | MaterialStagingTime | ||
| ProductUnitGroup | I_PurgInfoRecdOrgPlantData | ProductUnitGroup | ||
| IsRetMatlAuthznRqdBySupplier | I_PurgInfoRecdOrgPlantData | IsRetMatlAuthznRqdBySupplier | ||
| IsCashDiscountGranted | I_PurgInfoRecdOrgPlantData | IsCashDiscountGranted | ||
| MaterialConditionGroup | I_PurgInfoRecdOrgPlantData | MaterialConditionGroup | ||
| PricingDateControl | I_PurgInfoRecdOrgPlantData | PricingDateControl | ||
| IncotermsLocation2 | I_PurgInfoRecdOrgPlantData | IncotermsLocation2 | ||
| IncotermsVersion | I_PurgInfoRecdOrgPlantData | IncotermsVersion | ||
| PurchasingDocumentDate | I_PurgInfoRecdOrgPlantData | PurchasingDocumentDate | ||
| CreatedByUser | I_PurgInfoRecdOrgPlantData | CreatedByUser | ||
| IsMarkedForDeletion | I_PurgInfoRecdOrgPlantData | IsMarkedForDeletion | ||
| PurchasingGroup | I_PurgInfoRecdOrgPlantData | PurchasingGroup | ||
| ShelfLifeExpirationDatePeriod | I_PurgInfoRecdOrgPlantData | ShelfLifeExpirationDatePeriod | ||
| Currency | I_PurgInfoRecdOrgPlantData | Currency | ||
| MinimumPurchaseOrderQuantity | I_PurgInfoRecdOrgPlantData | MinimumPurchaseOrderQuantity | ||
| StandardPurchaseOrderQuantity | I_PurgInfoRecdOrgPlantData | StandardPurchaseOrderQuantity | ||
| MaterialPlannedDeliveryDurn | I_PurgInfoRecdOrgPlantData | MaterialPlannedDeliveryDurn | ||
| OverdelivTolrtdLmtRatioInPct | I_PurgInfoRecdOrgPlantData | OverdelivTolrtdLmtRatioInPct | ||
| UnderdelivTolrtdLmtRatioInPct | I_PurgInfoRecdOrgPlantData | UnderdelivTolrtdLmtRatioInPct | ||
| UnlimitedOverdeliveryIsAllowed | I_PurgInfoRecdOrgPlantData | UnlimitedOverdeliveryIsAllowed | ||
| LastReferencingPurchaseOrder | I_PurgInfoRecdOrgPlantData | LastReferencingPurchaseOrder | ||
| LastReferencingPurOrderItem | I_PurgInfoRecdOrgPlantData | LastReferencingPurOrderItem | ||
| NetPriceAmount | I_PurgInfoRecdOrgPlantData | NetPriceAmount | ||
| MaterialPriceUnitQty | I_PurgInfoRecdOrgPlantData | MaterialPriceUnitQty | ||
| PurchaseOrderPriceUnit | I_PurgInfoRecdOrgPlantData | PurchaseOrderPriceUnit | ||
| PriceValidityEndDate | I_PurgInfoRecdOrgPlantData | PriceValidityEndDate | ||
| OrderPriceUnitToOrderUnitNmrtr | I_PurgInfoRecdOrgPlantData | OrderPriceUnitToOrderUnitNmrtr | ||
| OrdPriceUnitToOrderUnitDnmntr | I_PurgInfoRecdOrgPlantData | OrdPriceUnitToOrderUnitDnmntr | ||
| InvoiceIsGoodsReceiptBased | I_PurgInfoRecdOrgPlantData | InvoiceIsGoodsReceiptBased | ||
| TaxCode | I_PurgInfoRecdOrgPlantData | TaxCode | ||
| TimeDependentTaxValidFromDate | I_PurgInfoRecdOrgPlantData | TimeDependentTaxValidFromDate | ||
| TaxCountry | I_PurgInfoRecdOrgPlantData | TaxCountry | ||
| IncotermsClassification | I_PurgInfoRecdOrgPlantData | IncotermsClassification | ||
| IncotermsTransferLocation | I_PurgInfoRecdOrgPlantData | IncotermsTransferLocation | ||
| IncotermsLocation1 | I_PurgInfoRecdOrgPlantData | IncotermsLocation1 | ||
| IncotermsSupChnLoc1AddlUUID | I_PurgInfoRecdOrgPlantData | IncotermsSupChnLoc1AddlUUID | ||
| IncotermsSupChnLoc2AddlUUID | I_PurgInfoRecdOrgPlantData | IncotermsSupChnLoc2AddlUUID | ||
| IncotermsSupChnDvtgLocAddlUUID | I_PurgInfoRecdOrgPlantData | IncotermsSupChnDvtgLocAddlUUID | ||
| MaximumOrderQuantity | I_PurgInfoRecdOrgPlantData | MaximumOrderQuantity | ||
| IsRelevantForAutomSrcg | I_PurgInfoRecdOrgPlantData | IsRelevantForAutomSrcg | ||
| _PurInfCndPeriod | _PurInfCndPeriod | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _Plant | _Plant | |||
| _PurchaseOrderPriceUnit | _PurchaseOrderPriceUnit | |||
| _Currency | _Currency | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _TaxCode | _TaxCode | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _CreatedByUser | _CreatedByUser | |||
| _PurgInfoRecdOrgPlantData | _PurgInfoRecdOrgPlantData | |||
| _Material | _Material | |||
| _MaterialGroup | _MaterialGroup | |||
| _Supplier | _Supplier | |||
| _BaseUnit | _BaseUnit | |||
| _PurgDocOrderQuantityUnit | _PurgDocOrderQuantityUnit | |||
| _Country | _Country |
@AbapCatalog.sqlViewName: 'IINFRECWITHORG'
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Info Record with Org Plant Data'
@VDM.viewType: #BASIC
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view I_PurgInfoRecordWithOrgData
as select from I_PurchasingInfoRecord as eina
left outer join I_PurgInfoRecdOrgPlantData as _PurgInfoRecdOrgPlantData on eina.PurchasingInfoRecord = _PurgInfoRecdOrgPlantData.PurchasingInfoRecord
association [0..*] to I_PurInfCndPeriod as _PurInfCndPeriod on $projection.PurchasingInfoRecord = _PurInfCndPeriod.PurchasingInfoRecord
and $projection.Plant = _PurInfCndPeriod.Plant
and $projection.PurchasingOrganization = _PurInfCndPeriod.PurchasingOrganization
and $projection.PurchasingInfoRecordCategory = _PurInfCndPeriod.PurchasingInfoRecordCategory
association [0..1] to E_PurchasingInforecord as _PurchasingInforecordExtension on _PurchasingInforecordExtension.PurchasingInfoRecord = $projection.PurchasingInfoRecord
{
key eina.PurchasingInfoRecord as PurchasingInfoRecord,
key _PurgInfoRecdOrgPlantData.PurchasingOrganization as PurchasingOrganization,
key _PurgInfoRecdOrgPlantData.PurchasingInfoRecordCategory as PurchasingInfoRecordCategory,
key _PurgInfoRecdOrgPlantData.Plant,
Supplier,
Material,
MaterialGroup,
// @Semantics.businessDate.createdAt
_PurgInfoRecdOrgPlantData.CreationDate,
IsDeleted,
PurchasingInfoRecordDesc,
@Semantics.unitOfMeasure: true
PurgDocOrderQuantityUnit,
OrderItemQtyToBaseQtyNmrtr,
OrderItemQtyToBaseQtyDnmntr,
SupplierMaterialNumber,
SupplierRespSalesPersonName,
SupplierPhoneNumber,
@Semantics.unitOfMeasure: true
BaseUnit,
SupplierMaterialGroup,
PriorSupplier,
@Semantics.businessDate.from
AvailabilityStartDate,
// @Semantics.businessDate.to
AvailabilityEndDate,
VarblPurOrdUnitIsActive,
Manufacturer,
IsRegularSupplier,
SupplierSubrange,
NoDaysReminder1,
NoDaysReminder2,
NoDaysReminder3,
ProductPurchasePointsQty,
ProductPurchasePointsQtyUnit,
ReturnAgreement,
SupplierCertOriginCat,
SupplierCertOriginNumber,
SupplierCertValidityEndDate,
SupplierCertOriginCountry,
SupplierCertOriginRegion,
SuplrCertOriginClassfctnNumber,
SupplierSubrangeSortNumber,
LastChangeDateTime,
//Sort Term
PurgInfoRecNonStockItmSortTerm,
_PurgInfoRecdOrgPlantData.SupplierQuotation,
_PurgInfoRecdOrgPlantData.SupplierQuotationDate,
_PurgInfoRecdOrgPlantData.MinRemainingShelfLife,
_PurgInfoRecdOrgPlantData.ShippingInstruction,
_PurgInfoRecdOrgPlantData.IsEvaluatedRcptSettlmtAllowed,
_PurgInfoRecdOrgPlantData.IsPurOrderAllwdForInbDeliv,
_PurgInfoRecdOrgPlantData.IsOrderAcknRqd,
_PurgInfoRecdOrgPlantData.SupplierConfirmationControlKey,
_PurgInfoRecdOrgPlantData.MaterialRoundingProfile,
_PurgInfoRecdOrgPlantData.MaterialStagingTime,
_PurgInfoRecdOrgPlantData.ProductUnitGroup,
_PurgInfoRecdOrgPlantData.IsRetMatlAuthznRqdBySupplier,
_PurgInfoRecdOrgPlantData.IsCashDiscountGranted,
_PurgInfoRecdOrgPlantData.MaterialConditionGroup,
_PurgInfoRecdOrgPlantData.PricingDateControl,
_PurgInfoRecdOrgPlantData.IncotermsLocation2,
_PurgInfoRecdOrgPlantData.IncotermsVersion,
_PurgInfoRecdOrgPlantData.PurchasingDocumentDate,
_PurgInfoRecdOrgPlantData.CreatedByUser,
_PurgInfoRecdOrgPlantData.IsMarkedForDeletion,
_PurgInfoRecdOrgPlantData.PurchasingGroup,
_PurgInfoRecdOrgPlantData.ShelfLifeExpirationDatePeriod,
@Semantics.currencyCode:true
_PurgInfoRecdOrgPlantData.Currency,
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderPriceUnit'
// @DefaultAggregation: #NONE
_PurgInfoRecdOrgPlantData.MinimumPurchaseOrderQuantity,
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderPriceUnit'
// @DefaultAggregation: #NONE
_PurgInfoRecdOrgPlantData.StandardPurchaseOrderQuantity,
_PurgInfoRecdOrgPlantData.MaterialPlannedDeliveryDurn,
_PurgInfoRecdOrgPlantData.OverdelivTolrtdLmtRatioInPct,
_PurgInfoRecdOrgPlantData.UnderdelivTolrtdLmtRatioInPct,
_PurgInfoRecdOrgPlantData.UnlimitedOverdeliveryIsAllowed,
_PurgInfoRecdOrgPlantData.LastReferencingPurchaseOrder,
_PurgInfoRecdOrgPlantData.LastReferencingPurOrderItem,
@Semantics.amount.currencyCode: 'Currency'
// @DefaultAggregation: #NONE
_PurgInfoRecdOrgPlantData.NetPriceAmount,
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderPriceUnit'
// @DefaultAggregation: #NONE
_PurgInfoRecdOrgPlantData.MaterialPriceUnitQty,
@Semantics.unitOfMeasure: true
_PurgInfoRecdOrgPlantData.PurchaseOrderPriceUnit,
// @Semantics.businessDate.to
_PurgInfoRecdOrgPlantData.PriceValidityEndDate,
_PurgInfoRecdOrgPlantData.OrderPriceUnitToOrderUnitNmrtr,
_PurgInfoRecdOrgPlantData.OrdPriceUnitToOrderUnitDnmntr,
_PurgInfoRecdOrgPlantData.InvoiceIsGoodsReceiptBased,
_PurgInfoRecdOrgPlantData.TaxCode,
_PurgInfoRecdOrgPlantData.TimeDependentTaxValidFromDate,
_PurgInfoRecdOrgPlantData.TaxCountry,
_PurgInfoRecdOrgPlantData.IncotermsClassification,
_PurgInfoRecdOrgPlantData.IncotermsTransferLocation,
_PurgInfoRecdOrgPlantData.IncotermsLocation1,
// _PurgInfoRecdOrgPlantData.PurgInfoRecordIncotermsLocID1,
_PurgInfoRecdOrgPlantData.IncotermsSupChnLoc1AddlUUID,
_PurgInfoRecdOrgPlantData.IncotermsSupChnLoc2AddlUUID,
_PurgInfoRecdOrgPlantData.IncotermsSupChnDvtgLocAddlUUID,
// _PurgInfoRecdOrgPlantData.PurgInfoRecordIncotermsLocID2,
// _PurgInfoRecdOrgPlantData.PurgInfoRecordDvtgDestID,
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderPriceUnit'
// @DefaultAggregation: #NONE
_PurgInfoRecdOrgPlantData.MaximumOrderQuantity,
_PurgInfoRecdOrgPlantData.IsRelevantForAutomSrcg,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_PurInfCndPeriod,
_PurchasingOrganization,
_Plant,
_PurchaseOrderPriceUnit,
_Currency,
_PurchasingGroup,
_TaxCode,
_IncotermsClassification,
_CreatedByUser,
_PurgInfoRecdOrgPlantData,
_Material,
_MaterialGroup,
_Supplier,
_BaseUnit,
_PurgDocOrderQuantityUnit,
_Country
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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