I_PPS_POInfoProcessFlow

DDL: I_PPS_POINFOPROCESSFLOW SQL: IPPSXPOPINF Type: view BASIC

Purchase order Document Information

I_PPS_POInfoProcessFlow is a Basic CDS View that provides data about "Purchase order Document Information" in SAP S/4HANA. It reads from 2 data sources (ekko, ekpo) and exposes 29 fields.

Data Sources (2)

SourceAliasJoin Type
ekko PurchasingDocument from
ekpo PurchasingDocumentItem inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPPSXPOPINF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Purchase order Document Information view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (29)

KeyFieldSource TableSource FieldDescription
PurchasingDocument ekko ebeln Source PurchDoc
PurchasingDocumentItem ekpo ebelp Item pur. doc.
CompanyCode ekko bukrs Value
FiscalYear
PurchasingDocumentCategory ekko bstyp Source doc.cat.
PurchasingOrganization ekko ekorg Purchasing Org.
PurchasingDocumentType ekko bsart Stnd purch.ord.
PurchasingGroup ekko ekgrp Sub. purchasing grp
PPSPurgHistDocumentType
PurchasingHistoryDocument ekko ebeln Source PurchDoc
PurchasingHistoryDocumentItem
PPSPurgHistDocumentCategory
Quantity ekpo menge WarrCountValue
PurchaseOrderQty
PostingDate ekko aedat Obsolete
UnitOfMeasure ekpo bprme PO Price Unit
POUnitOfMeasure ekpo meins Valuation Unit
LocalCurrency ekko waers Transaction Currency
DocumentCurrency ekko waers Transaction Currency
AmountInLocalCurrency ekpo netwr Value
NetValueAmountInDocCurrency ekpo netwr Value
PPSReferenceDocument
PPSReferenceDocumentItem
PPSReferenceDocumentType
ReferenceDocumentCategory
ReferenceCompanyCode
ReferenceDocumentFiscalYear
SemanticObject
ReferenceSemanticObject

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_PPS_POInfoProcessFlow.
-- 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: IPPSXPOPINF

CREATE VIEW I_PPS_POInfoProcessFlow AS
SELECT
  PurchasingDocument.ebeln AS PurchasingDocument,
  PurchasingDocumentItem.ebelp AS PurchasingDocumentItem,
  PurchasingDocument.bukrs AS CompanyCode,
  cast( left (PurchasingDocument.aedat,4 ) as gjahr ) AS FiscalYear,
  PurchasingDocument.bstyp AS PurchasingDocumentCategory,
  PurchasingDocument.ekorg AS PurchasingOrganization,
  PurchasingDocument.bsart AS PurchasingDocumentType,
  PurchasingDocument.ekgrp AS PurchasingGroup,
  cast( POHistory.vgabe as pps_e_purch_hist_documenttype ) AS PPSPurgHistDocumentType,
  PurchasingDocument.ebeln AS PurchasingHistoryDocument,
  cast( right(PurchasingDocumentItem.ebelp,4 )as mblpo ) AS PurchasingHistoryDocumentItem,
  cast( PurchasingDocument.bstyp as vgabe preserving type ) AS PPSPurgHistDocumentCategory,
  PurchasingDocumentItem.menge AS Quantity,
  cast( PurchasingDocumentItem.menge as bpmng preserving type ) AS PurchaseOrderQty,
  PurchasingDocument.aedat AS PostingDate,
  PurchasingDocumentItem.bprme AS UnitOfMeasure,
  PurchasingDocumentItem.meins AS POUnitOfMeasure,
  PurchasingDocument.waers AS LocalCurrency,
  PurchasingDocument.waers AS DocumentCurrency,
  PurchasingDocumentItem.netwr AS AmountInLocalCurrency,
  PurchasingDocumentItem.netwr AS NetValueAmountInDocCurrency,
  cast( ' ' as xblnr ) AS PPSReferenceDocument,
  cast( ' ' as ebelp ) AS PPSReferenceDocumentItem,
  cast( ' ' as bsart ) AS PPSReferenceDocumentType,
  cast( ' ' as vgabe ) AS ReferenceDocumentCategory,
  cast( ' ' as bukrs ) AS ReferenceCompanyCode,
  cast( ' ' as gjahr ) AS ReferenceDocumentFiscalYear,
  cast( 'PurchaseOrder' as pps_e_semantic_object ) AS SemanticObject,
  cast( ' ' as pps_e_semantic_object ) AS ReferenceSemanticObject
FROM ekko AS PurchasingDocument
INNER JOIN ekpo AS PurchasingDocumentItem ON /* join condition not captured in parsed metadata */
;