I_PURGINFORECDORGPLANTDATA

CDS View

Info Record Purch. Org. and Plant Data

I_PURGINFORECDORGPLANTDATA is a CDS View in S/4HANA. Info Record Purch. Org. and Plant Data. It contains 59 fields. 21 CDS views read from this table.

CDS Views using this table (21)

ViewTypeJoinVDMDescription
A_PurgInfoRecdOrgPlantData view from BASIC Purchasing Info Record Purch. Org. Data
C_MassUpdtPurgInfoRecdVH view left_outer CONSUMPTION Info Record Value Help
C_MMPurchasingInfoRecordHelp view left_outer CONSUMPTION Purchasing Info Record Help
C_PurgInfoRecordOrgLevels view from CONSUMPTION Organization Level
C_PurOrdRefDocIR view from CONSUMPTION Reference Documents for PO Creation - Inforecord Items
I_JP_SubcontrgChrgblCompPrDP view_entity from BASIC Interface for PriceList of CC Japan
I_MRPPurchaseOrder view left_outer COMPOSITE MRP Purchase Order
I_MRPPurchaseRequisition view left_outer COMPOSITE MRP Purchase Requisition
I_MRPPurchasingInfoRecord view inner COMPOSITE Basic InfoRecords for SOS
I_PurchaseOrderQuickView view left_outer COMPOSITE Purchase Order Data
I_PurgInfoRecdOrgPlntDataApi01 view from BASIC Org Plant Data for Purch Info Record
I_PurgInfoRecordWithOrgData view left_outer BASIC Info Record with Org Plant Data
I_PurInfCndHelpr view inner BASIC Helper View For CDS
I_PurInfoRecdMaterialPrcgCndn view inner BASIC Purch Info Record Material Cond
I_PurInfoRecdNonStkItmPrcgCndn view inner BASIC Purch Info Record Non Stock Item Cond
I_PurInfoRecdOrderUnitPrcgCndn view inner BASIC Purch Info Record Order Unit Cond
P_InfoRecordLeadTime view inner COMPOSITE Demand Driven Product Lead Time InfoRecord Specific
P_InfoRecordPriceVariance view inner CONSUMPTION Info Record Price Variance
P_PurgOrgLvlInfoRecdMassUpdt view from CONSUMPTION Mass Changes to Purchasing Info Records
P_PurOrdMaintainRefDocumentAll view union_all CONSUMPTION PO Maintenance: Ref. Doc. for PO Create (Item + Inforecord)
R_PurgInfoRecdOrgPlntDataTP view_entity from TRANSACTIONAL Purchasing Info Rec Org Plant Data

Fields (59)

KeyField CDS FieldsUsed in Views
KEY Plant Plant 7
KEY PurchasingInfoRecord PurchasingDocument,PurchasingInfoRecord 6
KEY PurchasingInfoRecordCategory PurchasingInfoRecordCategory 7
KEY PurchasingOrganization PurchasingOrganization 8
_Plant _Plant 1
_PurchasingGroup _PurchasingGroup 1
_PurchasingOrganization _PurchasingOrganization 1
CreatedByUser CreatedByUser 2
CreationDate CreationDate 1
Currency Currency,PurgDocTransactionCurrency 5
IncotermsClassification IncotermsClassification 3
IncotermsLocation1 IncotermsLocation1 3
IncotermsLocation2 IncotermsLocation2 3
IncotermsSupChnDvtgLocAddlUUID IncotermsSupChnDvtgLocAddlUUID 1
IncotermsSupChnLoc1AddlUUID IncotermsSupChnLoc1AddlUUID 1
IncotermsSupChnLoc2AddlUUID IncotermsSupChnLoc2AddlUUID 1
IncotermsTransferLocation IncotermsTransferLocation 3
IncotermsVersion IncotermsVersion 3
InvoiceIsGoodsReceiptBased InvoiceIsGoodsReceiptBased 4
IsCashDiscountGranted IsCashDiscountGranted 2
IsEvaluatedRcptSettlmtAllowed IsEvaluatedRcptSettlmtAllowed 2
IsMarkedForDeletion IsDeleted,IsMarkedForDeletion 4
IsOrderAcknRqd IsOrderAcknRqd 2
IsPurOrderAllwdForInbDeliv IsPurOrderAllwdForInbDeliv 2
IsRelevantForAutomSrcg IsRelevantForAutomSrcg 3
IsRetMatlAuthznRqdBySupplier IsRetMatlAuthznRqdBySupplier,SuplrRetMatlAuthznRqmtSts 2
LastReferencingPurchaseOrder LastReferencingPurchaseOrder 2
LastReferencingPurOrderItem LastReferencingPurOrderItem 2
MaterialConditionGroup MaterialConditionGroup 2
MaterialPlannedDeliveryDurn MaterialPlannedDeliveryDurn,PlannedDeliveryDuration 3
MaterialPriceUnitQty MaterialPriceUnitQty,PurchaseOrderNetPriceQuantity,PurgDocNetPriceQuantity 5
MaterialRoundingProfile MaterialRoundingProfile,RoundingProfile 3
MaterialStagingTime MaterialStagingTime 3
MaximumOrderQuantity MaximumOrderQuantity 3
MinimumPurchaseOrderQuantity MinimumPurchaseOrderQuantity 3
MinRemainingShelfLife MinRemainingShelfLife 2
NetPriceAmount IRNetPriceAmount,NetPriceAmount,PurchaseOrderNetPriceAmount,PurgDocNetPriceAmount 6
OrderPriceUnitToOrderUnitNmrtr OrderPriceUnitToOrderUnitNmrtr 4
OrdPriceUnitToOrderUnitDnmntr OrdPriceUnitToOrderUnitDnmntr 4
OverdelivTolrtdLmtRatioInPct OverdelivTolrtdLmtRatioInPct 4
PriceValidityEndDate PriceValidityEndDate,ValidityEndDate 4
PricingDateControl PricingDateControl 2
ProductionVersion ProductionVersion 2
ProductUnitGroup ProductUnitGroup 2
PurchaseOrderPriceUnit PurchaseOrderPriceUnit 4
PurchasingDocumentDate PurchasingDocumentDate 2
PurchasingGroup PurchasingGroup 7
PurgInfoRecdEffctvPrc PurgInfoRecdEffctvPrc 1
ShelfLifeExpirationDatePeriod ShelfLifeExpirationDatePeriod 2
ShippingInstruction ShippingInstruction 2
StandardPurchaseOrderQuantity PurchaseOrderQty,StandardPurchaseOrderQuantity 5
SupplierConfirmationControlKey SupplierConfirmationControlKey 2
SupplierQuotation SupplierQuotation 2
SupplierQuotationDate SupplierQuotationDate 2
TaxCode TaxCode 3
TaxCountry TaxCountry 1
TimeDependentTaxValidFromDate TimeDependentTaxValidFromDate 1
UnderdelivTolrtdLmtRatioInPct UnderdelivTolrtdLmtRatioInPct 4
UnlimitedOverdeliveryIsAllowed UnlimitedOverdeliveryIsAllowed 4
@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.erdat                                                     as CreationDate,

      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,
      
//      @Feature: 'FT_IR_EFFECTIVE_PRICE'

      eine.effpr                                                     as PurgInfoRecdEffctvPrc,

      @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,
      
      eine.verid                                                     as ProductionVersion,
      
      eine.exprf                                                     as PurgDocExportImportProcedure,
      

      _PurchasingOrganization,
      _Plant,
      _PurchaseOrderPriceUnit,
      _Currency,
      _PurchasingGroup,
      _TaxCode,
      _IncotermsClassification,
      _CreatedByUser,
      _Country

}
where
     iseopblocked <> 'X'
     or iseopblocked = ''