R_PURCHASEORDERITEM
Purchase Order Item Internal View
R_PURCHASEORDERITEM is a CDS View in S/4HANA. Purchase Order Item Internal View. It contains 206 fields. 31 CDS views read from this table.
CDS Views using this table (31)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_PurchaseOrderItem | view | from | COMPOSITE | Item |
| C_POItemProdCmplncCriticality | view | from | CONSUMPTION | Purchase Order Item Product Compliance Criticality Rating |
| C_PPS_PurchaseOrderItemTP | view_entity | from | CONSUMPTION | Purchase Order Item |
| C_PurOrdItemCO2eqFootprint | view | inner | CONSUMPTION | Purchase Order Item CO2e Footprint |
| C_ServiceEntrySheetProcessFlow | view | inner | CONSUMPTION | Process Flow For Service Entry Sheet |
| C_SuplrConfPurOrderItemVH | view | from | CONSUMPTION | Purchase Order Item Value Help |
| I_ACMPurchaseOrderItem | view | from | COMPOSITE | Purchase Order Item |
| I_MMTimeRecording | view | inner | BASIC | Time Sheet (CATS): Transfer to MM |
| I_PPS_PurchaseOrderItemC | view_entity | from | COMPOSITE | PPS Pur Ord Item - Cube |
| I_PPS_PurOrdDocTotOptnlC | view_entity | from | COMPOSITE | PPS Purchase Order DocTotal Optnl - Cube |
| I_PPS_PurOrdDocTotOptnlC | view_entity | union | COMPOSITE | PPS Purchase Order DocTotal Optnl - Cube |
| I_PurchaseOrderItemAPI01 | view | from | BASIC | Purchase Order Item |
| I_PurchaseorderItemEnhanced | view | from | COMPOSITE | Purchase Order Item enhanced |
| I_PurchaseOrderItemTP | view | from | TRANSACTIONAL | Transactional View for Purchase Order Item |
| I_RFM_MngPOGenNextDelivDate | view | inner | COMPOSITE | Next Delivery Date for GA |
| I_RFM_MngPOGnrc | view | from | COMPOSITE | Composite View for GA - Manage PO |
| I_RFM_MngPOItemData | view | from | COMPOSITE | Item Details |
| I_RFM_MngPOItm | view | from | COMPOSITE | Item Details |
| I_SrvcEntrShtPurOrdValueHelp | view | inner | BASIC | SES: Purchase Order Value Help |
| P_PODeliveryAddressType | view_entity | from | COMPOSITE | Deriving type of the delivery address |
| P_SlsDocFlfmtProcHierarchyD31 | view | inner | CONSUMPTION | |
| P_SlsOrderInSupplyPurgIssue3 | view | inner | COMPOSITE | |
| P_SlsOrdProcFlow12 | view | inner | CONSUMPTION | |
| P_SOFAProcFlow12 | view | inner | COMPOSITE | |
| R_PPS_PurchaseOrderItem | view_entity | from | BASIC | PPS Purchase Order Item Internal |
| R_PPS_PurchaseOrderItemTP | view_entity | from | TRANSACTIONAL | Purchase Order Item Transactional View |
| R_PurchaseOrderInvoicingPlan | view_entity | inner | BASIC | Invoicing Plan for Purchase Orders |
| R_PurchaseOrderItemTP | view_entity | from | TRANSACTIONAL | Purchase Order Item Transactional View |
| R_PurchaseOrdItemPlainLongText | view | from | COMPOSITE | Purchase Order Item Long text |
| R_PurOrderHierNodeRltn | view | from | COMPOSITE | Source view for the parent child relationship PO hierarchies |
| R_PurOrdItemExternalReference | view_entity | inner | BASIC | PO Item External References |
Fields (206)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | 10 |
| KEY | PurchaseOrderItem | PurchaseOrderItem | 10 |
| KEY | PurchaseOrderItemText | PurchaseOrderItemText | 7 |
| KEY | PurchasingParentItem | PurchasingParentItem | 5 |
| _ConfigurableProduct | _ConfigurableProduct | 2 | |
| _DocumentCurrency | _DocumentCurrency | 2 | |
| _IncotermsClassification | _IncotermsClassification | 2 | |
| _ManualDeliveryAddress_2 | _ManualDeliveryAddress_2 | 1 | |
| _ManufacturerMaterial | _ManufacturerMaterial | 2 | |
| _Material | _Material | 2 | |
| _MaterialGroup | _MaterialGroup | 2 | |
| _OrderQuantityUnit | _OrderQuantityUnit | 2 | |
| _Plant | _Plant | 2 | |
| _PurchaseContract | _PurchaseContract | 2 | |
| _PurchaseContractItem | _PurchaseContractItem | 2 | |
| _PurchaseOrder | _PurchaseOrder | 1 | |
| _PurchaseRequisition | _PurchaseRequisition | 2 | |
| _PurchaseRequisitionItem | _PurchaseRequisitionItem | 2 | |
| _PurgDocumentItemCategory | _PurgDocumentItemCategory | 2 | |
| _ReferenceDeliveryAddress_2 | _ReferenceDeliveryAddress_2 | 1 | |
| _StorageLocation | _StorageLocation | 2 | |
| AccountAssignmentCategory | AccountAssignmentCategory,AcctAssignmentCategoryName | 2 | |
| AllocationTable | AllocationTable | 1 | |
| AllocationTableItem | AllocationTableItem | 1 | |
| ArticleCategory | ArticleCategory | 1 | |
| BaseUnit | BaseUnit | 4 | |
| BR_CFOPCategory | BR_CFOPCategory | 2 | |
| BR_IsProducedInHouse | BR_IsProducedInHouse | 2 | |
| BR_MaterialOrigin | BR_MaterialOrigin | 2 | |
| BR_MaterialUsage | BR_MaterialUsage | 2 | |
| BR_NCM | BR_NCM | 1 | |
| BudgetPeriod | BudgetPeriod | 2 | |
| CommitmentItem | CommitmentItem | 1 | |
| CommitmentItemShortID | CommitmentItemShortID | 1 | |
| CommodityCode | CommodityCode | 2 | |
| CompanyCode | CompanyCode | 2 | |
| ConsumptionPosting | ConsumptionPosting | 2 | |
| ConsumptionTaxCtrlCode | ConsumptionTaxCtrlCode | 1 | |
| CostCenter | CostCenter | 2 | |
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | 3 | |
| Customer | Customer | 2 | |
| DeliveryDocumentType | DeliveryDocumentType | 1 | |
| DiscountInKindEligibility | DiscountInKindEligibility | 1 | |
| DiversionStatus | DiversionStatus | 3 | |
| DocumentCurrency | DocumentCurrency | 5 | |
| DownPaymentAmount | DownPaymentAmount | 1 | |
| DownPaymentDueDate | DownPaymentDueDate | 1 | |
| DownPaymentPercentageOfTotAmt | DownPaymentPercentageOfTotAmt | 1 | |
| DownPaymentType | DownPaymentType | 1 | |
| EarmarkedFunds | EarmarkedFunds | 1 | |
| EarmarkedFundsDocument | EarmarkedFundsDocument | 2 | |
| EarmarkedFundsDocumentItem | EarmarkedFundsDocumentItem | 2 | |
| EarmarkedFundsItem | EarmarkedFundsItem | 1 | |
| EffectiveAmount | EffectiveAmount | 2 | |
| EvaldRcptSettlmtIsAllowed | EvaldRcptSettlmtIsAllowed | 2 | |
| ExpectedOverallLimitAmount | ExpectedOverallLimitAmount | 2 | |
| FunctionalArea | FunctionalArea | 2 | |
| Fund | Fund | 2 | |
| FundsCenter | FundsCenter | 2 | |
| GLAccount | GLAccount | 2 | |
| GoodsReceiptDurationInDays | GoodsReceiptDurationInDays | 1 | |
| GoodsReceiptIsExpected | GoodsReceiptIsExpected | 2 | |
| GoodsReceiptIsNonValuated | GoodsReceiptIsNonValuated | 2 | |
| GoodsReceiptLatestCreationDate | GoodsReceiptLatestCreationDate | 1 | |
| GrantID | GrantID | 2 | |
| GrossAmount | GrossAmount | 1 | |
| IncotermsClassification | IncotermsClassification | 5 | |
| IncotermsLocation1 | IncotermsLocation1 | 5 | |
| IncotermsLocation2 | IncotermsLocation2 | 5 | |
| IncotermsSupChnDvtgLocAddlUUID | IncotermsSupChnDvtgLocAddlUUID | 1 | |
| IncotermsSupChnLoc1AddlUUID | IncotermsSupChnLoc1AddlUUID | 1 | |
| IncotermsSupChnLoc2AddlUUID | IncotermsSupChnLoc2AddlUUID | 1 | |
| IncotermsTransferLocation | IncotermsTransferLocation | 5 | |
| InternationalArticleNumber | InternationalArticleNumber | 2 | |
| IntrastatServiceCode | IntrastatServiceCode | 2 | |
| InventorySpecialStockType | InventorySpecialStockType | 1 | |
| InvoiceIsExpected | InvoiceIsExpected | 2 | |
| InvoiceIsGoodsReceiptBased | InvoiceIsGoodsReceiptBased | 2 | |
| IsCompletelyDelivered | IsCompletelyDelivered | 4 | |
| IsFinallyInvoiced | IsFinallyInvoiced | 2 | |
| IsOrderAcknRqd | IsOrderAcknRqd | 2 | |
| IsReturnsItem | IsReturnsItem | 2 | |
| IsStatisticalItem | IsStatisticalItem | 2 | |
| IssuingStorageLocation | IssuingStorageLocation | 1 | |
| IsToBeAcceptedAtOrigin | IsToBeAcceptedAtOrigin | 1 | |
| ItemGrossWeight | ItemGrossWeight | 1 | |
| ItemHasValueAddedService | ItemHasValueAddedService | 1 | |
| ItemIsRejectedBySupplier | ItemIsRejectedBySupplier | 2 | |
| ItemNetWeight | ItemNetWeight | 1 | |
| ItemVolume | ItemVolume | 1 | |
| ItemVolumeUnit | ItemVolumeUnit | 2 | |
| ItemWeightUnit | ItemWeightUnit | 2 | |
| ManualDeliveryAddressID | ManualDeliveryAddressID | 2 | |
| Manufacturer | Manufacturer | 1 | |
| ManufacturerMaterial | ManufacturerMaterial | 5 | |
| ManufacturerPartNmbr | ManufacturerPartNmbr | 2 | |
| Material | Material | 5 | |
| MaterialFreightGroup | MaterialFreightGroup | 1 | |
| MaterialGroup | MaterialGroup,MaterialGroupName | 6 | |
| MaterialType | MaterialType | 4 | |
| MultipleAcctAssgmtDistribution | MultipleAcctAssgmtDistribution | 2 | |
| NetAmount | NetAmount | 5 | |
| NetPriceAmount | NetPriceAmount | 2 | |
| NetPriceQuantity | NetPriceQuantity | 2 | |
| NonDeductibleInputTaxAmount | NonDeductibleInputTaxAmount | 1 | |
| OrderItemQtyToBaseQtyDnmntr | OrderItemQtyToBaseQtyDnmntr | 2 | |
| OrderItemQtyToBaseQtyNmrtr | OrderItemQtyToBaseQtyNmrtr | 2 | |
| OrderPriceUnit | OrderPriceUnit | 2 | |
| OrderPriceUnitToOrderUnitNmrtr | OrderPriceUnitToOrderUnitNmrtr | 2 | |
| OrderQuantity | OrderQuantity | 5 | |
| OrdPriceUnitToOrderUnitDnmntr | OrdPriceUnitToOrderUnitDnmntr | 2 | |
| OverallLimitAmount | OverallLimitAmount | 2 | |
| OverdelivTolrtdLmtRatioInPct | OverdelivTolrtdLmtRatioInPct | 2 | |
| PartialDeliveryIsAllowed | PartialDeliveryIsAllowed | 1 | |
| PartialInvoiceDistribution | PartialInvoiceDistribution | 2 | |
| PFMTransDataFootprintUUID | PFMTransDataFootprintUUID | 1 | |
| PlannedDeliveryDurationInDays | PlannedDeliveryDurationInDays | 2 | |
| Plant | Plant | 10 | |
| PlndOrderReplnmtElmntType | PlndOrderReplnmtElmntType | 1 | |
| PriceChangeInSESIsAllowed | PriceChangeInSESIsAllowed | 1 | |
| PriceIsToBePrinted | PriceIsToBePrinted | 2 | |
| PricingDateControl | PricingDateControl | 2 | |
| PriorSupplier | PriorSupplier | 1 | |
| ProductCharacteristic1 | ProductCharacteristic1 | 3 | |
| ProductCharacteristic2 | ProductCharacteristic2 | 3 | |
| ProductCharacteristic3 | ProductCharacteristic3 | 3 | |
| ProductCollection | ProductCollection | 4 | |
| ProductPurchasePointsQty | ProductPurchasePointsQty | 1 | |
| ProductPurchasePointsQtyUnit | ProductPurchasePointsQtyUnit | 1 | |
| ProductSeason | ProductSeason | 4 | |
| ProductSeasonYear | ProductSeasonYear | 4 | |
| ProductTheme | ProductTheme | 4 | |
| ProductType | ProductType | 1 | |
| ProfitCenter | ProfitCenter | 2 | |
| PurchaseContract | PurchaseContract | 5 | |
| PurchaseContractItem | PurchaseContractItem | 5 | |
| PurchaseOrderCategory | PurchaseOrderCategory | 1 | |
| PurchaseOrderItemCategory | PurchaseOrderItemCategory | 4 | |
| PurchaseOrderItemUniqueID | PurchaseOrderItemUniqueID | 2 | |
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | 5 | |
| PurchaseOrderReferenceType | PurchaseOrderReferenceType | 1 | |
| PurchaseOrderType | PurchaseOrderType | 1 | |
| PurchaseRequisition | PurchaseRequisition | 4 | |
| PurchaseRequisitionItem | PurchaseRequisitionItem | 4 | |
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | 6 | |
| PurchasingDocumentItemOrigin | PurchasingDocumentItemOrigin | 1 | |
| PurchasingGroup | PurchasingGroup | 1 | |
| PurchasingInfoRecord | PurchasingInfoRecord | 2 | |
| PurchasingInfoRecordUpdateCode | IsInfoRecordUpdated,PurchasingInfoRecordUpdateCode | 2 | |
| PurchasingOrderReason | PurchasingOrderReason | 1 | |
| PurchasingOrganization | PurchasingOrganization | 1 | |
| PurContractForOverallLimit | PurContractForOverallLimit | 2 | |
| PurgConfigurableItemNumber | PurgConfigurableItemNumber | 2 | |
| PurgDocAggrgdSubitemCategory | PurgDocAggrgdSubitemCategory | 2 | |
| PurgDocOrderAcknNumber | PurgDocOrderAcknNumber | 2 | |
| PurgDocPriceDate | PurgDocPriceDate | 1 | |
| PurgDocReleaseOrderQuantity | PurgDocReleaseOrderQuantity | 1 | |
| PurgDocSubitemCategory | PurgDocSubitemCategory | 2 | |
| PurgExternalSortNumber | PurgExternalSortNumber | 2 | |
| PurgItemIsBlockedForDelivery | PurgItemIsBlockedForDelivery | 1 | |
| PurgProdCmplncDngrsGoodsStatus | PurgProdCmplncDngrsGoodsStatus | 2 | |
| PurgProdCmplncSupplierStatus | PurgProdCmplncSupplierStatus | 2 | |
| PurgProductMarketabilityStatus | PurgProductMarketabilityStatus | 2 | |
| PurgSafetyDataSheetStatus | PurgSafetyDataSheetStatus | 2 | |
| RefDocNmbrForTrcblyInPO | RefDocNmbrForTrcblyInPO | 1 | |
| ReferenceDeliveryAddressID | ReferenceDeliveryAddressID | 2 | |
| ReferenceDocumentItem | ReferenceDocumentItem | 1 | |
| RequestForQuotation | RequestForQuotation | 2 | |
| RequestForQuotationItem | RequestForQuotationItem | 2 | |
| RequirementSegment | RequirementSegment | 1 | |
| RequirementTracking | RequirementTracking | 1 | |
| RequisitionerName | RequisitionerName | 2 | |
| RetailPromotion | RetailPromotion | 1 | |
| SeasonCompletenessStatus | SeasonCompletenessStatus | 1 | |
| ServicePackage | ServicePackage | 2 | |
| ServicePerformer | ServicePerformer | 3 | |
| ShippingGroupNumber | ShippingGroupNumber | 1 | |
| ShippingGroupRule | ShippingGroupRule | 1 | |
| ShippingInstruction | ShippingInstruction | 2 | |
| StockSegment | StockSegment | 4 | |
| StockType | StockType | 1 | |
| StorageLocation | StorageLocation | 5 | |
| Subcontractor | Subcontractor | 1 | |
| Subtotal1Amount | Subtotal1Amount | 1 | |
| Subtotal2Amount | Subtotal2Amount | 1 | |
| Subtotal3Amount | Subtotal3Amount | 1 | |
| Subtotal4Amount | Subtotal4Amount | 1 | |
| Subtotal5Amount | Subtotal5Amount | 1 | |
| Subtotal6Amount | Subtotal6Amount | 1 | |
| SupplierConfirmationControlKey | SupplierConfirmationControlKey | 1 | |
| SupplierIsSubcontractor | SupplierIsSubcontractor | 1 | |
| SupplierMaterialNumber | SupplierMaterialNumber | 4 | |
| SupplierQuotation | SupplierQuotation | 2 | |
| SupplierQuotationItem | SupplierQuotationItem | 2 | |
| SupplierSubrange | SupplierSubrange | 1 | |
| TaxCode | TaxCode | 4 | |
| TaxCodeValidFromDate | TaxCodeValidFromDate | 2 | |
| TaxCountry | TaxCountry | 2 | |
| TaxDeterminationDate | TaxDeterminationDate | 2 | |
| TaxJurisdiction | TaxJurisdiction | 2 | |
| UnderdelivTolrtdLmtRatioInPct | UnderdelivTolrtdLmtRatioInPct | 2 | |
| UnlimitedOverdeliveryIsAllowed | UnlimitedOverdeliveryIsAllowed | 2 | |
| ValAddedSrvcParentItmNumber | ValAddedSrvcParentItmNumber | 1 | |
| ValuationCategory | ValuationCategory | 1 | |
| ValuationType | ValuationType | 1 | |
| WBSElementInternalID | WBSElementInternalID | 1 |
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Purchase Order Item Internal View'
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'RMMPURCHORDRITEM'
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.representativeKey: 'PurchaseOrderItem'
@ObjectModel.uniqueIdField: 'PurchaseOrderItemUniqueID'
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@AccessControl.privilegedAssociations: [ '_ManualDeliveryAddress', '_ReferenceDeliveryAddress', '_DeliveryAddress' ]
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view R_PurchaseOrderItem
as select from R_PurchasingDocumentItem
association [1..1] to R_PurchaseOrder as _PurchaseOrder on $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
association [0..*] to R_PurOrderItemDeliveryAddress as _DeliveryAddress on $projection.ManualDeliveryAddressID = _DeliveryAddress.DeliveryAddressID
association [1..*] to I_PurOrdPricingElement as _PurchaseOrderPricingElement on $projection.PurchaseOrder = _PurchaseOrderPricingElement.PurchaseOrder
and $projection.PurchaseOrderItem = _PurchaseOrderPricingElement.PurchaseOrderItem
association [1..1] to I_PurchaseOrderItemCalcFields as _PurchaseOrderItemCalcFields on $projection.PurchaseOrder = _PurchaseOrderItemCalcFields.PurchaseOrder
and $projection.PurchaseOrderItem = _PurchaseOrderItemCalcFields.PurchaseOrderItem
association [0..1] to I_Material as _Material on $projection.Material = _Material.Material
association [0..*] to I_PurchaseOrderHistoryBasic as _PurchaseOrderHistory on $projection.PurchaseOrder = _PurchaseOrderHistory.PurchaseOrder
and $projection.PurchaseOrderItem = _PurchaseOrderHistory.PurchaseOrderItem
association [0..*] to I_PurOrdAccountAssignment as _PurOrdAccountAssignment on $projection.PurchaseOrder = _PurOrdAccountAssignment.PurchaseOrder
and $projection.PurchaseOrderItem = _PurOrdAccountAssignment.PurchaseOrderItem
{
//Key
@ObjectModel.foreignKey.association: '_PurchaseOrder'
key cast (PurchasingDocument as vdm_purchaseorder preserving type) as PurchaseOrder,
key cast (PurchasingDocumentItem as vdm_purchaseorderitem preserving type) as PurchaseOrderItem,
PurchasingDocumentItemUniqueID as PurchaseOrderItemUniqueID,
@ObjectModel.foreignKey.association: '_PurgDocumentCategory'
PurchasingDocumentCategory as PurchaseOrderCategory,
// Header fields ***************
@Semantics.currencyCode: true
DocumentCurrency,
PurchasingOrganization,
PurchasingGroup,
PurchasingDocumentType as PurchaseOrderType,
//************************************
PurchasingDocumentDeletionCode,
PurchasingDocumentItemOrigin,
//Product
@ObjectModel.foreignKey.association: '_MaterialGroup'
MaterialGroup,
@ObjectModel.foreignKey.association: '_Material'
Material,
MaterialType,
SupplierMaterialNumber,
SupplierSubrange,
ManufacturerPartNmbr,
Manufacturer,
@ObjectModel.foreignKey.association: '_ManufacturerMaterial'
ManufacturerMaterial,
PurchasingDocumentItemText as PurchaseOrderItemText,
@ObjectModel.foreignKey.association: '_ProductType'
ProductType,
@ObjectModel.foreignKey.association: '_CompanyCode'
CompanyCode,
@ObjectModel.foreignKey.association: '_Plant'
Plant,
@ObjectModel.foreignKey.association: '_ManualDeliveryAddress'
ManualDeliveryAddressID,
@ObjectModel.foreignKey.association: '_ReferenceDeliveryAddress'
ReferenceDeliveryAddressID,
@ObjectModel.foreignKey.association: '_Customer'
Customer,
@ObjectModel.foreignKey.association: '_Subcontractor'
Subcontractor,
SupplierIsSubcontractor,
@ObjectModel.foreignKey.association: '_ConfigurableProduct'
CrossPlantConfigurableProduct,
//@ObjectModel.foreignKey.association: '_ProductCategory'
ArticleCategory,
PlndOrderReplnmtElmntType,
@Semantics.unitOfMeasure: true
ProductPurchasePointsQtyUnit,
@Semantics.quantity.unitOfMeasure: 'ProductPurchasePointsQtyUnit'
@DefaultAggregation: #NONE
ProductPurchasePointsQty,
@ObjectModel.foreignKey.association: '_StorageLocation'
StorageLocation,
@Semantics.unitOfMeasure:true
@ObjectModel.foreignKey.association: '_OrderQuantityUnit'
OrderQuantityUnit as PurchaseOrderQuantityUnit,
OrderItemQtyToBaseQtyNmrtr,
OrderItemQtyToBaseQtyDnmntr,
@Semantics.quantity.unitOfMeasure: 'OrderPriceUnit'
@DefaultAggregation: #NONE
NetPriceQuantity,
IsCompletelyDelivered,
IsFinallyInvoiced,
GoodsReceiptIsExpected,
InvoiceIsExpected,
IsOrderAcknRqd,
InvoiceIsGoodsReceiptBased,
PriceChangeInSESIsAllowed,
@ObjectModel.foreignKey.association: '_PurchaseContractItem'
PurchaseContractItem,
@ObjectModel.foreignKey.association: '_PurchaseContract'
PurchaseContract,
@ObjectModel.foreignKey.association: '_PurchaseRequisition'
PurchaseRequisition,
RequirementTracking,
@ObjectModel.foreignKey.association: '_PurchaseRequisitionItem'
PurchaseRequisitionItem,
RequestForQuotation,
RequestForQuotationItem,
SupplierQuotation,
SupplierQuotationItem,
EvaldRcptSettlmtIsAllowed,
UnlimitedOverdeliveryIsAllowed,
OverdelivTolrtdLmtRatioInPct,
UnderdelivTolrtdLmtRatioInPct,
RequisitionerName,
PlannedDeliveryDurationInDays,
GoodsReceiptDurationInDays,
PartialDeliveryIsAllowed,
ConsumptionPosting,
@ObjectModel.foreignKey.association: '_ServicePerformer'
ServicePerformer,
ServicePackage,
@Semantics.unitOfMeasure: true
BaseUnit,
@ObjectModel.foreignKey.association: '_PurgDocumentItemCategory'
PurchasingDocumentItemCategory as PurchaseOrderItemCategory,
ProfitCenter,
@Semantics.unitOfMeasure: true
@ObjectModel.foreignKey.association: '_OrderPriceUnit'
OrderPriceUnit,
@Semantics.unitOfMeasure: true
VolumeUnit as ItemVolumeUnit,
@Semantics.unitOfMeasure: true
WeightUnit as ItemWeightUnit,
MultipleAcctAssgmtDistribution,
PartialInvoiceDistribution,
PricingDateControl,
IsStatisticalItem,
PurchasingParentItem,
GoodsReceiptLatestCreationDate,
IsReturnsItem,
IsGoodsCountCorrectionItem,
GdsCtCrrtnDelivDocBySuplr,
GdsCtCrrtnDelivDocItemBySuplr,
PurchasingOrderReason,
@ObjectModel.foreignKey.association: '_IncotermsClassification'
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
IncotermsSupChnLoc1AddlUUID,
IncotermsSupChnLoc2AddlUUID,
IncotermsSupChnDvtgLocAddlUUID,
@ObjectModel.foreignKey.association: '_PriorSupplier'
PriorSupplier,
InvoicingPlan,
InternationalArticleNumber,
IntrastatServiceCode,
CommodityCode,
MaterialFreightGroup,
DiscountInKindEligibility,
PurgItemIsBlockedForDelivery,
//ConfirmationControl,
SupplierConfirmationControlKey,
PurgDocOrderAcknNumber,
PriceIsToBePrinted,
AccountAssignmentCategory,
@ObjectModel.foreignKey.association: '_PurchasingInfoRecord'
PurchasingInfoRecord,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
NetAmount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
GrossAmount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
EffectiveAmount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
Subtotal1Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
Subtotal2Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
Subtotal3Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
Subtotal4Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
Subtotal5Amount,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
Subtotal6Amount,
// ekpo.ktmng as TargetQuantity,
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderQuantityUnit'
@DefaultAggregation: #NONE
OrderQuantity,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
NetPriceAmount,
// ekpo.zwert as OutlineAgreementTargetAmount,
@Semantics.quantity.unitOfMeasure: 'ItemVolumeUnit'
@DefaultAggregation: #NONE
ItemVolume,
@Semantics.quantity.unitOfMeasure: 'ItemWeightUnit'
@DefaultAggregation: #NONE
ItemGrossWeight,
@Semantics.quantity.unitOfMeasure: 'ItemWeightUnit'
@DefaultAggregation: #NONE
ItemNetWeight,
OrderPriceUnitToOrderUnitNmrtr,
OrdPriceUnitToOrderUnitDnmntr,
GoodsReceiptIsNonValuated,
IsToBeAcceptedAtOrigin,
TaxCode,
TaxJurisdiction,
TaxCodeValidFromDate,
TaxCountry,
TaxDeterminationDate,
ShippingInstruction,
ShippingType,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
NonDeductibleInputTaxAmount,
StockType,
ValuationType,
ValuationCategory,
ItemIsRejectedBySupplier,
PurgDocPriceDate,
PurchasingInfoRecordUpdateCode,
PurgDocReleaseOrderQuantity,
InventorySpecialStockType,
DeliveryDocumentType,
IssuingStorageLocation,
AllocationTable,
AllocationTableItem,
RetailPromotion,
// Additional Fields for hierarchy implementation
PurgConfigurableItemNumber,
PurgDocAggrgdSubitemCategory,
PurgDocSubitemCategory,
PurgExternalSortNumber,
// PurgExternalHierarchyCategory,
// Down Payment
DownPaymentType,
DownPaymentPercentageOfTotAmt,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
DownPaymentAmount,
DownPaymentDueDate,
// S/4 Limit
ExpectedOverallLimitAmount,
OverallLimitAmount,
PurContractForOverallLimit,
// fields from product compliance
PurgProdCmplncSupplierStatus,
PurgProductMarketabilityStatus,
PurgSafetyDataSheetStatus,
PurgProdCmplncDngrsGoodsStatus,
RequirementSegment,
SubcontrgCompIsRealTmeCnsmd,
// CRM third party order process
ThirdPtyOrdProcgExtReference,
ThirdPtyOrdProcgExtRefItem,
// Public Sector account assignment fields
Fund,
BudgetPeriod,
FundsCenter,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'CommitmentItemShortID'
CommitmentItem,
cast( CommitmentItemShortID as fmis_ci_internalname preserving type ) as CommitmentItemShortID,
FunctionalArea,
GrantID,
EarmarkedFundsDocument,
EarmarkedFundsDocumentItem,
EarmarkedFundsDocument as EarmarkedFunds,
EarmarkedFundsDocumentItem as EarmarkedFundsItem,
CostCenter,
GLAccount,
WBSElementInternalID,
PartnerReportedBusinessArea,
// Brazil Extension
@ObjectModel.foreignKey.association: '_BR_MaterialOrigin'
BR_MaterialOrigin,
@ObjectModel.foreignKey.association: '_BR_MaterialUsage'
BR_MaterialUsage,
@ObjectModel.foreignKey.association: '_BR_CFOPCategory'
BR_CFOPCategory,
@ObjectModel.foreignKey.association: '_BR_NCM'
BR_NCM,
ConsumptionTaxCtrlCode,
IN_GSTControlCode,
BR_IsProducedInHouse,
// Additional Fields from Fashion Management
//X_RFM_I_PurchaseOrderItem
// Seasons
ProductSeasonYear,
ProductSeason,
ProductCollection,
ProductTheme,
SeasonCompletenessStatus,
// CommittedQuantity,
// PSST
ShippingGroupRule,
ShippingGroupNumber,
// Characteristics
ProductCharacteristic1,
ProductCharacteristic2,
ProductCharacteristic3,
// Sub Items
SubItemCategory,
// PODiversion
DiversionStatus,
ReferenceDocumentNumber,
RefDocNmbrForTrcblyInPO,
ReferenceDocumentItem,
PurchaseOrderReferenceType,
ReferenceDocumentScheduleLine,
ItemHasValueAddedService,
ValAddedSrvcParentItmNumber,
//Foot Print Intigration
PFMTransDataFootprintUUID,
// X_RFM_I_PurchaseOrderItemSeg
// Segmentation
StockSegment,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_PurchaseOrderPricingElement,
_PurchaseOrder,
_DeliveryAddress,
_PurchaseOrderHistory,
_PurOrdAccountAssignment,
_DocumentCurrency,
_PurchaseOrderItemCalcFields,
_CompanyCode,
_Plant,
_StorageLocation,
_Material,
_ManufacturerMaterial,
_MaterialGroup,
_OrderPriceUnit,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_ManualDeliveryAddress_2'
_ManualDeliveryAddress,
_ManualDeliveryAddress_2,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_ReferenceDeliveryAddress_2'
_ReferenceDeliveryAddress,
_ReferenceDeliveryAddress_2,
_PurgDocumentCategory,
_PurgDocumentItemCategory,
_IncotermsClassification,
_PriorSupplier,
_ConsumptionPosting,
//I_PurchasingDocumentItem._ScheduleLine,
_PurchaseRequisitionItem,
_PurchasingInfoRecord,
//I_PurchasingDocumentItem._Manufacturer,
_Customer,
_Subcontractor,
_ConfigurableProduct,
_PurchaseRequisition,
_PurchaseContract,
_PurchaseContractItem,
_ServicePerformer,
_OrderQuantityUnit,
_ProductType,
_AllocationTable,
_AllocationTableItem,
_RetailPromotion,
//Associations for Brazilian specific fields
_BR_MaterialOrigin,
_BR_MaterialUsage,
_BR_CFOPCategory,
_BR_NCM
}
where
PurchasingDocumentCategory = 'F'
and IsEndOfPurposeBlocked = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_PURCHASINGDOCUMENTITEM"
],
"ASSOCIATED":
[
"I_ADDRESS",
"I_ADDRESS_2",
"I_ALLOCATIONTABLE",
"I_ALLOCATIONTABLEITEM",
"I_BR_CFOPCATEGORY",
"I_BR_MATERIALORIGIN",
"I_BR_MATERIALUSAGE",
"I_BR_NCM",
"I_BUSINESSPARTNER",
"I_COMPANYCODE",
"I_CONSUMPTIONPOSTING",
"I_CURRENCY",
"I_CUSTOMER",
"I_INCOTERMSCLASSIFICATION",
"I_MATERIAL",
"I_MATERIALGROUP",
"I_ORGANIZATIONADDRESS",
"I_PLANT",
"I_PRODUCTTYPECODE",
"I_PURCHASECONTRACT",
"I_PURCHASECONTRACTITEM",
"I_PURCHASEORDERHISTORYBASIC",
"I_PURCHASEORDERITEMCALCFIELDS",
"I_PURCHASEREQUISITION",
"I_PURCHASEREQUISITIONITEM",
"I_PURCHASINGDOCUMENTCATEGORY",
"I_PURCHASINGINFORECORDAPI01",
"I_PURGDOCUMENTITEMCATEGORY",
"I_PURORDACCOUNTASSIGNMENT",
"I_PURORDPRICINGELEMENT",
"I_RETAILPROMOTION",
"I_STORAGELOCATION",
"I_SUPPLIER",
"I_UNITOFMEASURE",
"R_PURCHASEORDER",
"R_PURORDERITEMDELIVERYADDRESS"
],
"BASE":
[
"R_PURCHASINGDOCUMENTITEM"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/