I_PurgInfoRecdOrgPlantData
Info Record Purch. Org. and Plant Data
I_PurgInfoRecdOrgPlantData is a Basic CDS View that provides data about "Info Record Purch. Org. and Plant Data" in SAP S/4HANA. It reads from 1 data source (eine) and exposes 64 fields with key fields PurchasingInfoRecord, PurchasingOrganization, PurchasingInfoRecordCategory, Plant. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| eine | eine | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PurchasingOrganization | _PurchasingOrganization | $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_UnitOfMeasure | _PurchaseOrderPriceUnit | $projection.PurchaseOrderPriceUnit = _PurchaseOrderPriceUnit.UnitOfMeasure |
| [0..1] | I_Currency | _Currency | $projection.Currency = _Currency.Currency |
| [0..1] | I_PurchasingGroup | _PurchasingGroup | $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
| [0..*] | I_TaxCode | _TaxCode | $projection.TaxCode = _TaxCode.TaxCode |
| [0..1] | I_IncotermsClassification | _IncotermsClassification | $projection.IncotermsClassification = _IncotermsClassification.IncotermsClassification |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_Country | _Country | $projection.TaxCountry = _Country.Country |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINFORECORGDATA | view | |
| EndUserText.label | Info Record Purch. Org. and Plant Data | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingInfoRecord | eine | infnr | |
| KEY | PurchasingOrganization | eine | ekorg | |
| KEY | PurchasingInfoRecordCategory | eine | esokz | |
| KEY | Plant | eine | werks | |
| CreatedByUser | eine | ernam | ||
| IsMarkedForDeletion | eine | loekz | ||
| PurchasingGroup | eine | ekgrp | ||
| Currency | eine | waers | ||
| MinimumPurchaseOrderQuantity | eine | minbm | ||
| StandardPurchaseOrderQuantity | eine | norbm | ||
| MaterialPlannedDeliveryDurn | eine | aplfz | ||
| OverdelivTolrtdLmtRatioInPct | eine | uebto | ||
| UnderdelivTolrtdLmtRatioInPct | eine | untto | ||
| UnlimitedOverdeliveryIsAllowed | eine | uebtk | ||
| LastReferencingPurchaseOrder | eine | ebeln | ||
| LastReferencingPurOrderItem | eine | ebelp | ||
| NetPriceAmount | eine | netpr | ||
| MaterialPriceUnitQty | eine | peinh | ||
| PurchaseOrderPriceUnit | eine | bprme | ||
| PriceValidityEndDate | eine | prdat | ||
| OrderPriceUnitToOrderUnitNmrtr | eine | bpumz | ||
| OrdPriceUnitToOrderUnitDnmntr | eine | bpumn | ||
| InvoiceIsGoodsReceiptBased | eine | webre | ||
| TaxCode | eine | mwskz | ||
| TimeDependentTaxValidFromDate | eine | txdat_from | ||
| TaxCountry | eine | tax_country | ||
| IncotermsClassification | eine | inco1 | ||
| IncotermsTransferLocation | eine | inco2 | ||
| IncotermsLocation1 | eine | inco2_l | ||
| IncotermsSupChnLoc1AddlUUID | ||||
| IncotermsLocation2 | eine | inco3_l | ||
| IncotermsSupChnLoc2AddlUUID | ||||
| IncotermsSupChnDvtgLocAddlUUID | ||||
| MaximumOrderQuantity | eine | bstma | ||
| IsRelevantForAutomSrcg | eine | aut_source | ||
| IncotermsVersion | eine | incov | ||
| SupplierQuotation | eine | angnr | ||
| SupplierQuotationDate | eine | angdt | ||
| MinRemainingShelfLife | eine | mhdrz | ||
| ShippingInstruction | eine | evers | ||
| IsEvaluatedRcptSettlmtAllowed | eine | xersn | ||
| IsPurOrderAllwdForInbDeliv | eine | spe_cre_ref_doc | ||
| IsOrderAcknRqd | eine | kzabs | ||
| SupplierConfirmationControlKey | eine | bstae | ||
| MaterialRoundingProfile | eine | rdprf | ||
| MaterialStagingTime | eine | staging_time | ||
| ProductUnitGroup | eine | megru | ||
| IsRetMatlAuthznRqdBySupplier | eine | vendor_rma_req | ||
| IsCashDiscountGranted | eine | sktof | ||
| MaterialConditionGroup | eine | ekkol | ||
| PricingDateControl | eine | meprf | ||
| PurchasingDocumentDate | eine | datlb | ||
| ShelfLifeExpirationDatePeriod | eine | iprkz | ||
| IsEndOfPurposeBlocked | eine | iseopblocked | ||
| MatlMstrTxtIsNotRlvtForPOItm | eine | mtxno | ||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _Plant | _Plant | |||
| _PurchaseOrderPriceUnit | _PurchaseOrderPriceUnit | |||
| _Currency | _Currency | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _TaxCode | _TaxCode | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _CreatedByUser | _CreatedByUser | |||
| _Country | _Country |
@AbapCatalog.sqlViewName: 'IINFORECORGDATA'
@EndUserText.label: 'Info Record Purch. Org. and Plant Data'
@VDM.viewType : #BASIC
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view I_PurgInfoRecdOrgPlantData
as select from eine
association [0..1] to I_PurchasingOrganization as _PurchasingOrganization on $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
association [0..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
association [0..1] to I_UnitOfMeasure as _PurchaseOrderPriceUnit on $projection.PurchaseOrderPriceUnit = _PurchaseOrderPriceUnit.UnitOfMeasure
association [0..1] to I_Currency as _Currency on $projection.Currency = _Currency.Currency
association [0..1] to I_PurchasingGroup as _PurchasingGroup on $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
association [0..*] to I_TaxCode as _TaxCode on $projection.TaxCode = _TaxCode.TaxCode
association [0..1] to I_IncotermsClassification as _IncotermsClassification on $projection.IncotermsClassification = _IncotermsClassification.IncotermsClassification
association [0..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
association [0..1] to I_Country as _Country on $projection.TaxCountry = _Country.Country
{
key eine.infnr as PurchasingInfoRecord,
@ObjectModel.foreignKey.association: '_PurchasingOrganization'
key eine.ekorg as PurchasingOrganization,
key eine.esokz as PurchasingInfoRecordCategory,
@ObjectModel.foreignKey.association: '_Plant'
key eine.werks as Plant,
// @ObjectModel.foreignKey.association: '_CreatedByUser'
eine.ernam as CreatedByUser,
eine.loekz as IsMarkedForDeletion,
@ObjectModel.foreignKey.association: '_PurchasingGroup'
eine.ekgrp as PurchasingGroup,
@Semantics.currencyCode:true
@ObjectModel.foreignKey.association: '_Currency'
eine.waers as Currency,
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderPriceUnit'
// @DefaultAggregation: #NONE
eine.minbm as MinimumPurchaseOrderQuantity,
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderPriceUnit'
// @DefaultAggregation: #NONE
eine.norbm as StandardPurchaseOrderQuantity,
eine.aplfz as MaterialPlannedDeliveryDurn,
eine.uebto as OverdelivTolrtdLmtRatioInPct,
eine.untto as UnderdelivTolrtdLmtRatioInPct,
eine.uebtk as UnlimitedOverdeliveryIsAllowed,
eine.ebeln as LastReferencingPurchaseOrder,
eine.ebelp as LastReferencingPurOrderItem,
@Semantics.amount.currencyCode: 'Currency'
// @DefaultAggregation: #NONE
eine.netpr as NetPriceAmount,
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderPriceUnit'
// @DefaultAggregation: #NONE
eine.peinh as MaterialPriceUnitQty,
@Semantics.unitOfMeasure: true
@ObjectModel.foreignKey.association: '_PurchaseOrderPriceUnit'
eine.bprme as PurchaseOrderPriceUnit,
@Semantics.businessDate.to
eine.prdat as PriceValidityEndDate,
eine.bpumz as OrderPriceUnitToOrderUnitNmrtr,
eine.bpumn as OrdPriceUnitToOrderUnitDnmntr,
eine.webre as InvoiceIsGoodsReceiptBased,
// @ObjectModel.foreignKey.association: '_TaxCode'
eine.mwskz as TaxCode,
eine.txdat_from as TimeDependentTaxValidFromDate,
@ObjectModel.foreignKey.association: '_Country'
eine.tax_country as TaxCountry,
@ObjectModel.foreignKey.association: '_IncotermsClassification'
eine.inco1 as IncotermsClassification,
eine.inco2 as IncotermsTransferLocation,
eine.inco2_l as IncotermsLocation1,
cast( eine.inco2_key as /scmtms/inc_loc_1_key_nc preserving type ) as IncotermsSupChnLoc1AddlUUID ,
eine.inco3_l as IncotermsLocation2,
cast( eine.inco3_key as /scmtms/inc_loc_2_key_nc preserving type ) as IncotermsSupChnLoc2AddlUUID,
cast( eine.inco4_key as /scmtms/inc_dv_plce_dst_key_nc preserving type ) as IncotermsSupChnDvtgLocAddlUUID,
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderPriceUnit'
// @DefaultAggregation: #NONE
eine.bstma as MaximumOrderQuantity,
eine.aut_source as IsRelevantForAutomSrcg,
eine.incov as IncotermsVersion,
eine.angnr as SupplierQuotation,
eine.angdt as SupplierQuotationDate,
eine.mhdrz as MinRemainingShelfLife,
eine.evers as ShippingInstruction,
eine.xersn as IsEvaluatedRcptSettlmtAllowed,
eine.spe_cre_ref_doc as IsPurOrderAllwdForInbDeliv,
eine.kzabs as IsOrderAcknRqd,
eine.bstae as SupplierConfirmationControlKey,
eine.rdprf as MaterialRoundingProfile,
eine.staging_time as MaterialStagingTime,
eine.megru as ProductUnitGroup,
eine.vendor_rma_req as IsRetMatlAuthznRqdBySupplier,
eine.sktof as IsCashDiscountGranted,
eine.ekkol as MaterialConditionGroup,
eine.meprf as PricingDateControl,
eine.datlb as PurchasingDocumentDate,
eine.iprkz as ShelfLifeExpirationDatePeriod,
eine.iseopblocked as IsEndOfPurposeBlocked,
// 2308 Addition: NoMText in Purchasing Info Record
eine.mtxno as MatlMstrTxtIsNotRlvtForPOItm,
_PurchasingOrganization,
_Plant,
_PurchaseOrderPriceUnit,
_Currency,
_PurchasingGroup,
_TaxCode,
_IncotermsClassification,
_CreatedByUser,
_Country
}
where
iseopblocked <> 'X'
or iseopblocked = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EINE"
],
"ASSOCIATED":
[
"I_COUNTRY",
"I_CURRENCY",
"I_INCOTERMSCLASSIFICATION",
"I_PLANT",
"I_PURCHASINGGROUP",
"I_PURCHASINGORGANIZATION",
"I_TAXCODE",
"I_UNITOFMEASURE",
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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