P_PurchaseOrderItemsImpacted
Purchase Order Items Impacted
P_PurchaseOrderItemsImpacted is a Consumption CDS View that provides data about "Purchase Order Items Impacted" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrderItem) and exposes 147 fields with key fields PurchaseOrder, PurchaseOrderItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchaseOrderItem | I_PurchaseOrderItem | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_MassUpdtConfCtrlVH | _ConfirmationControlVH | $projection.SupplierConfirmationControlKey = _ConfirmationControlVH.SupplierConfirmationControlKey |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPURORDITMIMPCTD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Purchase Order Items Impacted | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | PurchaseOrderItem | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.private | true | view |
Fields (147)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | ||
| KEY | PurchaseOrderItem | PurchaseOrderItem | ||
| PurchaseOrderItemUniqueID | PurchaseOrderItemUniqueID | |||
| PurchaseOrderCategory | PurchaseOrderCategory | |||
| DocumentCurrency | DocumentCurrency | |||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | |||
| MaterialGroup | MaterialGroup | |||
| Material | Material | |||
| MaterialType | MaterialType | |||
| SupplierMaterialNumber | SupplierMaterialNumber | |||
| SupplierSubrange | SupplierSubrange | |||
| ManufacturerPartNmbr | ManufacturerPartNmbr | |||
| Manufacturer | Manufacturer | |||
| ManufacturerMaterial | ManufacturerMaterial | |||
| PurchaseOrderItemText | PurchaseOrderItemText | |||
| ProductType | ProductType | |||
| CompanyCode | CompanyCode | |||
| Plant | Plant | |||
| ManualDeliveryAddressID | ManualDeliveryAddressID | |||
| ReferenceDeliveryAddressID | ReferenceDeliveryAddressID | |||
| Customer | Customer | |||
| Subcontractor | Subcontractor | |||
| SupplierIsSubcontractor | SupplierIsSubcontractor | |||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | |||
| ArticleCategory | ArticleCategory | |||
| PlndOrderReplnmtElmntType | PlndOrderReplnmtElmntType | |||
| ProductPurchasePointsQtyUnit | ProductPurchasePointsQtyUnit | |||
| ProductPurchasePointsQty | ProductPurchasePointsQty | |||
| StorageLocation | StorageLocation | |||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | |||
| OrderItemQtyToBaseQtyNmrtr | OrderItemQtyToBaseQtyNmrtr | |||
| OrderItemQtyToBaseQtyDnmntr | OrderItemQtyToBaseQtyDnmntr | |||
| NetPriceQuantity | NetPriceQuantity | |||
| IsCompletelyDelivered | IsCompletelyDelivered | |||
| IsFinallyInvoiced | IsFinallyInvoiced | |||
| GoodsReceiptIsExpected | GoodsReceiptIsExpected | |||
| InvoiceIsExpected | InvoiceIsExpected | |||
| InvoiceIsGoodsReceiptBased | InvoiceIsGoodsReceiptBased | |||
| PurchaseContractItem | PurchaseContractItem | |||
| PurchaseContract | PurchaseContract | |||
| PurchaseRequisition | PurchaseRequisition | |||
| RequirementTracking | RequirementTracking | |||
| IsOrderAcknRqd | IsOrderAcknRqd | |||
| PurchaseRequisitionItem | PurchaseRequisitionItem | |||
| RequestForQuotation | RequestForQuotation | |||
| RequestForQuotationItem | RequestForQuotationItem | |||
| SupplierQuotation | SupplierQuotation | |||
| SupplierQuotationItem | SupplierQuotationItem | |||
| EvaldRcptSettlmtIsAllowed | EvaldRcptSettlmtIsAllowed | |||
| UnlimitedOverdeliveryIsAllowed | UnlimitedOverdeliveryIsAllowed | |||
| OverdelivTolrtdLmtRatioInPct | OverdelivTolrtdLmtRatioInPct | |||
| UnderdelivTolrtdLmtRatioInPct | UnderdelivTolrtdLmtRatioInPct | |||
| RequisitionerName | RequisitionerName | |||
| PlannedDeliveryDurationInDays | PlannedDeliveryDurationInDays | |||
| GoodsReceiptDurationInDays | GoodsReceiptDurationInDays | |||
| PartialDeliveryIsAllowed | PartialDeliveryIsAllowed | |||
| ConsumptionPosting | ConsumptionPosting | |||
| ServicePerformer | ServicePerformer | |||
| ServicePackage | ServicePackage | |||
| BaseUnit | BaseUnit | |||
| PurchaseOrderItemCategory | ||||
| PurgDocItemCategoryName | ||||
| ProfitCenter | ProfitCenter | |||
| OrderPriceUnit | OrderPriceUnit | |||
| ItemVolumeUnit | ItemVolumeUnit | |||
| ItemWeightUnit | ItemWeightUnit | |||
| MultipleAcctAssgmtDistribution | MultipleAcctAssgmtDistribution | |||
| PartialInvoiceDistribution | PartialInvoiceDistribution | |||
| PricingDateControl | PricingDateControl | |||
| IsStatisticalItem | IsStatisticalItem | |||
| PurchasingParentItem | PurchasingParentItem | |||
| GoodsReceiptLatestCreationDate | GoodsReceiptLatestCreationDate | |||
| IsReturnsItem | IsReturnsItem | |||
| PurchasingOrderReason | PurchasingOrderReason | |||
| IncotermsClassification | IncotermsClassification | |||
| IncotermsTransferLocation | IncotermsTransferLocation | |||
| IncotermsLocation1 | IncotermsLocation1 | |||
| IncotermsLocation2 | IncotermsLocation2 | |||
| PriorSupplier | PriorSupplier | |||
| InternationalArticleNumber | InternationalArticleNumber | |||
| IntrastatServiceCode | IntrastatServiceCode | |||
| CommodityCode | CommodityCode | |||
| MaterialFreightGroup | MaterialFreightGroup | |||
| DiscountInKindEligibility | DiscountInKindEligibility | |||
| PurgItemIsBlockedForDelivery | PurgItemIsBlockedForDelivery | |||
| SupplierConfirmationControlKey | SupplierConfirmationControlKey | |||
| PriceIsToBePrinted | PriceIsToBePrinted | |||
| AccountAssignmentCategory | AccountAssignmentCategory | |||
| PurchasingInfoRecord | PurchasingInfoRecord | |||
| NetAmount | NetAmount | |||
| GrossAmount | GrossAmount | |||
| EffectiveAmount | EffectiveAmount | |||
| Subtotal1Amount | Subtotal1Amount | |||
| Subtotal2Amount | Subtotal2Amount | |||
| Subtotal3Amount | Subtotal3Amount | |||
| Subtotal4Amount | Subtotal4Amount | |||
| Subtotal5Amount | Subtotal5Amount | |||
| Subtotal6Amount | Subtotal6Amount | |||
| OrderQuantity | OrderQuantity | |||
| NetPriceAmount | NetPriceAmount | |||
| ItemVolume | ItemVolume | |||
| ItemGrossWeight | ItemGrossWeight | |||
| ItemNetWeight | ItemNetWeight | |||
| OrderPriceUnitToOrderUnitNmrtr | OrderPriceUnitToOrderUnitNmrtr | |||
| OrdPriceUnitToOrderUnitDnmntr | OrdPriceUnitToOrderUnitDnmntr | |||
| GoodsReceiptIsNonValuated | GoodsReceiptIsNonValuated | |||
| TaxCode | TaxCode | |||
| TaxJurisdiction | TaxJurisdiction | |||
| ShippingInstruction | ShippingInstruction | |||
| NonDeductibleInputTaxAmount | NonDeductibleInputTaxAmount | |||
| StockType | StockType | |||
| ValuationType | ValuationType | |||
| ValuationCategory | ValuationCategory | |||
| ItemIsRejectedBySupplier | ItemIsRejectedBySupplier | |||
| PurgDocPriceDate | PurgDocPriceDate | |||
| IsInfoRecordUpdated | IsInfoRecordUpdated | |||
| PurgDocReleaseOrderQuantity | PurgDocReleaseOrderQuantity | |||
| EarmarkedFundsDocument | EarmarkedFundsDocument | |||
| EarmarkedFundsDocumentItem | EarmarkedFundsDocumentItem | |||
| _PurchaseOrder | _PurchaseOrder | |||
| _DocumentCurrency | _DocumentCurrency | |||
| _PurchaseOrderItemCalcFields | _PurchaseOrderItemCalcFields | |||
| _CompanyCode | _CompanyCode | |||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation | |||
| _Material | _Material | |||
| _ManufacturerMaterial | _ManufacturerMaterial | |||
| _MaterialGroup | _MaterialGroup | |||
| _OrderPriceUnit | _OrderPriceUnit | |||
| _ManualDeliveryAddress | _ManualDeliveryAddress | |||
| _ReferenceDeliveryAddress | _ReferenceDeliveryAddress | |||
| _PurgDocumentCategory | _PurgDocumentCategory | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _PriorSupplier | _PriorSupplier | |||
| _ConsumptionPosting | _ConsumptionPosting | |||
| _PurchaseRequisitionItem | _PurchaseRequisitionItem | |||
| _PurchasingInfoRecord | _PurchasingInfoRecord | |||
| _Customer | _Customer | |||
| _Subcontractor | _Subcontractor | |||
| _ConfigurableProduct | _ConfigurableProduct | |||
| _PurchaseRequisition | _PurchaseRequisition | |||
| _PurchaseContract | _PurchaseContract | |||
| _PurchaseContractItem | _PurchaseContractItem | |||
| _ServicePerformer | _ServicePerformer | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _ProductType | _ProductType | |||
| _ConfirmationControlVH | _ConfirmationControlVH |
@AbapCatalog.sqlViewName: 'PPURORDITMIMPCTD'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'Purchase Order Items Impacted'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'PurchaseOrderItem'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@VDM.private: true
define view P_PurchaseOrderItemsImpacted
as select from I_PurchaseOrderItem
association [0..1] to C_MassUpdtConfCtrlVH as _ConfirmationControlVH on $projection.SupplierConfirmationControlKey = _ConfirmationControlVH.SupplierConfirmationControlKey
{
//Key
@ObjectModel.foreignKey.association: '_PurchaseOrder'
key PurchaseOrder,
key PurchaseOrderItem,
PurchaseOrderItemUniqueID,
@ObjectModel.foreignKey.association: '_PurgDocumentCategory'
PurchaseOrderCategory,
@Semantics.currencyCode: true
DocumentCurrency,
PurchasingDocumentDeletionCode,
//Product
@ObjectModel.foreignKey.association: '_MaterialGroup'
MaterialGroup,
@ObjectModel.foreignKey.association: '_Material'
Material,
MaterialType,
SupplierMaterialNumber,
SupplierSubrange,
ManufacturerPartNmbr,
Manufacturer,
@ObjectModel.foreignKey.association: '_ManufacturerMaterial'
ManufacturerMaterial,
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'
PurchaseOrderQuantityUnit,
OrderItemQtyToBaseQtyNmrtr,
OrderItemQtyToBaseQtyDnmntr,
@Semantics.quantity.unitOfMeasure: 'OrderPriceUnit'
@DefaultAggregation: #NONE
NetPriceQuantity,
IsCompletelyDelivered,
IsFinallyInvoiced,
GoodsReceiptIsExpected,
InvoiceIsExpected,
InvoiceIsGoodsReceiptBased,
@ObjectModel.foreignKey.association: '_PurchaseContractItem'
PurchaseContractItem,
@ObjectModel.foreignKey.association: '_PurchaseContract'
PurchaseContract,
@ObjectModel.foreignKey.association: '_PurchaseRequisition'
PurchaseRequisition,
RequirementTracking,
IsOrderAcknRqd,
@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'
_PurgDocumentItemCategory._Text[1:Language = $session.system_language].PurgDocExternalItemCategory as PurchaseOrderItemCategory,
_PurgDocumentItemCategory._Text[1:Language = $session.system_language].PurgDocItemCategoryName,
ProfitCenter,
@Semantics.unitOfMeasure: true
@ObjectModel.foreignKey.association: '_OrderPriceUnit'
OrderPriceUnit,
@Semantics.unitOfMeasure: true
ItemVolumeUnit,
@Semantics.unitOfMeasure: true
ItemWeightUnit,
MultipleAcctAssgmtDistribution,
PartialInvoiceDistribution,
PricingDateControl,
IsStatisticalItem,
PurchasingParentItem,
GoodsReceiptLatestCreationDate,
IsReturnsItem,
PurchasingOrderReason,
@ObjectModel.foreignKey.association: '_IncotermsClassification'
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
@ObjectModel.foreignKey.association: '_PriorSupplier'
PriorSupplier,
InternationalArticleNumber,
IntrastatServiceCode,
CommodityCode,
MaterialFreightGroup,
DiscountInKindEligibility,
PurgItemIsBlockedForDelivery,
//ConfirmationControl,
SupplierConfirmationControlKey,
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,
TaxCode,
TaxJurisdiction,
ShippingInstruction,
@Semantics.amount.currencyCode: 'DocumentCurrency'
@DefaultAggregation: #NONE
NonDeductibleInputTaxAmount,
StockType,
ValuationType,
ValuationCategory,
ItemIsRejectedBySupplier,
PurgDocPriceDate,
IsInfoRecordUpdated,
PurgDocReleaseOrderQuantity,
EarmarkedFundsDocument,
EarmarkedFundsDocumentItem,
_PurchaseOrder,
_DocumentCurrency,
_PurchaseOrderItemCalcFields,
_CompanyCode,
_Plant,
_StorageLocation,
_Material,
_ManufacturerMaterial,
_MaterialGroup,
_OrderPriceUnit,
_ManualDeliveryAddress,
_ReferenceDeliveryAddress,
_PurgDocumentCategory,
_IncotermsClassification,
_PriorSupplier,
_ConsumptionPosting,
//I_PurchasingDocumentItem._ScheduleLine,
_PurchaseRequisitionItem,
_PurchasingInfoRecord,
//I_PurchasingDocumentItem._Manufacturer,
_Customer,
_Subcontractor,
_ConfigurableProduct,
_PurchaseRequisition,
_PurchaseContract,
_PurchaseContractItem,
_ServicePerformer,
_OrderQuantityUnit,
_ProductType,
_ConfirmationControlVH
}
where
PurchasingDocumentDeletionCode <> 'L' // Do not display if Item is Marked for Deletion
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURCHASEORDERITEM",
"I_PURGDOCUMENTITEMCATEGORY",
"I_PURGDOCUMENTITEMCATEGORYTEXT"
],
"ASSOCIATED":
[
"C_MASSUPDTCONFCTRLVH",
"I_ADDRESS",
"I_BUSINESSPARTNER",
"I_COMPANYCODE",
"I_CONSUMPTIONPOSTING",
"I_CURRENCY",
"I_CUSTOMER",
"I_INCOTERMSCLASSIFICATION",
"I_MATERIAL",
"I_MATERIALGROUP",
"I_PLANT",
"I_PRODUCTTYPECODE",
"I_PURCHASECONTRACT",
"I_PURCHASECONTRACTITEM",
"I_PURCHASEORDER",
"I_PURCHASEORDERITEMCALCFIELDS",
"I_PURCHASEREQUISITION",
"I_PURCHASEREQUISITIONITEM",
"I_PURCHASINGDOCUMENTCATEGORY",
"I_PURCHASINGINFORECORDAPI01",
"I_STORAGELOCATION",
"I_SUPPLIER",
"I_UNITOFMEASURE"
],
"BASE":
[
"I_PURCHASEORDERITEM"
],
"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