P_BKPaytLastIncgStsRefDateTime

DDL: P_BKPAYTLASTINCGSTSREFDATETIME SQL: PBKPAYTLASTREFDT Type: view CONSUMPTION

Last date and time for Reference

P_BKPaytLastIncgStsRefDateTime is a Consumption CDS View that provides data about "Last date and time for Reference" in SAP S/4HANA. It reads from 1 data source (I_BankPaytIncgStatusRef) and exposes 4 fields with key fields PaymentBatch, PaymentBatchItem.

Data Sources (1)

SourceAliasJoin Type
I_BankPaytIncgStatusRef _StatusRef from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PBKPAYTLASTREFDT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Last date and time for Reference view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PaymentBatch I_BankPaytIncgStatusRef PaymentBatch Batch Number
KEY PaymentBatchItem I_BankPaytIncgStatusRef PaymentBatchItem
CreationDate
CreationTime

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_BKPaytLastIncgStsRefDateTime.
-- 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: PBKPAYTLASTREFDT

CREATE VIEW P_BKPaytLastIncgStsRefDateTime AS
SELECT
  _StatusRef.PaymentBatch AS PaymentBatch,
  _StatusRef.PaymentBatchItem AS PaymentBatchItem,
  max (_StatusRef.CreationDate) AS CreationDate,
  max (_StatusRef.CreationTime) AS CreationTime
FROM I_BankPaytIncgStatusRef AS _StatusRef
;