P_PurchaseOrderItemPAI_06
P_PurchaseOrderItemPAI_06
P_PurchaseOrderItemPAI_06 is a Consumption CDS View that provides data about "P_PurchaseOrderItemPAI_06" in SAP S/4HANA. It reads from 2 data sources (P_PurchaseOrderItemPAI_04, P_PurchaseOrderItemPAI_07) and exposes 171 fields. Part of development package ODATA_MM_ANALYTICS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_PurchaseOrderItemPAI_04 | P_PurchaseOrderItemPAI_04 | from |
| P_PurchaseOrderItemPAI_07 | P_PurchaseOrderItemPAI_07 | left_outer |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AbapCatalog.sqlViewName | PPOITEMPAI6 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (171)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| AVG_PO_AMT | AVG_PO_AMT | |||
| AVG_PO_DAYS | AVG_PO_DAYS | |||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| CONT_DAYS_LEFT | CONT_DAYS_LEFT | |||
| CONT_LEN | CONT_LEN | |||
| CashDiscount1Days | CashDiscount1Days | Days from Baseline Date for Payment | ||
| CashDiscount1Percent | CashDiscount1Percent | Disc. Percent 1 | ||
| CashDiscount2Days | CashDiscount2Days | Days from Baseline Date for Payment | ||
| CashDiscount2Percent | CashDiscount2Percent | Disc. Percent 2 | ||
| CommodityCode | CommodityCode | Commodity Code | ||
| CompanyCode | P_PurchaseOrderItemPAI_04 | CompanyCode | Receiver Company Code | |
| ConfirmationControl | ConfirmationControl | Conf. Control | ||
| ConsumedQty | ConsumedQty | |||
| ContractCreateByUser | ContractCreateByUser | User Name | ||
| ContractCreationDate | ContractCreationDate | Time Stamp | ||
| ContractLastChangeDateTime | ContractLastChangeDateTime | Timestamp | ||
| ContractNetPaymentDays | ContractNetPaymentDays | Net Pmt Terms Period | ||
| ContractNetPriceAmount | ContractNetPriceAmount | Net Price | ||
| ContractPaymentTerms | ContractPaymentTerms | Pyt Terms | ||
| CorrespncExternalReference | CorrespncExternalReference | Your Reference | ||
| CorrespncInternalReference | CorrespncInternalReference | Our Reference | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| Customer | Customer | Sold-to Party | ||
| DAYS2GO_QUANT | DAYS2GO_QUANT | |||
| DAYS_INTERVAL | DAYS_INTERVAL | |||
| DeliveryAddressID | DeliveryAddressID | Address | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| EarmarkedFunds | EarmarkedFunds | Earmarked Funds | ||
| EarmarkedFundsItem | EarmarkedFundsItem | Document Item | ||
| EffectiveAmount | EffectiveAmount | Effective value | ||
| EvaldRcptSettlmtIsAllowed | EvaldRcptSettlmtIsAllowed | ERS | ||
| ExchangeRate | ExchangeRate | Exchange rate | ||
| ExpectedOverallLimitAmount | ExpectedOverallLimitAmount | Expected Value | ||
| GoodsReceiptIsExpected | GoodsReceiptIsExpected | Goods Receipt | ||
| GoodsReceiptIsNonValuated | GoodsReceiptIsNonValuated | GR Non-Valuated | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| InternationalArticleNumber | InternationalArticleNumber | EAN/UPC | ||
| IntrastatServiceCode | IntrastatServiceCode | Intrastat Srvc. Code | ||
| InvoiceIsExpected | InvoiceIsExpected | Invoice Receipt | ||
| InvoiceIsGoodsReceiptBased | InvoiceIsGoodsReceiptBased | GR-Based IV | ||
| InvoicingParty | InvoicingParty | Supplier | ||
| IsCompletelyDelivered | IsCompletelyDelivered | Is completely delivered | ||
| IsFinallyInvoiced | IsFinallyInvoiced | Final Invoice | ||
| IsInfoAtRegistration | IsInfoAtRegistration | InfoAtReg. | ||
| IsInfoRecordUpdated | IsInfoRecordUpdated | InfoUpdate | ||
| IsIntrastatReportingExcluded | IsIntrastatReportingExcluded | exclude Intra | ||
| IsIntrastatReportingRelevant | IsIntrastatReportingRelevant | Intrastat rel. | ||
| IsOrderAcknRqd | IsOrderAcknRqd | Acknowl. Reqd. | ||
| IsReturnsItem | IsReturnsItem | Returns Item | ||
| IsStatisticalItem | IsStatisticalItem | Statisticl.Indicator | ||
| ItemNetWeight | ItemNetWeight | Net Weight | ||
| ItemVolume | ItemVolume | Volume | ||
| ItemVolumeUnit | ItemVolumeUnit | Volume Unit | ||
| ItemWeightUnit | ItemWeightUnit | Unit of Weight | ||
| Language | Language | Report Text Language | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| ManualDeliveryAddressID | ManualDeliveryAddressID | Address Number | ||
| ManualSupplierAddressID | ManualSupplierAddressID | Address Number | ||
| Manufacturer | Manufacturer | Manufacturer | ||
| ManufacturerMaterial | ManufacturerMaterial | MPN: Material | ||
| ManufacturerPartNmbr | ManufacturerPartNmbr | Mfr Part Number | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| MaterialType | MaterialType | Material Type | ||
| MultipleAcctAssgmtDistribution | MultipleAcctAssgmtDistribution | Distribution | ||
| NetAmount | NetAmount | Stated Amount | ||
| NetPaymentDays | NetPaymentDays | Net Pmt Terms Period | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| NetPriceQuantity | NetPriceQuantity | Price Unit | ||
| NoDaysReminder1 | NoDaysReminder1 | 1st Rem./Exped. | ||
| NoDaysReminder2 | NoDaysReminder2 | 2nd Rem./Exped. | ||
| NoDaysReminder3 | NoDaysReminder3 | 3rd Rem./Exped. | ||
| OrdPriceUnitToOrderUnitDnmntr | OrdPriceUnitToOrderUnitDnmntr | Quantity Conversion Denominator | ||
| OrderItemQtyToBaseQtyDnmntr | OrderItemQtyToBaseQtyDnmntr | Denominator | ||
| OrderItemQtyToBaseQtyNmrtr | OrderItemQtyToBaseQtyNmrtr | Equal To | ||
| OrderPriceUnit | OrderPriceUnit | Order Price Un. | ||
| OrderPriceUnitToOrderUnitNmrtr | OrderPriceUnitToOrderUnitNmrtr | Quantity Conversion Numerator | ||
| OrderQuantity | OrderQuantity | Quantity | ||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| OverallLimitAmount | OverallLimitAmount | Overall Limit | ||
| OverdelivTolrtdLmtRatioInPct | OverdelivTolrtdLmtRatioInPct | Overdeliv. Tol. | ||
| PODATE_MONTH | PODATE_MONTH | Calendar Month | ||
| PODATE_WEEK | PODATE_WEEK | Calendar Week | ||
| PODATE_WEEKDAY | PODATE_WEEKDAY | Weekdays | ||
| PO_ITEMS_NUM | PO_ITEMS_NUM | |||
| PartialInvoiceDistribution | PartialInvoiceDistribution | Partial invoice | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| Plant | P_PurchaseOrderItemPAI_04 | Plant | Valuation Area | |
| PriceIsToBePrinted | PriceIsToBePrinted | Print Price | ||
| PricingDateControl | PricingDateControl | Pr. Date Cat. | ||
| PricingProcedure | PricingProcedure | Procedure | ||
| ProductType | ProductType | Product Type Group | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| PurchaseContract | P_PurchaseOrderItemPAI_04 | PurchaseContract | Purchasing Doc. | |
| PurchaseContractItem | P_PurchaseOrderItemPAI_04 | PurchaseContractItem | Item | |
| PurchaseContractItemText | PurchaseContractItemText | Short Text | ||
| PurchaseContractTargetAmount | PurchaseContractTargetAmount | Target Value | ||
| PurchaseContractType | PurchaseContractType | Order Type | ||
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderCategory | PurchaseOrderCategory | Doc. Category | ||
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| PurchaseOrderItemCategory | PurchaseOrderItemCategory | Item Category | ||
| PurchaseOrderItemText | PurchaseOrderItemText | Short Text | ||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | Order Unit | ||
| PurchaseOrderSubtype | PurchaseOrderSubtype | Control | ||
| PurchaseOrderType | PurchaseOrderType | PO Type | ||
| PurchaseOrderValidityEndDate | PurchaseOrderValidityEndDate | ValidTo | ||
| PurchaseOrderValidityStartDate | PurchaseOrderValidityStartDate | Validity Start Date | ||
| PurchaseRequisition | PurchaseRequisition | Requisition | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Requisn. item | ||
| PurchasingCategory | PurchasingCategory | Purchasing Category | ||
| PurchasingCompletenessStatus | PurchasingCompletenessStatus | Incomplete | ||
| PurchasingContractDeletionCode | PurchasingContractDeletionCode | Del. Indicator | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurchasingDocumentCondition | PurchasingDocumentCondition | Doc. Condition | ||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | Del. Indicator | ||
| PurchasingDocumentIsAged | PurchasingDocumentIsAged | |||
| PurchasingDocumentItemCategory | PurchasingDocumentItemCategory | Item Category | ||
| PurchasingDocumentName | PurchasingDocumentName | Purch. Doc. Name | ||
| PurchasingDocumentOrigin | PurchasingDocumentOrigin | Status | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchasingInfoRecord | PurchasingInfoRecord | Info Record | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingProcessingStatus | PurchasingProcessingStatus | Proc. State | ||
| PurgCatName | PurgCatName | Purchasing Cat. Name | ||
| PurgDocEstimatedPrice | PurgDocEstimatedPrice | Estimated Price | ||
| PurgDocOrderAcknNumber | PurgDocOrderAcknNumber | Order Acknowl. | ||
| PurgDocPriceDate | PurgDocPriceDate | Price Date | ||
| PurgDocReleaseOrderQuantity | PurgDocReleaseOrderQuantity | Rel. order qty. | ||
| QuotationSubmissionDate | QuotationSubmissionDate | Quotation Date | ||
| RUNNING_PERCENTAGE | RUNNING_PERCENTAGE | |||
| RUNNING_TOTAL | RUNNING_TOTAL | |||
| ReferenceDeliveryAddressID | ReferenceDeliveryAddressID | Reference Address | ||
| ReleaseCode | ReleaseCode | Release ind. | ||
| ReleaseIsNotCompleted | ReleaseIsNotCompleted | Subj.to Release | ||
| RequirementTracking | RequirementTracking | Tracking Number | ||
| RequisitionerName | RequisitionerName | Requisitioner | ||
| ServicePackage | ServicePackage | Package number | ||
| ServicePerformer | ServicePerformer | Service Performer | ||
| ShippingInstruction | ShippingInstruction | Shipping Instr. | ||
| StockType | StockType | Stock Type | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| Subcontractor | Subcontractor | Supplier | ||
| Supplier | Supplier | Supplier | ||
| SupplierAddressID | SupplierAddressID | Address Number | ||
| SupplierConfirmationControlKey | SupplierConfirmationControlKey | Conf. Control | ||
| SupplierMaterialNumber | SupplierMaterialNumber | Supp. Mat. No. | ||
| SupplierPhoneNumber | SupplierPhoneNumber | Telephone | ||
| SupplierQuotation | SupplierQuotation | RFQ | ||
| SupplierQuotationExternalID | SupplierQuotationExternalID | Quotation | ||
| SupplierRespSalesPersonName | SupplierRespSalesPersonName | Salesperson | ||
| SupplierSubrange | SupplierSubrange | Suppl. Subrange | ||
| SupplyingPlant | SupplyingPlant | Supplying Plant | ||
| SupplyingSupplier | SupplyingSupplier | Goods Supplier | ||
| TargetAmount | TargetAmount | Target Value | ||
| TargetQuantity | TargetQuantity | Target Quantity | ||
| TaxCode | TaxCode | Tax Code | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| UnderdelivTolrtdLmtRatioInPct | UnderdelivTolrtdLmtRatioInPct | Underdel. Tol. | ||
| UnlimitedOverdeliveryIsAllowed | UnlimitedOverdeliveryIsAllowed | Unlimited Tol. | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValuationType | ValuationType | Valuation Type | ||
| VolumeUnit | VolumeUnit | Volume Unit |
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_PurchaseOrderItemPAI_06.
-- 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: PPOITEMPAI6
CREATE VIEW P_PurchaseOrderItemPAI_06 AS
SELECT
AVG_PO_AMT,
AVG_PO_DAYS,
AccountAssignmentCategory,
BaseUnit,
CONT_DAYS_LEFT,
CONT_LEN,
CashDiscount1Days,
CashDiscount1Percent,
CashDiscount2Days,
CashDiscount2Percent,
CommodityCode,
P_PurchaseOrderItemPAI_04.CompanyCode AS CompanyCode,
ConfirmationControl,
ConsumedQty,
ContractCreateByUser,
ContractCreationDate,
ContractLastChangeDateTime,
ContractNetPaymentDays,
ContractNetPriceAmount,
ContractPaymentTerms,
CorrespncExternalReference,
CorrespncInternalReference,
CreatedByUser,
CreationDate,
Customer,
DAYS2GO_QUANT,
DAYS_INTERVAL,
DeliveryAddressID,
DocumentCurrency,
EarmarkedFunds,
EarmarkedFundsItem,
EffectiveAmount,
EvaldRcptSettlmtIsAllowed,
ExchangeRate,
ExpectedOverallLimitAmount,
GoodsReceiptIsExpected,
GoodsReceiptIsNonValuated,
IncotermsClassification,
IncotermsLocation1,
IncotermsLocation2,
IncotermsTransferLocation,
IncotermsVersion,
InternationalArticleNumber,
IntrastatServiceCode,
InvoiceIsExpected,
InvoiceIsGoodsReceiptBased,
InvoicingParty,
IsCompletelyDelivered,
IsFinallyInvoiced,
IsInfoAtRegistration,
IsInfoRecordUpdated,
IsIntrastatReportingExcluded,
IsIntrastatReportingRelevant,
IsOrderAcknRqd,
IsReturnsItem,
IsStatisticalItem,
ItemNetWeight,
ItemVolume,
ItemVolumeUnit,
ItemWeightUnit,
Language,
LastChangeDateTime,
ManualDeliveryAddressID,
ManualSupplierAddressID,
Manufacturer,
ManufacturerMaterial,
ManufacturerPartNmbr,
Material,
MaterialGroup,
MaterialType,
MultipleAcctAssgmtDistribution,
NetAmount,
NetPaymentDays,
NetPriceAmount,
NetPriceQuantity,
NoDaysReminder1,
NoDaysReminder2,
NoDaysReminder3,
OrdPriceUnitToOrderUnitDnmntr,
OrderItemQtyToBaseQtyDnmntr,
OrderItemQtyToBaseQtyNmrtr,
OrderPriceUnit,
OrderPriceUnitToOrderUnitNmrtr,
OrderQuantity,
OrderQuantityUnit,
OverallLimitAmount,
OverdelivTolrtdLmtRatioInPct,
PODATE_MONTH,
PODATE_WEEK,
PODATE_WEEKDAY,
PO_ITEMS_NUM,
PartialInvoiceDistribution,
PaymentTerms,
P_PurchaseOrderItemPAI_04.Plant AS Plant,
PriceIsToBePrinted,
PricingDateControl,
PricingProcedure,
ProductType,
ProfitCenter,
P_PurchaseOrderItemPAI_04.PurchaseContract AS PurchaseContract,
P_PurchaseOrderItemPAI_04.PurchaseContractItem AS PurchaseContractItem,
PurchaseContractItemText,
PurchaseContractTargetAmount,
PurchaseContractType,
PurchaseOrder,
PurchaseOrderCategory,
PurchaseOrderDate,
PurchaseOrderItem,
PurchaseOrderItemCategory,
PurchaseOrderItemText,
PurchaseOrderQuantityUnit,
PurchaseOrderSubtype,
PurchaseOrderType,
PurchaseOrderValidityEndDate,
PurchaseOrderValidityStartDate,
PurchaseRequisition,
PurchaseRequisitionItem,
PurchasingCategory,
PurchasingCompletenessStatus,
PurchasingContractDeletionCode,
PurchasingDocumentCategory,
PurchasingDocumentCondition,
PurchasingDocumentDeletionCode,
PurchasingDocumentIsAged,
PurchasingDocumentItemCategory,
PurchasingDocumentName,
PurchasingDocumentOrigin,
PurchasingGroup,
PurchasingInfoRecord,
PurchasingOrganization,
PurchasingProcessingStatus,
PurgCatName,
PurgDocEstimatedPrice,
PurgDocOrderAcknNumber,
PurgDocPriceDate,
PurgDocReleaseOrderQuantity,
QuotationSubmissionDate,
RUNNING_PERCENTAGE,
RUNNING_TOTAL,
ReferenceDeliveryAddressID,
ReleaseCode,
ReleaseIsNotCompleted,
RequirementTracking,
RequisitionerName,
ServicePackage,
ServicePerformer,
ShippingInstruction,
StockType,
StorageLocation,
Subcontractor,
Supplier,
SupplierAddressID,
SupplierConfirmationControlKey,
SupplierMaterialNumber,
SupplierPhoneNumber,
SupplierQuotation,
SupplierQuotationExternalID,
SupplierRespSalesPersonName,
SupplierSubrange,
SupplyingPlant,
SupplyingSupplier,
TargetAmount,
TargetQuantity,
TaxCode,
TaxJurisdiction,
UnderdelivTolrtdLmtRatioInPct,
UnlimitedOverdeliveryIsAllowed,
ValidityEndDate,
ValidityStartDate,
ValuationType,
VolumeUnit
FROM P_PurchaseOrderItemPAI_04
LEFT OUTER JOIN P_PurchaseOrderItemPAI_07 ON /* join condition not captured in parsed metadata */
;
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