P_SRVCENTRSHTITMTOTCONFDAMT

DDL: P_SRVCENTRSHTITMTOTCONFDAMT SQL: PSESITMTOTCONFAM Type: view COMPOSITE

P_SRVCENTRSHTITMTOTCONFDAMT is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ServiceEntrySheetItem) and exposes 4 fields with key fields PurchaseOrder, PurchaseOrderItem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceEntrySheetItem Document from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_PurchaseOrderItem _PurchaseOrderItem $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PSESITMTOTCONFAM view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder I_ServiceEntrySheetItem PurchaseOrder Purchasing Document
KEY PurchaseOrderItem I_ServiceEntrySheetItem PurchaseOrderItem Purchasing Document Item
PurchaseOrderCurrency _PurchaseOrderItem DocumentCurrency Document Currency
NetAmountInPurchaseOrderCrcy

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_SRVCENTRSHTITMTOTCONFDAMT.
-- 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: PSESITMTOTCONFAM

CREATE VIEW P_SRVCENTRSHTITMTOTCONFDAMT AS
SELECT
  Document.PurchaseOrder AS PurchaseOrder,
  Document.PurchaseOrderItem AS PurchaseOrderItem,
  _PurchaseOrderItem.DocumentCurrency AS PurchaseOrderCurrency,
  cast( sum(Document.NetAmount) as mmpur_ses_netprice_purord_crcy preserving type ) AS NetAmountInPurchaseOrderCrcy
FROM I_ServiceEntrySheetItem AS Document
LEFT OUTER JOIN R_PurchaseOrderItem AS _PurchaseOrderItem ON PurchaseOrder = _PurchaseOrderItem.PurchaseOrder AND PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem  -- association [1..1]
;