P_CAPaymentLotAutoCleared

DDL: P_CAPAYMENTLOTAUTOCLEARED SQL: PCAPAYLOTAUTOCLR Type: view CONSUMPTION

Automatic Cleared Items in Payment Lot

P_CAPaymentLotAutoCleared is a Consumption CDS View that provides data about "Automatic Cleared Items in Payment Lot" in SAP S/4HANA. It reads from 1 data source (I_CAPaymentLotItem) and exposes 3 fields with key field CAPaymentLot.

Data Sources (1)

SourceAliasJoin Type
I_CAPaymentLotItem I_CAPaymentLotItem from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PCAPAYLOTAUTOCLR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Automatic Cleared 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
CANrOfPaytLotAutomlyClrdItems
CAAutomlyClearedItemsAmtInTC

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_CAPaymentLotAutoCleared.
-- 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: PCAPAYLOTAUTOCLR

CREATE VIEW P_CAPaymentLotAutoCleared AS
SELECT
  CAPaymentLot,
  count( * ) AS CANrOfPaytLotAutomlyClrdItems,
  sum( CAPaymentAmountInTransCurrency ) AS CAAutomlyClearedItemsAmtInTC
FROM I_CAPaymentLotItem
;