P_CntrlPurReqnItemMonitor

DDL: P_CNTRLPURREQNITEMMONITOR SQL: PMNTRCNTRLPRITM Type: view CONSUMPTION

Monitor Pur Reqn Item Centrally

P_CntrlPurReqnItemMonitor is a Consumption CDS View that provides data about "Monitor Pur Reqn Item Centrally" in SAP S/4HANA. It reads from 1 data source (P_PrmtHbRpldPurchaseReqnItem) and exposes 38 fields with key fields ProcmtHubPurchaseRequisition, ProcmtHubPurRequisitionItem, ProcurementHubSourceSystem.

Data Sources (1)

SourceAliasJoin Type
P_PrmtHbRpldPurchaseReqnItem RequisitionItem from

Parameters (1)

NameTypeDefault
P_DisplayCurrency vdm_v_display_currency

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PMNTRCNTRLPRITM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Monitor Pur Reqn Item Centrally view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY ProcmtHubPurchaseRequisition P_PrmtHbRpldPurchaseReqnItem ProcmtHubPurchaseRequisition Purchase Req.
KEY ProcmtHubPurRequisitionItem P_PrmtHbRpldPurchaseReqnItem ProcmtHubPurRequisitionItem Requisn. item
KEY ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System ID
ProcmtHubGLAccount ProcmtHubGLAccount G/L Account
ProcmtHubCostCenter ProcmtHubCostCenter Cost Center
ProcmtHubProjectNetwork ProcmtHubProjectNetwork Network
ProcmtHubMasterFixedAsset ProcmtHubMasterFixedAsset Asset
ProcmtHubWBSElementInternalID ProcmtHubWBSElementInternalID WBS Element
ValidityDate ValidityDate Valid On
ProcmtHubControllingArea ProcmtHubControllingArea CO Area
ChartOfAccounts ChartOfAccounts Node Class
ProcmtHubAcctAssgmtCategory ProcmtHubAcctAssgmtCategory Acct Assgmt Cat
PurchaseRequisitionItemText PurchaseRequisitionItemText Short Text
ProcmtHubPurgDocItmCategory ProcmtHubPurgDocItmCategory Item Category
ProcmtHubPurRequisitionType ProcmtHubPurRequisitionType
ProcmtHubPurchasingGroup ProcmtHubPurchasingGroup Purch. Group
ProcmtHubCompanyCode ProcmtHubCompanyCode Company Code
ProcmtHubPurchasingOrg ProcmtHubPurchasingOrg Purchasing Org.
ProcmtHubPlant ProcmtHubPlant Plant
Material Material Vehicle Model
MaterialGroup MaterialGroup Product Group
ProcmtHubCreatedByUser ProcmtHubCreatedByUser Entered By
CreationDate CreationDate Time Stamp
ItemNetAmount ItemNetAmount Tot. val. rel.
PurReqnReleaseStatus PurReqnReleaseStatus Proc.state
ProcessingStatus ProcessingStatus Worklist Status
PurReqnPriceQuantity PurReqnPriceQuantity Price unit
DisplayCurrency
curr252asPurReqnTotalAmountInDspCrcy Time Stamp
DeliveryDate DeliveryDate Delivery Date
RequestedQuantity RequestedQuantity Requested Quantity
OrderedQuantity OrderedQuantity Quantity
BaseUnit BaseUnit Unit of Measure
PurchaseRequisitionPrice PurchaseRequisitionPrice Valuation Price
PurReqnItemCurrency PurReqnItemCurrency Currency
ProcmtHubFixedSupplier ProcmtHubFixedSupplier
AccountingObject Account Assgmt No.
PurchasingDocumentStatus PurchasingDocumentStatus Short Description

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_CntrlPurReqnItemMonitor.
-- 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: PMNTRCNTRLPRITM
-- Parameters: P_DisplayCurrency : vdm_v_display_currency

CREATE VIEW P_CntrlPurReqnItemMonitor AS
SELECT
  RequisitionItem.ProcmtHubPurchaseRequisition AS ProcmtHubPurchaseRequisition,
  RequisitionItem.ProcmtHubPurRequisitionItem AS ProcmtHubPurRequisitionItem,
  ProcurementHubSourceSystem,
  ProcmtHubGLAccount,
  ProcmtHubCostCenter,
  ProcmtHubProjectNetwork,
  ProcmtHubMasterFixedAsset,
  ProcmtHubWBSElementInternalID,
  ValidityDate,
  ProcmtHubControllingArea,
  ChartOfAccounts,
  ProcmtHubAcctAssgmtCategory,
  PurchaseRequisitionItemText,
  ProcmtHubPurgDocItmCategory,
  ProcmtHubPurRequisitionType,
  ProcmtHubPurchasingGroup,
  ProcmtHubCompanyCode,
  ProcmtHubPurchasingOrg,
  ProcmtHubPlant,
  Material,
  MaterialGroup,
  ProcmtHubCreatedByUser,
  CreationDate,
  ItemNetAmount,
  PurReqnReleaseStatus,
  ProcessingStatus,
  PurReqnPriceQuantity,
  cast ($parameters.P_DisplayCurrency as vdm_v_display_currency) AS DisplayCurrency,
  cast(currency_conversion( amount => ItemNetAmount, source_currency => PurReqnItemCurrency, target_currency => $parameters.P_DisplayCurrency, exchange_rate_date => cast(CreationDate as badat ), exchange_rate_type => 'M', error_handling => 'SET_TO_NULL' ) as abap.curr( 25, 2 ) ) as PurReqnTotalAmountInDspCrcy AS curr252asPurReqnTotalAmountInDspCrcy,
  DeliveryDate,
  RequestedQuantity,
  OrderedQuantity,
  BaseUnit,
  PurchaseRequisitionPrice,
  PurReqnItemCurrency,
  ProcmtHubFixedSupplier,
  cast(AccountAssignmentNumber as abap.char(10)) AS AccountingObject,
  PurchasingDocumentStatus
FROM P_PrmtHbRpldPurchaseReqnItem AS RequisitionItem
;