P_PurchaseOrderItem1
P_PurchaseOrderItem1 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_PurchaseOrderItem) and exposes 81 fields with key fields PurchaseOrder, PurchaseOrderItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PurchaseOrderItem | P_PurchaseOrderItem | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AbapCatalog.sqlViewName | PPOITEM1 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (81)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | Purchasing Document | |
| KEY | PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | |
| PurchaseOrderItemKey | ||||
| PurchaseOrderKey | ||||
| Supplier | _PurchaseOrder | Supplier | Supplier | |
| PurchaseOrderCategory | PurchaseOrderCategory | Doc. Category | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | Del. Indicator | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Material | Material | Vehicle Model | ||
| SupplierMaterialNumber | SupplierMaterialNumber | Supp. Mat. No. | ||
| ManufacturerPartNmbr | ManufacturerPartNmbr | Mfr Part Number | ||
| ManufacturerMaterial | ManufacturerMaterial | MPN: Material | ||
| PurchaseOrderItemText | PurchaseOrderItemText | Short Text | ||
| ProductType | ProductType | Product Type Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Plant | Plant | Valuation Area | ||
| ManualDeliveryAddressID | ManualDeliveryAddressID | Address Number | ||
| ReferenceDeliveryAddressID | ReferenceDeliveryAddressID | Reference Address | ||
| Customer | Customer | Sold-to Party | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | Order Unit | ||
| OrderItemQtyToBaseQtyNmrtr | OrderItemQtyToBaseQtyNmrtr | Equal To | ||
| OrderItemQtyToBaseQtyDnmntr | OrderItemQtyToBaseQtyDnmntr | Denominator | ||
| NetPriceQuantity | NetPriceQuantity | Price Unit | ||
| IsCompletelyDelivered | IsCompletelyDelivered | Is completely delivered | ||
| IsFinallyInvoiced | IsFinallyInvoiced | Final Invoice | ||
| GoodsReceiptIsExpected | GoodsReceiptIsExpected | Goods Receipt | ||
| InvoiceIsExpected | InvoiceIsExpected | Invoice Receipt | ||
| InvoiceIsGoodsReceiptBased | InvoiceIsGoodsReceiptBased | GR-Based IV | ||
| PurchaseContractItem | PurchaseContractItem | Item | ||
| PurchaseContract | PurchaseContract | Purchasing Doc. | ||
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| EvaldRcptSettlmtIsAllowed | EvaldRcptSettlmtIsAllowed | ERS | ||
| UnlimitedOverdeliveryIsAllowed | UnlimitedOverdeliveryIsAllowed | Unlimited Tol. | ||
| OverdelivTolrtdLmtRatioInPct | OverdelivTolrtdLmtRatioInPct | Overdeliv. Tol. | ||
| UnderdelivTolrtdLmtRatioInPct | UnderdelivTolrtdLmtRatioInPct | Underdel. Tol. | ||
| RequisitionerName | RequisitionerName | Requisitioner | ||
| ServicePerformer | ServicePerformer | Service Performer | ||
| ServicePackage | ServicePackage | Package number | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| PurchaseOrderItemCategory | PurchaseOrderItemCategory | Item Category | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| OrderPriceUnit | OrderPriceUnit | Order Price Un. | ||
| ItemVolumeUnit | ItemVolumeUnit | Volume Unit | ||
| ItemWeightUnit | ItemWeightUnit | Unit of Weight | ||
| MultipleAcctAssgmtDistribution | MultipleAcctAssgmtDistribution | Distribution | ||
| PartialInvoiceDistribution | PartialInvoiceDistribution | Partial invoice | ||
| PricingDateControl | PricingDateControl | Pr. Date Cat. | ||
| IsStatisticalItem | IsStatisticalItem | Statisticl.Indicator | ||
| IsReturnsItem | IsReturnsItem | Returns Item | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| InternationalArticleNumber | InternationalArticleNumber | EAN/UPC | ||
| ConfirmationControl | ConfirmationControl | Conf. Control | ||
| PriceIsToBePrinted | PriceIsToBePrinted | Print Price | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| PurchasingInfoRecord | PurchasingInfoRecord | Info Record | ||
| NetAmount | NetAmount | Stated Amount | ||
| EffectiveAmount | EffectiveAmount | Effective value | ||
| OrderQuantity | OrderQuantity | Quantity | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| ItemVolume | ItemVolume | Volume | ||
| ItemNetWeight | ItemNetWeight | Net Weight | ||
| OrderPriceUnitToOrderUnitNmrtr | OrderPriceUnitToOrderUnitNmrtr | Quantity Conversion Numerator | ||
| OrdPriceUnitToOrderUnitDnmntr | OrdPriceUnitToOrderUnitDnmntr | Quantity Conversion Denominator | ||
| GoodsReceiptIsNonValuated | GoodsReceiptIsNonValuated | GR Non-Valuated | ||
| TaxCode | TaxCode | Tax Code | ||
| ValuationType | ValuationType | Valuation Type | ||
| EarmarkedFunds | EarmarkedFunds | Earmarked Funds | ||
| EarmarkedFundsItem | EarmarkedFundsItem | Document Item | ||
| _Material | _Material | |||
| _MaterialGroup | _MaterialGroup | |||
| _Plant | _Plant | |||
| _PurchaseOrder | _PurchaseOrder | |||
| _PurchaseOrderItemCalcFields | _PurchaseOrderItemCalcFields | |||
| _PurchaseOrderPricingElement | _PurchaseOrderPricingElement | |||
| _PurgDocumentItemCategory | _PurgDocumentItemCategory |
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 P_PurchaseOrderItem1.
-- 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: PPOITEM1
CREATE VIEW P_PurchaseOrderItem1 AS
SELECT
PurchaseOrder,
PurchaseOrderItem,
concat( SAPClinet, PurchaseOrderItemKey) AS PurchaseOrderItemKey,
concat( SAPClinet, PurchaseOrder) AS PurchaseOrderKey,
_PurchaseOrder.Supplier AS Supplier,
PurchaseOrderCategory,
DocumentCurrency,
PurchasingDocumentDeletionCode,
MaterialGroup,
Material,
SupplierMaterialNumber,
ManufacturerPartNmbr,
ManufacturerMaterial,
PurchaseOrderItemText,
ProductType,
CompanyCode,
Plant,
ManualDeliveryAddressID,
ReferenceDeliveryAddressID,
Customer,
StorageLocation,
PurchaseOrderQuantityUnit,
OrderItemQtyToBaseQtyNmrtr,
OrderItemQtyToBaseQtyDnmntr,
NetPriceQuantity,
IsCompletelyDelivered,
IsFinallyInvoiced,
GoodsReceiptIsExpected,
InvoiceIsExpected,
InvoiceIsGoodsReceiptBased,
PurchaseContractItem,
PurchaseContract,
PurchaseRequisition,
PurchaseRequisitionItem,
EvaldRcptSettlmtIsAllowed,
UnlimitedOverdeliveryIsAllowed,
OverdelivTolrtdLmtRatioInPct,
UnderdelivTolrtdLmtRatioInPct,
RequisitionerName,
ServicePerformer,
ServicePackage,
BaseUnit,
PurchaseOrderItemCategory,
ProfitCenter,
OrderPriceUnit,
ItemVolumeUnit,
ItemWeightUnit,
MultipleAcctAssgmtDistribution,
PartialInvoiceDistribution,
PricingDateControl,
IsStatisticalItem,
IsReturnsItem,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
InternationalArticleNumber,
ConfirmationControl,
PriceIsToBePrinted,
AccountAssignmentCategory,
PurchasingInfoRecord,
NetAmount,
EffectiveAmount,
OrderQuantity,
NetPriceAmount,
ItemVolume,
ItemNetWeight,
OrderPriceUnitToOrderUnitNmrtr,
OrdPriceUnitToOrderUnitDnmntr,
GoodsReceiptIsNonValuated,
TaxCode,
ValuationType,
EarmarkedFunds,
EarmarkedFundsItem
FROM P_PurchaseOrderItem
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA