I_SAFTPurchaseOrderItem_2

DDL: I_SAFTPURCHASEORDERITEM_2 Type: view_entity COMPOSITE Package: GLO-LOG-PT

Purchase order item info

I_SAFTPurchaseOrderItem_2 is a Composite CDS View that provides data about "Purchase order item info" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrderItem) and exposes 9 fields with key fields PurchaseOrder, SAFTPurchaseOrderItem. Part of development package GLO-LOG-PT.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseOrderItem I_PurchaseOrderItem from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
EndUserText.label Purchase order item info view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY SAFTPurchaseOrderItem
NetAmount NetAmount Stated Amount
OrderQuantity OrderQuantity Quantity
DocumentCurrency DocumentCurrency Document Currency
PurchaseOrderQuantityUnit PurchaseOrderQuantityUnit Order Unit
PurgDocPriceDate PurgDocPriceDate Price Date
ExchangeRate _PurchaseOrder ExchangeRate Exchange rate
Supplier _PurchaseOrder Supplier Supplier

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_SAFTPurchaseOrderItem_2.
-- 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.

CREATE VIEW I_SAFTPurchaseOrderItem_2 AS
SELECT
  PurchaseOrder,
  cast(lpad( PurchaseOrderItem, 6, '0' ) as abap.numc(6)) AS SAFTPurchaseOrderItem,
  NetAmount,
  OrderQuantity,
  DocumentCurrency,
  PurchaseOrderQuantityUnit,
  PurgDocPriceDate,
  _PurchaseOrder.ExchangeRate AS ExchangeRate,
  _PurchaseOrder.Supplier AS Supplier
FROM I_PurchaseOrderItem
;