P_BankPaytIncgStatus

DDL: P_BANKPAYTINCGSTATUS SQL: PBNKPAYTINCGSTS Type: view BASIC

P_BankPaytIncgStatus is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (I_BankPaytExtStatusMsg, I_BankPaytIncgStatusReason) and exposes 4 fields with key field PaymentBatch.

Data Sources (2)

SourceAliasJoin Type
I_BankPaytExtStatusMsg _StatusMessage inner
I_BankPaytIncgStatusReason _StatusReason right_outer

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.sqlViewName PBNKPAYTINCGSTS view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PaymentBatch _StatusRef PaymentBatch
PaymentBatchItem _StatusRef PaymentBatchItem
NumberOfPaytIncomingStatuses
IncomingStatusAdditionInfo

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_BankPaytIncgStatus.
-- 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: PBNKPAYTINCGSTS

CREATE VIEW P_BankPaytIncgStatus AS
SELECT
  _StatusRef.PaymentBatch AS PaymentBatch,
  _StatusRef.PaymentBatchItem AS PaymentBatchItem,
  count ( * ) AS NumberOfPaytIncomingStatuses,
  max( _StatusReason.IncomingStatusAdditionInfo) AS IncomingStatusAdditionInfo
RIGHT OUTER JOIN I_BankPaytIncgStatusReason AS _StatusReason ON /* join condition not captured in parsed metadata */
INNER JOIN I_BankPaytExtStatusMsg AS _StatusMessage ON /* join condition not captured in parsed metadata */
;