I_PurchaseOrderItemAPI01
Purchase Order Item
I_PurchaseOrderItemAPI01 (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Sourcing & Procurement
I_PurchaseOrderItemAPI01 is a Basic CDS View that provides data about "Purchase Order Item" in SAP S/4HANA. It reads from 1 data source (R_PurchaseOrderItem) and exposes 144 fields with key fields PurchaseOrder, PurchaseOrderItem. It has 4 associations to related views.
SAP Help Documentation
| Category | CDS Views for Purchase Orders |
|---|---|
| Status | Safety data sheet status (item) |
Purpose
This CDS view helps to retrieve details of items requested with a purchase order. Details are, for example the units of measure, account assignment data, the service performer, and so on. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: M_BEST_BSA (Document type in purchase order) M_BEST_EKO (Purchasing organization in purchase order) M_BEST_EKG (Purchasing group in purchase order) M_BEST_WRK (Plant in purchase order) The following authorization objects are required:
Structure
Important Fields Important fields in this view include the following: Field Name Description PurchaseOrder Purchase order number PurchaseOrderItem Item number in purchase order PurchaseOrderItemUniqueID Concatenation of EBELN and EBELP PurchaseOrderCategory Purchasing document category DocumentCurrency Currency key (document currency) PurchasingDocumentDeletionCode Deletion indicator in purchasing document PurchasingDocumentItemOrigin Origin of a purchasing document item MaterialGroup Material group Material Material number MaterialType Material type SupplierMaterialNumber Material number used by supplier SupplierSubrange Supplier subrange ManufacturerPartNmbr Manufacturer part number Manufacturer Number of a manufacturer ManufacturerMaterial Material number PurchaseOrderItemText Short text ProductType Product type group CompanyCode Company code Plant Plant ManualDeliveryAddressID Manual address number in purchasing document item ReferenceDeliveryAddressID Number of delivery address Customer Customer Subcontractor Supplier to be supplied/who is to receive delivery SupplierIsSubcontractor Subcontracting supplier CrossPlantConfigurableProduct Cross-plant configurable material ArticleCategory Material category PlndOrderReplnmtElmntType Kanban indicator ProductPurchasePointsQtyUnit Points unit ProductPurchasePointsQty Number of points StorageLocation Storage location PurchaseOrderQuantityUnit Purchase order unit of measure OrderItemQtyToBaseQtyNmrtr Numerator for conversion of order unit to base unit OrderItemQtyToBaseQtyDnmntr Denominator for conversion of order unit to base unit NetPriceQuantity Price unit IsCompletelyDelivered Derliver completed indicator IsFinallyInvoiced Final invoice indicator GoodsReceiptIsExpected Goods receipt indicator InvoiceIsExpected Invoice receipt indicator InvoiceIsGoodsReceiptBased Indicator: GR-based invoice verification PurchaseContractItem Item number of principal purchase agreement PurchaseContract Number of principal purchase agreement PurchaseRequisition Purchase requisition number RequirementTracking Requirement tracking number PurchaseRequisitionItem Item number of purchase requisition EvaldRcptSettlmntIsAllowed Evaluated receipt settlement (ERS) UnlimitedOverdeliveryIsAllowed Unlimited overdelivery allowed OverdelivTolrtdLmtRatioInPct Overdelivery tolerance UnderdelivTolrtdLmtRatioInPct Underdelivery tolerance RequitionerName Name of requisitioner/requester PlannedDeliveryDurationInDays Planned delivery time in days GoodsReceiptDurationInDays Goods receipt processing time PartialDeliveryIsAllowed Partial delivery at item level (stock transfer) ConsumptionPosting Consumption posting ServicePerformer Service performer BaseUnit Base unit of measure PurchaseOrderItemCategory Item category in purchasing document ProfitCenter Profit center OrderPriceUnit Order price unit ItemVolumeUnit Volume unit ItemWeightUnit Unit of weight MultipleAcctAssgmtDistribution Distribution indicator for multiple account assi
This CDS view helps to retrieve details of items requested with a purchase order. Details are, for example the units of measure, account assignment data, the service performer, and so on. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: M_BEST_BSA (Document type in purchase order) M_BEST_EKO (Purchasing organization in purchase order) M_BEST_EKG (Purchasing group in purchase order) M_BEST_WRK (Plant in purchase order) The following authorization objects are required:
Structure
Important Fields Important fields in this view include the following: Field Name Description PurchaseOrder Purchase order number PurchaseOrderItem Item number in purchase order PurchaseOrderItemUniqueID Concatenation of EBELN and EBELP PurchaseOrderCategory Purchasing document category DocumentCurrency Currency key (document currency) PurchasingDocumentDeletionCode Deletion indicator in purchasing document PurchasingDocumentItemOrigin Origin of a purchasing document item MaterialGroup Material group Material Material number MaterialType Material type SupplierMaterialNumber Material number used by supplier SupplierSubrange Supplier subrange ManufacturerPartNmbr Manufacturer part number Manufacturer Number of a manufacturer ManufacturerMaterial Material number PurchaseOrderItemText Short text ProductType Product type group CompanyCode Company code Plant Plant ManualDeliveryAddressID Manual address number in purchasing document item ReferenceDeliveryAddressID Number of delivery address Customer Customer Subcontractor Supplier to be supplied/who is to receive delivery SupplierIsSubcontractor Subcontracting supplier CrossPlantConfigurableProduct Cross-plant configurable material ArticleCategory Material category PlndOrderReplnmtElmntType Kanban indicator ProductPurchasePointsQtyUnit Points unit ProductPurchasePointsQty Number of points StorageLocation Storage location PurchaseOrderQuantityUnit Purchase order unit of measure OrderItemQtyToBaseQtyNmrtr Numerator for conversion of order unit to base unit OrderItemQtyToBaseQtyDnmntr Denominator for conversion of order unit to base unit NetPriceQuantity Price unit IsCompletelyDelivered Derliver completed indicator IsFinallyInvoiced Final invoice indicator GoodsReceiptIsExpected Goods receipt indicator InvoiceIsExpected Invoice receipt indicator InvoiceIsGoodsReceiptBased Indicator: GR-based invoice verification PurchaseContractItem Item number of principal purchase agreement PurchaseContract Number of principal purchase agreement PurchaseRequisition Purchase requisition number RequirementTracking Requirement tracking number PurchaseRequisitionItem Item number of purchase requisition EvaldRcptSettlmntIsAllowed Evaluated receipt settlement (ERS) UnlimitedOverdeliveryIsAllowed Unlimited overdelivery allowed OverdelivTolrtdLmtRatioInPct Overdelivery tolerance UnderdelivTolrtdLmtRatioInPct Underdelivery tolerance RequitionerName Name of requisitioner/requester PlannedDeliveryDurationInDays Planned delivery time in days GoodsReceiptDurationInDays Goods receipt processing time PartialDeliveryIsAllowed Partial delivery at item level (stock transfer) ConsumptionPosting Consumption posting ServicePerformer Service performer BaseUnit Base unit of measure PurchaseOrderItemCategory Item category in purchasing document ProfitCenter Profit center OrderPriceUnit Order price unit ItemVolumeUnit Volume unit ItemWeightUnit Unit of weight MultipleAcctAssgmtDistribution Distribution indicator for multiple account assi
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sourcing & Procurement |
| Application Component | MM-PUR-PO |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities |
| Package | Sourcing & Procurement for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view helps to retrieve details of items requested with a purchase order. Details are, for example the units of measure, account assignment data, the service performer, and so on.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_PurchaseOrderItem | R_PurchaseOrderItem | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PurchaseOrderAPI01 | _PurchaseOrder | $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder |
| [1..*] | I_PurOrdAccountAssignmentAPI01 | _PurOrdAcctAssignment | _PurOrdAcctAssignment.PurchaseOrder = $projection.PurchaseOrder and _PurOrdAcctAssignment.PurchaseOrderItem = $projection.PurchaseOrderItem |
| [1..*] | I_PurOrdScheduleLineAPI01 | _PurOrdScheduleLine | _PurOrdScheduleLine.PurchaseOrder = $projection.PurchaseOrder and _PurOrdScheduleLine.PurchaseOrderItem = $projection.PurchaseOrderItem ----Extension |
| [1..1] | E_PurchasingDocumentItem | _PurchaseOrderItemExtension | $projection.PurchaseOrder = _PurchaseOrderItemExtension.PurchasingDocument and $projection.PurchaseOrderItem = _PurchaseOrderItemExtension.PurchasingDocumentItem |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IMMPOITEMAPI01 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Purchase Order Item | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | PurchaseOrderItem | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view |
Fields (144)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | PurchaseOrder | Purchase Order Number | |
| KEY | PurchaseOrderItem | PurchaseOrderItem | Item Number of Purchase Order | |
| PurchaseOrderItemUniqueID | PurchaseOrderItemUniqueID | Concatenation of EBELN and EBELP | ||
| PurchaseOrderCategory | PurchaseOrderCategory | Purchasing Document Category | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | Deletion Indicator in Purchasing Document | ||
| PurchasingDocumentItemOrigin | PurchasingDocumentItemOrigin | Origin of a Purchasing Document Item | ||
| MaterialGroup | MaterialGroup | Material Group | ||
| Material | Material | Material Number | ||
| MaterialType | MaterialType | Material Type | ||
| SupplierMaterialNumber | SupplierMaterialNumber | Material Number Used by Supplier | ||
| SupplierSubrange | SupplierSubrange | Supplier Subrange | ||
| ManufacturerPartNmbr | ManufacturerPartNmbr | Manufacturer Part Number | ||
| Manufacturer | Manufacturer | Number of a Manufacturer | ||
| ManufacturerMaterial | ManufacturerMaterial | Material number | ||
| PurchaseOrderItemText | PurchaseOrderItemText | Short Text | ||
| ProductType | ProductType | Product Type Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Plant | Plant | Valuation Area | ||
| ManualDeliveryAddressID | ManualDeliveryAddressID | Manual address number in purchasing document item | ||
| ReferenceDeliveryAddressID | ReferenceDeliveryAddressID | Number of delivery address | ||
| Customer | Customer | Sold-to Party | ||
| Subcontractor | Subcontractor | Supplier to be Supplied/Who is to Receive Delivery | ||
| SupplierIsSubcontractor | SupplierIsSubcontractor | Subcontracting Supplier | ||
| CrossPlantConfigurableProduct | CrossPlantConfigurableProduct | Cross-Plant Configurable Material | ||
| ArticleCategory | ArticleCategory | Material Category | ||
| PlndOrderReplnmtElmntType | PlndOrderReplnmtElmntType | Kanban Indicator | ||
| ProductPurchasePointsQtyUnit | ProductPurchasePointsQtyUnit | Points Unit | ||
| ProductPurchasePointsQty | ProductPurchasePointsQty | Number of Points | ||
| StorageLocation | StorageLocation | Storage Location | ||
| PurchaseOrderQuantityUnit | PurchaseOrderQuantityUnit | Purchase Order Unit of Measure | ||
| OrderItemQtyToBaseQtyNmrtr | OrderItemQtyToBaseQtyNmrtr | Numerator for Conversion of Order Unit to Base Unit | ||
| OrderItemQtyToBaseQtyDnmntr | OrderItemQtyToBaseQtyDnmntr | Denominator for Conversion of Order Unit to Base Unit | ||
| NetPriceQuantity | NetPriceQuantity | Price Unit | ||
| IsCompletelyDelivered | IsCompletelyDelivered | "Delivery Completed" Indicator | ||
| IsFinallyInvoiced | IsFinallyInvoiced | Final Invoice Indicator | ||
| GoodsReceiptIsExpected | GoodsReceiptIsExpected | Goods Receipt Indicator | ||
| InvoiceIsExpected | InvoiceIsExpected | Invoice Receipt Indicator | ||
| InvoiceIsGoodsReceiptBased | InvoiceIsGoodsReceiptBased | Indicator: GR-Based Invoice Verification | ||
| PurchaseContractItem | PurchaseContractItem | Item Number of Principal Purchase Agreement | ||
| PurchaseContract | PurchaseContract | Number of principal purchase agreement | ||
| PurchaseRequisition | PurchaseRequisition | Purchase Requisition Number | ||
| RequirementTracking | RequirementTracking | Requirement Tracking Number | ||
| PurchaseRequisitionItem | PurchaseRequisitionItem | Item number of purchase requisition | ||
| EvaldRcptSettlmtIsAllowed | EvaldRcptSettlmtIsAllowed | Evaluated Receipt Settlement (ERS) | ||
| UnlimitedOverdeliveryIsAllowed | UnlimitedOverdeliveryIsAllowed | Unlimited Overdelivery Allowed | ||
| OverdelivTolrtdLmtRatioInPct | OverdelivTolrtdLmtRatioInPct | Overdelivery Tolerance | ||
| UnderdelivTolrtdLmtRatioInPct | UnderdelivTolrtdLmtRatioInPct | Underdelivery Tolerance | ||
| RequisitionerName | RequisitionerName | Name of requisitioner/requester | ||
| PlannedDeliveryDurationInDays | PlannedDeliveryDurationInDays | Planned Delivery Time in Days | ||
| GoodsReceiptDurationInDays | GoodsReceiptDurationInDays | Goods receipt processing time in days | ||
| PartialDeliveryIsAllowed | PartialDeliveryIsAllowed | Partial Delivery at Item Level (Stock Transfer) | ||
| ConsumptionPosting | ConsumptionPosting | Consumption Posting | ||
| ServicePerformer | ServicePerformer | Service Performer | ||
| BaseUnit | BaseUnit | Base Unit of Measure | ||
| PurchaseOrderItemCategory | PurchaseOrderItemCategory | Item category in purchasing document | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| OrderPriceUnit | OrderPriceUnit | Order Price Unit (Purchasing) | ||
| ItemVolumeUnit | ItemVolumeUnit | Volume Unit | ||
| ItemWeightUnit | ItemWeightUnit | Unit of Weight | ||
| MultipleAcctAssgmtDistribution | MultipleAcctAssgmtDistribution | Distribution Indicator for Multiple Account Assignment | ||
| PartialInvoiceDistribution | PartialInvoiceDistribution | Partial invoice indicator | ||
| PricingDateControl | PricingDateControl | Price Determination (Pricing) Date Control | ||
| IsStatisticalItem | IsStatisticalItem | Statisticl.Indicator | ||
| PurchasingParentItem | PurchasingParentItem | Higher-Level Item in Purchasing Documents | ||
| GoodsReceiptLatestCreationDate | GoodsReceiptLatestCreationDate | Latest Possible Goods Receipt | ||
| IsReturnsItem | IsReturnsItem | Returns Item | ||
| PurchasingOrderReason | PurchasingOrderReason | Reason for Ordering | ||
| IncotermsClassification | IncotermsClassification | Incoterms (Part 1) | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms (Part 2) | ||
| IncotermsLocation1 | IncotermsLocation1 | Incoterms Location 1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Incoterms Location 2 | ||
| PriorSupplier | PriorSupplier | Prior Supplier | ||
| InternationalArticleNumber | InternationalArticleNumber | International Article Number (EAN/UPC) | ||
| IntrastatServiceCode | IntrastatServiceCode | Intrastat Service Code | ||
| CommodityCode | CommodityCode | Commodity Code | ||
| MaterialFreightGroup | MaterialFreightGroup | Material Freight Group | ||
| DiscountInKindEligibility | DiscountInKindEligibility | Material qualifies for discount in kind | ||
| PurgItemIsBlockedForDelivery | PurgItemIsBlockedForDelivery | Item blocked for SD delivery | ||
| SupplierConfirmationControlKey | SupplierConfirmationControlKey | Confirmation Control Key | ||
| PriceIsToBePrinted | PriceIsToBePrinted | Price Printout | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Account Assignment Category | ||
| PurchasingInfoRecord | PurchasingInfoRecord | Number of purchasing info record | ||
| NetAmount | NetAmount | Net Order Value in PO Currency | ||
| GrossAmount | GrossAmount | Gross order value in PO currency | ||
| EffectiveAmount | EffectiveAmount | Effective value of item | ||
| Subtotal1Amount | Subtotal1Amount | Subtotal 1 from Pricing Procedure for Price Element | ||
| Subtotal2Amount | Subtotal2Amount | Subtotal 2 from Pricing Procedure for Price Element | ||
| Subtotal3Amount | Subtotal3Amount | Subtotal 3 from Pricing Procedure for Price Element | ||
| Subtotal4Amount | Subtotal4Amount | Subtotal 4 from Pricing Procedure for Price Element | ||
| Subtotal5Amount | Subtotal5Amount | Subtotal 5 from Pricing Procedure for Price Element | ||
| Subtotal6Amount | Subtotal6Amount | Subtotal 6 from Pricing Procedure for Price Element | ||
| OrderQuantity | OrderQuantity | Purchase Order Quantity | ||
| NetPriceAmount | NetPriceAmount | Net Price in Purchasing Document (in Document Currency) | ||
| ItemVolume | ItemVolume | Volume | ||
| ItemGrossWeight | ItemGrossWeight | Gross Weight | ||
| ItemNetWeight | ItemNetWeight | Net Weight | ||
| OrderPriceUnitToOrderUnitNmrtr | OrderPriceUnitToOrderUnitNmrtr | Numerator for Conversion of Order Price Unit into Order Unit | ||
| OrdPriceUnitToOrderUnitDnmntr | OrdPriceUnitToOrderUnitDnmntr | Denominator for Conv. of Order Price Unit into Order Unit | ||
| GoodsReceiptIsNonValuated | GoodsReceiptIsNonValuated | Goods Receipt, Non-Valuated | ||
| TaxCode | TaxCode | Tax on sales/purchases code | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| ShippingInstruction | ShippingInstruction | Shipping Instructions | ||
| ShippingType | ShippingType | Shipping Type | ||
| NonDeductibleInputTaxAmount | NonDeductibleInputTaxAmount | Non-deductible input tax | ||
| StockType | StockType | Stock Type | ||
| ValuationType | ValuationType | Valuation Type | ||
| ValuationCategory | ValuationCategory | Valuation Category | ||
| ItemIsRejectedBySupplier | ItemIsRejectedBySupplier | Rejection Indicator | ||
| PurgDocPriceDate | PurgDocPriceDate | Date of Price Determination | ||
| PurgDocReleaseOrderQuantity | PurgDocReleaseOrderQuantity | Standard release order quantity | ||
| EarmarkedFunds | EarmarkedFunds | Document Number for Earmarked Funds | ||
| EarmarkedFundsDocument | EarmarkedFundsDocument | Document Number for Earmarked Funds | ||
| EarmarkedFundsItem | EarmarkedFundsItem | Earmarked Funds: Document Item | ||
| EarmarkedFundsDocumentItem | EarmarkedFundsDocumentItem | Earmarked Funds: Document Item | ||
| PartnerReportedBusinessArea | PartnerReportedBusinessArea | Business area reported to the partner | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Indicator | ||
| DeliveryDocumentType | DeliveryDocumentType | Delivery Type for Returns to Supplier | ||
| IssuingStorageLocation | IssuingStorageLocation | Issuing Storage Location for Stock Transport Order | ||
| AllocationTable | AllocationTable | Allocation Table | ||
| AllocationTableItem | AllocationTableItem | Allocation Table Item | ||
| RetailPromotion | RetailPromotion | Retail Promotion | ||
| DownPaymentType | DownPaymentType | Down Payment Indicator | ||
| DownPaymentPercentageOfTotAmt | DownPaymentPercentageOfTotAmt | Down Payment Percentage | ||
| DownPaymentAmount | DownPaymentAmount | Down Payment Amount in Document Currency | ||
| DownPaymentDueDate | DownPaymentDueDate | Due Date for Down Payment | ||
| ExpectedOverallLimitAmount | ExpectedOverallLimitAmount | Expected Value of Overall Limit | ||
| OverallLimitAmount | OverallLimitAmount | Overall Limit | ||
| PurContractForOverallLimit | PurContractForOverallLimit | Purchase Contract for Enhanced Limit | ||
| PurContractItemForOverallLimit | PurContractItemForOverallLimit | Purchase Contract Reference Item for Enhanced Limit Item | ||
| RequirementSegment | RequirementSegment | Requirement Segment | ||
| PurgProdCmplncDngrsGoodsStatus | PurgProdCmplncDngrsGoodsStatus | Dangerous Goods Status (Item) | ||
| PurgProdCmplncSupplierStatus | PurgProdCmplncSupplierStatus | Product Compliance Supplier Check Status (Item) | ||
| PurgProductMarketabilityStatus | PurgProductMarketabilityStatus | Product Marketability Status (Item) | ||
| PurgSafetyDataSheetStatus | PurgSafetyDataSheetStatus | Safety Data Sheet Status (Item) | ||
| SubcontrgCompIsRealTmeCnsmd | SubcontrgCompIsRealTmeCnsmd | Real-Time Consumption Posting of Subcontracting Components | ||
| BR_MaterialOrigin | BR_MaterialOrigin | Origin of the material | ||
| BR_MaterialUsage | BR_MaterialUsage | Usage of the material | ||
| BR_CFOPCategory | BR_CFOPCategory | Material CFOP Category | ||
| BR_NCM | BR_NCM | Brazilian NCM Code | ||
| BR_IsProducedInHouse | BR_IsProducedInHouse | In-House Production | ||
| _PurchaseOrder | _PurchaseOrder | |||
| _PurOrdScheduleLine | _PurOrdScheduleLine | |||
| _PurOrdAcctAssignment | _PurOrdAcctAssignment |
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_PurchaseOrderItemAPI01.
-- 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: IMMPOITEMAPI01
CREATE VIEW I_PurchaseOrderItemAPI01 AS
SELECT
PurchaseOrder,
PurchaseOrderItem,
PurchaseOrderItemUniqueID,
PurchaseOrderCategory,
DocumentCurrency,
PurchasingDocumentDeletionCode,
PurchasingDocumentItemOrigin,
MaterialGroup,
Material,
MaterialType,
SupplierMaterialNumber,
SupplierSubrange,
ManufacturerPartNmbr,
Manufacturer,
ManufacturerMaterial,
PurchaseOrderItemText,
ProductType,
CompanyCode,
Plant,
ManualDeliveryAddressID,
ReferenceDeliveryAddressID,
Customer,
Subcontractor,
SupplierIsSubcontractor,
CrossPlantConfigurableProduct,
ArticleCategory,
PlndOrderReplnmtElmntType,
ProductPurchasePointsQtyUnit,
ProductPurchasePointsQty,
StorageLocation,
PurchaseOrderQuantityUnit,
OrderItemQtyToBaseQtyNmrtr,
OrderItemQtyToBaseQtyDnmntr,
NetPriceQuantity,
IsCompletelyDelivered,
IsFinallyInvoiced,
GoodsReceiptIsExpected,
InvoiceIsExpected,
InvoiceIsGoodsReceiptBased,
PurchaseContractItem,
PurchaseContract,
PurchaseRequisition,
RequirementTracking,
PurchaseRequisitionItem,
EvaldRcptSettlmtIsAllowed,
UnlimitedOverdeliveryIsAllowed,
OverdelivTolrtdLmtRatioInPct,
UnderdelivTolrtdLmtRatioInPct,
RequisitionerName,
PlannedDeliveryDurationInDays,
GoodsReceiptDurationInDays,
PartialDeliveryIsAllowed,
ConsumptionPosting,
ServicePerformer,
BaseUnit,
PurchaseOrderItemCategory,
ProfitCenter,
OrderPriceUnit,
ItemVolumeUnit,
ItemWeightUnit,
MultipleAcctAssgmtDistribution,
PartialInvoiceDistribution,
PricingDateControl,
IsStatisticalItem,
PurchasingParentItem,
GoodsReceiptLatestCreationDate,
IsReturnsItem,
PurchasingOrderReason,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
PriorSupplier,
InternationalArticleNumber,
IntrastatServiceCode,
CommodityCode,
MaterialFreightGroup,
DiscountInKindEligibility,
PurgItemIsBlockedForDelivery,
SupplierConfirmationControlKey,
PriceIsToBePrinted,
AccountAssignmentCategory,
PurchasingInfoRecord,
NetAmount,
GrossAmount,
EffectiveAmount,
Subtotal1Amount,
Subtotal2Amount,
Subtotal3Amount,
Subtotal4Amount,
Subtotal5Amount,
Subtotal6Amount,
OrderQuantity,
NetPriceAmount,
ItemVolume,
ItemGrossWeight,
ItemNetWeight,
OrderPriceUnitToOrderUnitNmrtr,
OrdPriceUnitToOrderUnitDnmntr,
GoodsReceiptIsNonValuated,
TaxCode,
TaxJurisdiction,
ShippingInstruction,
ShippingType,
NonDeductibleInputTaxAmount,
StockType,
ValuationType,
ValuationCategory,
ItemIsRejectedBySupplier,
PurgDocPriceDate,
PurgDocReleaseOrderQuantity,
EarmarkedFunds,
EarmarkedFundsDocument,
EarmarkedFundsItem,
EarmarkedFundsDocumentItem,
PartnerReportedBusinessArea,
InventorySpecialStockType,
DeliveryDocumentType,
IssuingStorageLocation,
AllocationTable,
AllocationTableItem,
RetailPromotion,
DownPaymentType,
DownPaymentPercentageOfTotAmt,
DownPaymentAmount,
DownPaymentDueDate,
ExpectedOverallLimitAmount,
OverallLimitAmount,
PurContractForOverallLimit,
PurContractItemForOverallLimit,
RequirementSegment,
PurgProdCmplncDngrsGoodsStatus,
PurgProdCmplncSupplierStatus,
PurgProductMarketabilityStatus,
PurgSafetyDataSheetStatus,
SubcontrgCompIsRealTmeCnsmd,
BR_MaterialOrigin,
BR_MaterialUsage,
BR_CFOPCategory,
BR_NCM,
BR_IsProducedInHouse
FROM R_PurchaseOrderItem
LEFT OUTER JOIN I_PurchaseOrderAPI01 AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder -- association [1..1]
LEFT OUTER JOIN I_PurOrdAccountAssignmentAPI01 AS _PurOrdAcctAssignment ON _PurOrdAcctAssignment.PurchaseOrder = PurchaseOrder AND _PurOrdAcctAssignment.PurchaseOrderItem = PurchaseOrderItem -- association [1..*]
LEFT OUTER JOIN I_PurOrdScheduleLineAPI01 AS _PurOrdScheduleLine ON _PurOrdScheduleLine.PurchaseOrder = PurchaseOrder AND _PurOrdScheduleLine.PurchaseOrderItem = PurchaseOrderItem -- association [1..*]
LEFT OUTER JOIN E_PurchasingDocumentItem AS _PurchaseOrderItemExtension ON PurchaseOrder = _PurchaseOrderItemExtension.PurchasingDocument AND PurchaseOrderItem = _PurchaseOrderItemExtension.PurchasingDocumentItem -- association [1..1]
;
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