P_CAPaymentLotOpenItems

DDL: P_CAPAYMENTLOTOPENITEMS SQL: PCAPAYLOTOPENITM Type: view CONSUMPTION Package: ODATA_O2C_FICA_PAYMENTLOT_ANA

Open Items in Payment Lot

P_CAPaymentLotOpenItems is a Consumption CDS View that provides data about "Open Items in Payment Lot" in SAP S/4HANA. It reads from 1 data source (I_CAPaymentLotItem) and exposes 3 fields with key field CAPaymentLot. Part of development package ODATA_O2C_FICA_PAYMENTLOT_ANA.

Data Sources (1)

SourceAliasJoin Type
I_CAPaymentLotItem I_CAPaymentLotItem from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PCAPAYLOTOPENITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Open Items in Payment Lot view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CAPaymentLot CAPaymentLot Lot
CANumberOfPaymentLotOpenItems
CAOpenItemsAmountInTC

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_CAPaymentLotOpenItems.
-- 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: PCAPAYLOTOPENITM

CREATE VIEW P_CAPaymentLotOpenItems AS
SELECT
  CAPaymentLot,
  count( * ) AS CANumberOfPaymentLotOpenItems,
  sum( CAPaymentAmountInTransCurrency ) AS CAOpenItemsAmountInTC
FROM I_CAPaymentLotItem
;