I_CentralPurchaseOrderItem

DDL: I_CENTRALPURCHASEORDERITEM SQL: IMMCPURORDRITEM Type: view BASIC

Central Purchase Order Item

I_CentralPurchaseOrderItem is a Basic CDS View that provides data about "Central Purchase Order Item" in SAP S/4HANA. It reads from 1 data source (mmpur_ext_ekpo) and exposes 179 fields with key fields PurchaseOrder, PurchaseOrderItem, ExtSourceSystem. It has 14 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmpur_ext_ekpo ekpo from

Associations (14)

CardinalityTargetAliasCondition
[1..1] I_CentralPurchaseOrder _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder and $projection.ExtSourceSystem = _PurchaseOrder.ExtSourceSystem
[1..*] I_CntrlPurOrderAcctAssgmt _PurOrdAcctAssignment _PurOrdAcctAssignment.PurchaseOrder = $projection.PurchaseOrder and _PurOrdAcctAssignment.PurchaseOrderItem = $projection.PurchaseOrderItem and _PurOrdAcctAssignment.ExtSourceSystem = $projection.ExtSourceSystem
[1..*] I_CntrlPurOrderScheduleLine _PurOrdScheduleLine _PurOrdScheduleLine.PurchaseOrder = $projection.PurchaseOrder and _PurOrdScheduleLine.PurchaseOrderItem = $projection.PurchaseOrderItem and _PurOrdScheduleLine.ExtSourceSystem = $projection.ExtSourceSystem
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _OrderQuantityUnit $projection.PurchaseOrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _VolumeUnit $projection.ItemVolumeUnit = _VolumeUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _WeightUnit $projection.ItemWeightUnit = _WeightUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _OrderPriceUnit $projection.OrderPriceUnit = _OrderPriceUnit.UnitOfMeasure
[0..1] I_PurchasingDocumentCategory _PurgDocumentCategory $projection.PurchasingDocumentCategory = _PurgDocumentCategory.PurchasingDocumentCategory
[0..1] I_PurgDocumentItemCategory _PurgDocumentItemCategory $projection.PurchaseOrderItemCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory
[0..1] I_ProductTypeCode _ProductType $projection.ProductType = _ProductType.ProductTypeCode
[0..1] I_ProductCategory _ProductCategory $projection.ArticleCategory = _ProductCategory.ProductCategory
[0..1] I_AccountAssignmentCategory _AccountAssignmentCategory $projection.AccountAssignmentCategory = _AccountAssignmentCategory.AccountAssignmentCategory
[0..1] I_ProcmtHubProduct _ProcmtHubProduct $projection.Material = _ProcmtHubProduct.ProcmtHubProduct and $projection.ExtSourceSystem = _ProcmtHubProduct.ProcurementHubSourceSystem

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Central Purchase Order Item view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IMMCPURORDRITEM view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey PurchaseOrderItem view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (179)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder mmpur_ext_ekpo ebeln Source PurchDoc
KEY PurchaseOrderItem mmpur_ext_ekpo ebelp Item pur. doc.
KEY ExtSourceSystem mmpur_ext_ekpo extsourcesystem Connected System ID
ProcmtHubPOItemUniqueID mmpur_ext_ekpo uniqueid Schedule line
PurchasingDocumentCategory mmpur_ext_ekpo bstyp Source doc.cat.
PurchasingDocumentDeletionCode mmpur_ext_ekpo loekz Status
Material mmpur_ext_ekpo matnr Vehicle Model
SupplierMaterialNumber mmpur_ext_ekpo idnlf Vendor Material
ManufacturerMaterial mmpur_ext_ekpo ematn MPN: Material
ManufacturerPartNmbr mmpur_ext_ekpo mfrpn Mfr Part Number
Manufacturer mmpur_ext_ekpo mfrnr Manufacturer
PurchaseOrderItemText mmpur_ext_ekpo txz01 Text
CompanyCode mmpur_ext_ekpo bukrs Value
Plant mmpur_ext_ekpo werks Receiving Plant
ManualDeliveryAddressID mmpur_ext_ekpo adrnr Sold-To Address
ReferenceDeliveryAddressID mmpur_ext_ekpo adrn2 Address Number
Customer mmpur_ext_ekpo kunnr Stock customer
Subcontractor mmpur_ext_ekpo emlif Supplier
SupplierIsSubcontractor mmpur_ext_ekpo lblkz SC Supplier
CrossPlantConfigurableProduct mmpur_ext_ekpo satnr Cross-plant CM
ArticleCategory mmpur_ext_ekpo attyp Trdg Goods Cat.
PlndOrderReplnmtElmntType mmpur_ext_ekpo kanba Kanban Indicat.
ProductPurchasePointsQtyUnit mmpur_ext_ekpo punei Points Unit
ProductPurchasePointsQty mmpur_ext_ekpo anzpu Points
StorageLocation
MaterialGroup mmpur_ext_ekpo matkl Product Sold Group
PurchaseOrderQuantityUnit mmpur_ext_ekpo meins Valuation Unit
OrderItemQtyToBaseQtyNmrtr mmpur_ext_ekpo umrez Numerator
OrderItemQtyToBaseQtyDnmntr mmpur_ext_ekpo umren Denominator
NetPriceQuantity
IsCompletelyDelivered mmpur_ext_ekpo elikz Delivery Completion
IsFinallyInvoiced mmpur_ext_ekpo erekz Final Invoice Ind.
GoodsReceiptIsExpected mmpur_ext_ekpo wepos Goods Receipt
InvoiceIsExpected mmpur_ext_ekpo repos Invoice Receipt Ind.
InvoiceIsGoodsReceiptBased mmpur_ext_ekpo webre GR-Based IV
GoodsReceiptIsNonValuated mmpur_ext_ekpo weunb GR Non-Valuated
PurchaseRequisition mmpur_ext_ekpo banfn Requisition
PurchaseRequisitionItem mmpur_ext_ekpo bnfpo Requisn. item
ServicePackage mmpur_ext_ekpo packno Package number
ServicePerformer mmpur_ext_ekpo serviceperformer Service Performer
ProductType mmpur_ext_ekpo producttype Product Type Group
MaterialType mmpur_ext_ekpo mtart Product Type
PurchaseContractItem mmpur_ext_ekpo ktpnr Agreement Item
PurchaseContract mmpur_ext_ekpo konnr Agreement
RequestForQuotation mmpur_ext_ekpo requestforquotation RFQ
RequestForQuotationItem mmpur_ext_ekpo requestforquotationitem RFQ Item
EvaldRcptSettlmtIsAllowed mmpur_ext_ekpo xersy Eval. Rcpt Settlmnt
UnlimitedOverdeliveryIsAllowed mmpur_ext_ekpo uebtk Unlimited Tol.
OverdelivTolrtdLmtRatioInPct mmpur_ext_ekpo uebto Overrun Tol.
UnderdelivTolrtdLmtRatioInPct mmpur_ext_ekpo untto Underdel. Tol.
RequisitionerName mmpur_ext_ekpo afnam Requisitioner
IncotermsClassification mmpur_ext_ekpo inco1 Incoterms
IncotermsTransferLocation mmpur_ext_ekpo inco2 Incoterms 2
IncotermsLocation1 mmpur_ext_ekpo inco2_l Inco. Location1
IncotermsLocation2 mmpur_ext_ekpo inco3_l Inco. Location2
PriorSupplier mmpur_ext_ekpo kolif Prior Supplier
InternationalArticleNumber mmpur_ext_ekpo ean11 EAN/UPC
SupplierConfirmationControlKey mmpur_ext_ekpo bstae Conf. Control
PriceIsToBePrinted mmpur_ext_ekpo prsdr Print Price
BaseUnit mmpur_ext_ekpo lmein Base Unit
PurchaseOrderItemCategory mmpur_ext_ekpo pstyp Item Category
ProfitCenter mmpur_ext_ekpo ko_prctr Profit Center
OrderPriceUnit mmpur_ext_ekpo bprme PO Price Unit
ItemVolumeUnit mmpur_ext_ekpo voleh Volume Unit
ItemWeightUnit mmpur_ext_ekpo gewei Weight Unit
MultipleAcctAssgmtDistribution mmpur_ext_ekpo vrtkz Distribution
PartialInvoiceDistribution mmpur_ext_ekpo twrkz Partial invoice
PricingDateControl mmpur_ext_ekpo meprf Pr. Date Cat.
IsStatisticalItem mmpur_ext_ekpo stapo Statistical
PurchasingParentItem mmpur_ext_ekpo uebpo H-Lev. Item
GoodsReceiptLatestCreationDate mmpur_ext_ekpo lewed Latest GR Date
IsReturnsItem mmpur_ext_ekpo retpo Returns Item
PurchasingOrderReason mmpur_ext_ekpo bsgru Reason for Ord.
AccountAssignmentCategory mmpur_ext_ekpo knttp AcctAssgnCat:CC
PurchasingInfoRecord mmpur_ext_ekpo infnr Info Record
NetAmount mmpur_ext_ekpo netwr Value
GrossAmount mmpur_ext_ekpo brtwr Gross value
EffectiveAmount mmpur_ext_ekpo effwr Effective value
Subtotal1Amount mmpur_ext_ekpo kzwi1 Subtotal 1
Subtotal2Amount mmpur_ext_ekpo kzwi2 Subtotal 2
Subtotal3Amount mmpur_ext_ekpo kzwi3 Subtotal 3
Subtotal4Amount mmpur_ext_ekpo kzwi4 Subtotal 4
Subtotal5Amount mmpur_ext_ekpo kzwi5 Subtotal 5
Subtotal6Amount mmpur_ext_ekpo kzwi6 Subtotal 6
TargetQuantity mmpur_ext_ekpo ktmng Target Quantity
OrderQuantity mmpur_ext_ekpo menge WarrCountValue
NetPriceAmount mmpur_ext_ekpo netpr Price
TargetAmount mmpur_ext_ekpo zwert Target Value
ItemVolume mmpur_ext_ekpo volum Volume
ItemGrossWeight mmpur_ext_ekpo brgew Weight
ItemNetWeight mmpur_ext_ekpo ntgew Net Weight
OrderPriceUnitToOrderUnitNmrtr mmpur_ext_ekpo bpumz Qty Conversion
OrdPriceUnitToOrderUnitDnmntr mmpur_ext_ekpo bpumn Qty Conversion
SchedAgrmtCumQtyReconcileDate mmpur_ext_ekpo abdat Store Until
SchedAgrmtAgreedCumQty mmpur_ext_ekpo abftz Agr. Cum. Qty.
ItemLastTransmissionDate mmpur_ext_ekpo drdat Last Transm.
ScheduleLineFirmOrderInDays mmpur_ext_ekpo etfz1 Firm Zone
SchedLineSemiFirmOrderInDays mmpur_ext_ekpo etfz2 Trade-Off Zone
NoDaysReminder1 mmpur_ext_ekpo mahn1 1st Rem./Exped.
NoDaysReminder2 mmpur_ext_ekpo mahn2 2nd Rem./Exped.
NoDaysReminder3 mmpur_ext_ekpo mahn3 3rd Rem./Exped.
RequirementTracking mmpur_ext_ekpo bednr Tracking Number
IsOrderAcknRqd mmpur_ext_ekpo kzabs Acknowl. Reqd.
StockType mmpur_ext_ekpo insmk Stock Type
TaxCode mmpur_ext_ekpo mwskz Tax Code
TaxJurisdiction mmpur_ext_ekpo txjcd Tax Jurisdict.
TaxCalculationProcedure mmpur_ext_ekpo taxprocedure Procedure
ShippingInstruction mmpur_ext_ekpo evers Shipping Instr.
NonDeductibleInputTaxAmount mmpur_ext_ekpo navnw Non-deductible
ValuationType mmpur_ext_ekpo bwtar Valuation Type
ValuationCategory mmpur_ext_ekpo bwtty Valuation Cat.
ItemIsRejectedBySupplier mmpur_ext_ekpo abskz Rejection Ind.
PurgDocPriceDate mmpur_ext_ekpo prdat Valid to
IsInfoRecordUpdated mmpur_ext_ekpo spinf InfoUpdate
PurgDocReleaseOrderQuantity mmpur_ext_ekpo abmng Rel. order qty.
PurgDocOrderAcknNumber mmpur_ext_ekpo labnr Order Acknowl.
PurgDocEstimatedPrice mmpur_ext_ekpo schpr Yard Sch. Prof.
SupplierSubrange mmpur_ext_ekpo ltsnr Suppl. Subrange
EarmarkedFunds mmpur_ext_ekpo kblnr Earmarked funds
EarmarkedFundsItem mmpur_ext_ekpo kblpos Document Item
PlannedDeliveryDurationInDays mmpur_ext_ekpo plifz Plnd Deliv.Time
GoodsReceiptDurationInDays mmpur_ext_ekpo webaz GR Proc. Time
PartialDeliveryIsAllowed mmpur_ext_ekpo kztlf Part.dlv./item
ConsumptionPosting mmpur_ext_ekpo kzvbr Consumption
SchedgAgrmtRelCreationProfile mmpur_ext_ekpo abueb RC Profile
SchedAgrmtCumulativeQtyControl mmpur_ext_ekpo spe_cq_ctrltype Control Type
CumulativeQuantityIsNotSent mmpur_ext_ekpo spe_cq_nocq No CQ Transmission
MinRemainingShelfLife mmpur_ext_ekpo mhdrz Rem. Shelf Life
ShelfLifeExpirationDatePeriod
QualityMgmtCtrlKey mmpur_ext_ekpo ssqss QM Control Key
InventorySpecialStockType mmpur_ext_ekpo sobkz Special Stock
IsRelevantForJITDelivSchedule mmpur_ext_ekpo fabkz Sched. Agr. Forecast
NextJITDelivSchedSendingDate mmpur_ext_ekpo nfabd Next JIT Sched.
NextFcstDelivSchedSendingDate mmpur_ext_ekpo nlabd Next FRC Sched.
FirmTradeOffZoneBindMRP mmpur_ext_ekpo kzstu Binding on MRP
QualityCertificateType mmpur_ext_ekpo zgtyp CertificateType
SupplierQuotation mmpur_ext_ekpo anfnr RFQ
SupplierQuotationItem mmpur_ext_ekpo anfps Item
IntrastatServiceCode mmpur_ext_ekpo isvco Intrastat Srvc. Code
CommodityCode mmpur_ext_ekpo stawn Commodity Code
DeliveryDocumentType mmpur_ext_ekpo lfret Del. Type Rtns
MaterialFreightGroup mmpur_ext_ekpo mfrgr Prod.Frgt Group
DiscountInKindEligibility mmpur_ext_ekpo nrfhg Disc. in kind
PurgItemIsBlockedForDelivery mmpur_ext_ekpo novet Shipping block
IssuingStorageLocation mmpur_ext_ekpo reslo Iss. Stor. Loc.
AllocationTable mmpur_ext_ekpo abeln Alloc. Table
AllocationTableItem mmpur_ext_ekpo abelp Item
RetailPromotion mmpur_ext_ekpo aktnr Promotion
DownPaymentType mmpur_ext_ekpo dptyp Down Payment
DownPaymentPercentageOfTotAmt mmpur_ext_ekpo dppct Down Payment %
DownPaymentAmount mmpur_ext_ekpo dpamt Down Payment Amt
DownPaymentDueDate mmpur_ext_ekpo dpdat Due Date for DP
ExpectedOverallLimitAmount mmpur_ext_ekpo expected_value Expected Value
OverallLimitAmount mmpur_ext_ekpo limit_amount Quota Price
RequirementSegment mmpur_ext_ekpo sgt_rcat Req. Segment
PurchasingCentralMaterial mmpur_ext_ekpo extmaterialforpurg Material
PurgDocItmTargetAmount mmpur_ext_ekpo target_value Target Value
PurchaseOrderItemStatus mmpur_ext_ekpo status Workflow Status
HasNote mmpur_ext_ekpo isnoteavailable Boolean Variables (X=true, space=false)
HasAttachment mmpur_ext_ekpo isattachmentavailable Boolean Variables (X=true, space=false)
ItemDeliveryAddressID mmpur_ext_ekpo poitemdeliveryaddressid Address Number
PurContractForOverallLimit mmpur_ext_ekpo contract_for_limit Contract For Limit
IsEndOfPurposeBlocked
DocumentCurrency _PurchaseOrder DocumentCurrency Document Currency
_PurchaseOrder _PurchaseOrder
_PurOrdAcctAssignment _PurOrdAcctAssignment
_PurOrdScheduleLine _PurOrdScheduleLine
_DocumentCurrency _PurchaseOrder _DocumentCurrency
_BaseUnit _BaseUnit
_OrderQuantityUnit _OrderQuantityUnit
_VolumeUnit _VolumeUnit
_WeightUnit _WeightUnit
_OrderPriceUnit _OrderPriceUnit
_PurgDocumentCategory _PurgDocumentCategory
_PurgDocumentItemCategory _PurgDocumentItemCategory
_ProductCategory _ProductCategory
_ProductType _ProductType
_AccountAssignmentCategory _AccountAssignmentCategory
_ProcmtHubProduct _ProcmtHubProduct

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_CentralPurchaseOrderItem.
-- 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: IMMCPURORDRITEM

CREATE VIEW I_CentralPurchaseOrderItem AS
SELECT
  ekpo.ebeln AS PurchaseOrder,
  ekpo.ebelp AS PurchaseOrderItem,
  ekpo.extsourcesystem AS ExtSourceSystem,
  ekpo.uniqueid AS ProcmtHubPOItemUniqueID,
  ekpo.bstyp AS PurchasingDocumentCategory,
  ekpo.loekz AS PurchasingDocumentDeletionCode,
  ekpo.matnr AS Material,
  ekpo.idnlf AS SupplierMaterialNumber,
  ekpo.ematn AS ManufacturerMaterial,
  ekpo.mfrpn AS ManufacturerPartNmbr,
  ekpo.mfrnr AS Manufacturer,
  ekpo.txz01 AS PurchaseOrderItemText,
  ekpo.bukrs AS CompanyCode,
  ekpo.werks AS Plant,
  ekpo.adrnr AS ManualDeliveryAddressID,
  ekpo.adrn2 AS ReferenceDeliveryAddressID,
  ekpo.kunnr AS Customer,
  ekpo.emlif AS Subcontractor,
  ekpo.lblkz AS SupplierIsSubcontractor,
  ekpo.satnr AS CrossPlantConfigurableProduct,
  ekpo.attyp AS ArticleCategory,
  ekpo.kanba AS PlndOrderReplnmtElmntType,
  ekpo.punei AS ProductPurchasePointsQtyUnit,
  ekpo.anzpu AS ProductPurchasePointsQty,
  cast (ekpo.lgort as vdm_storage_location preserving type) AS StorageLocation,
  ekpo.matkl AS MaterialGroup,
  ekpo.meins AS PurchaseOrderQuantityUnit,
  ekpo.umrez AS OrderItemQtyToBaseQtyNmrtr,
  ekpo.umren AS OrderItemQtyToBaseQtyDnmntr,
  cast (ekpo.peinh as vdm_price_unit preserving type) AS NetPriceQuantity,
  ekpo.elikz AS IsCompletelyDelivered,
  ekpo.erekz AS IsFinallyInvoiced,
  ekpo.wepos AS GoodsReceiptIsExpected,
  ekpo.repos AS InvoiceIsExpected,
  ekpo.webre AS InvoiceIsGoodsReceiptBased,
  ekpo.weunb AS GoodsReceiptIsNonValuated,
  ekpo.banfn AS PurchaseRequisition,
  ekpo.bnfpo AS PurchaseRequisitionItem,
  ekpo.packno AS ServicePackage,
  ekpo.serviceperformer AS ServicePerformer,
  ekpo.producttype AS ProductType,
  ekpo.mtart AS MaterialType,
  ekpo.ktpnr AS PurchaseContractItem,
  ekpo.konnr AS PurchaseContract,
  ekpo.requestforquotation AS RequestForQuotation,
  ekpo.requestforquotationitem AS RequestForQuotationItem,
  ekpo.xersy AS EvaldRcptSettlmtIsAllowed,
  ekpo.uebtk AS UnlimitedOverdeliveryIsAllowed,
  ekpo.uebto AS OverdelivTolrtdLmtRatioInPct,
  ekpo.untto AS UnderdelivTolrtdLmtRatioInPct,
  ekpo.afnam AS RequisitionerName,
  ekpo.inco1 AS IncotermsClassification,
  ekpo.inco2 AS IncotermsTransferLocation,
  ekpo.inco2_l AS IncotermsLocation1,
  ekpo.inco3_l AS IncotermsLocation2,
  ekpo.kolif AS PriorSupplier,
  ekpo.ean11 AS InternationalArticleNumber,
  ekpo.bstae AS SupplierConfirmationControlKey,
  ekpo.prsdr AS PriceIsToBePrinted,
  ekpo.lmein AS BaseUnit,
  ekpo.pstyp AS PurchaseOrderItemCategory,
  ekpo.ko_prctr AS ProfitCenter,
  ekpo.bprme AS OrderPriceUnit,
  ekpo.voleh AS ItemVolumeUnit,
  ekpo.gewei AS ItemWeightUnit,
  ekpo.vrtkz AS MultipleAcctAssgmtDistribution,
  ekpo.twrkz AS PartialInvoiceDistribution,
  ekpo.meprf AS PricingDateControl,
  ekpo.stapo AS IsStatisticalItem,
  ekpo.uebpo AS PurchasingParentItem,
  ekpo.lewed AS GoodsReceiptLatestCreationDate,
  ekpo.retpo AS IsReturnsItem,
  ekpo.bsgru AS PurchasingOrderReason,
  ekpo.knttp AS AccountAssignmentCategory,
  ekpo.infnr AS PurchasingInfoRecord,
  ekpo.netwr AS NetAmount,
  ekpo.brtwr AS GrossAmount,
  ekpo.effwr AS EffectiveAmount,
  ekpo.kzwi1 AS Subtotal1Amount,
  ekpo.kzwi2 AS Subtotal2Amount,
  ekpo.kzwi3 AS Subtotal3Amount,
  ekpo.kzwi4 AS Subtotal4Amount,
  ekpo.kzwi5 AS Subtotal5Amount,
  ekpo.kzwi6 AS Subtotal6Amount,
  ekpo.ktmng AS TargetQuantity,
  ekpo.menge AS OrderQuantity,
  ekpo.netpr AS NetPriceAmount,
  ekpo.zwert AS TargetAmount,
  ekpo.volum AS ItemVolume,
  ekpo.brgew AS ItemGrossWeight,
  ekpo.ntgew AS ItemNetWeight,
  ekpo.bpumz AS OrderPriceUnitToOrderUnitNmrtr,
  ekpo.bpumn AS OrdPriceUnitToOrderUnitDnmntr,
  ekpo.abdat AS SchedAgrmtCumQtyReconcileDate,
  ekpo.abftz AS SchedAgrmtAgreedCumQty,
  ekpo.drdat AS ItemLastTransmissionDate,
  ekpo.etfz1 AS ScheduleLineFirmOrderInDays,
  ekpo.etfz2 AS SchedLineSemiFirmOrderInDays,
  ekpo.mahn1 AS NoDaysReminder1,
  ekpo.mahn2 AS NoDaysReminder2,
  ekpo.mahn3 AS NoDaysReminder3,
  ekpo.bednr AS RequirementTracking,
  ekpo.kzabs AS IsOrderAcknRqd,
  ekpo.insmk AS StockType,
  ekpo.mwskz AS TaxCode,
  ekpo.txjcd AS TaxJurisdiction,
  ekpo.taxprocedure AS TaxCalculationProcedure,
  ekpo.evers AS ShippingInstruction,
  ekpo.navnw AS NonDeductibleInputTaxAmount,
  ekpo.bwtar AS ValuationType,
  ekpo.bwtty AS ValuationCategory,
  ekpo.abskz AS ItemIsRejectedBySupplier,
  ekpo.prdat AS PurgDocPriceDate,
  ekpo.spinf AS IsInfoRecordUpdated,
  ekpo.abmng AS PurgDocReleaseOrderQuantity,
  ekpo.labnr AS PurgDocOrderAcknNumber,
  ekpo.schpr AS PurgDocEstimatedPrice,
  ekpo.ltsnr AS SupplierSubrange,
  ekpo.kblnr AS EarmarkedFunds,
  ekpo.kblpos AS EarmarkedFundsItem,
  ekpo.plifz AS PlannedDeliveryDurationInDays,
  ekpo.webaz AS GoodsReceiptDurationInDays,
  ekpo.kztlf AS PartialDeliveryIsAllowed,
  ekpo.kzvbr AS ConsumptionPosting,
  ekpo.abueb AS SchedgAgrmtRelCreationProfile,
  ekpo.spe_cq_ctrltype AS SchedAgrmtCumulativeQtyControl,
  ekpo.spe_cq_nocq AS CumulativeQuantityIsNotSent,
  ekpo.mhdrz AS MinRemainingShelfLife,
  cast( ekpo.iprkz as char1 preserving type ) AS ShelfLifeExpirationDatePeriod,
  ekpo.ssqss AS QualityMgmtCtrlKey,
  ekpo.sobkz AS InventorySpecialStockType,
  ekpo.fabkz AS IsRelevantForJITDelivSchedule,
  ekpo.nfabd AS NextJITDelivSchedSendingDate,
  ekpo.nlabd AS NextFcstDelivSchedSendingDate,
  ekpo.kzstu AS FirmTradeOffZoneBindMRP,
  ekpo.zgtyp AS QualityCertificateType,
  ekpo.anfnr AS SupplierQuotation,
  ekpo.anfps AS SupplierQuotationItem,
  ekpo.isvco AS IntrastatServiceCode,
  ekpo.stawn AS CommodityCode,
  ekpo.lfret AS DeliveryDocumentType,
  ekpo.mfrgr AS MaterialFreightGroup,
  ekpo.nrfhg AS DiscountInKindEligibility,
  ekpo.novet AS PurgItemIsBlockedForDelivery,
  ekpo.reslo AS IssuingStorageLocation,
  ekpo.abeln AS AllocationTable,
  ekpo.abelp AS AllocationTableItem,
  ekpo.aktnr AS RetailPromotion,
  ekpo.dptyp AS DownPaymentType,
  ekpo.dppct AS DownPaymentPercentageOfTotAmt,
  ekpo.dpamt AS DownPaymentAmount,
  ekpo.dpdat AS DownPaymentDueDate,
  ekpo.expected_value AS ExpectedOverallLimitAmount,
  ekpo.limit_amount AS OverallLimitAmount,
  ekpo.sgt_rcat AS RequirementSegment,
  ekpo.extmaterialforpurg AS PurchasingCentralMaterial,
  ekpo.target_value AS PurgDocItmTargetAmount,
  ekpo.status AS PurchaseOrderItemStatus,
  ekpo.isnoteavailable AS HasNote,
  ekpo.isattachmentavailable AS HasAttachment,
  ekpo.poitemdeliveryaddressid AS ItemDeliveryAddressID,
  ekpo.contract_for_limit AS PurContractForOverallLimit,
  _PurchaseOrder.DocumentCurrency AS DocumentCurrency,
  _PurchaseOrder._DocumentCurrency AS _DocumentCurrency
FROM mmpur_ext_ekpo AS ekpo
LEFT OUTER JOIN I_CentralPurchaseOrder AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder AND ExtSourceSystem = _PurchaseOrder.ExtSourceSystem  -- association [1..1]
LEFT OUTER JOIN I_CntrlPurOrderAcctAssgmt AS _PurOrdAcctAssignment ON _PurOrdAcctAssignment.PurchaseOrder = PurchaseOrder AND _PurOrdAcctAssignment.PurchaseOrderItem = PurchaseOrderItem AND _PurOrdAcctAssignment.ExtSourceSystem = ExtSourceSystem  -- association [1..*]
LEFT OUTER JOIN I_CntrlPurOrderScheduleLine AS _PurOrdScheduleLine ON _PurOrdScheduleLine.PurchaseOrder = PurchaseOrder AND _PurOrdScheduleLine.PurchaseOrderItem = PurchaseOrderItem AND _PurOrdScheduleLine.ExtSourceSystem = ExtSourceSystem  -- association [1..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _OrderQuantityUnit ON PurchaseOrderQuantityUnit = _OrderQuantityUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _VolumeUnit ON ItemVolumeUnit = _VolumeUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _WeightUnit ON ItemWeightUnit = _WeightUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _OrderPriceUnit ON OrderPriceUnit = _OrderPriceUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentCategory AS _PurgDocumentCategory ON PurchasingDocumentCategory = _PurgDocumentCategory.PurchasingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_PurgDocumentItemCategory AS _PurgDocumentItemCategory ON PurchaseOrderItemCategory = _PurgDocumentItemCategory.PurchasingDocumentItemCategory  -- association [0..1]
LEFT OUTER JOIN I_ProductTypeCode AS _ProductType ON ProductType = _ProductType.ProductTypeCode  -- association [0..1]
LEFT OUTER JOIN I_ProductCategory AS _ProductCategory ON ArticleCategory = _ProductCategory.ProductCategory  -- association [0..1]
LEFT OUTER JOIN I_AccountAssignmentCategory AS _AccountAssignmentCategory ON AccountAssignmentCategory = _AccountAssignmentCategory.AccountAssignmentCategory  -- association [0..1]
LEFT OUTER JOIN I_ProcmtHubProduct AS _ProcmtHubProduct ON Material = _ProcmtHubProduct.ProcmtHubProduct AND ExtSourceSystem = _ProcmtHubProduct.ProcurementHubSourceSystem  -- association [0..1]
;