I_AbpRefNum

DDL: I_ABPREFNUM SQL: IABPREFNUM Type: view COMPOSITE

ABP - Reference Number

I_AbpRefNum is a Composite CDS View that provides data about "ABP - Reference Number" in SAP S/4HANA. It reads from 2 data sources (I_BankPaymentBatch, I_CrossPaymentRunPayment) and exposes 3 fields with key field PaymentBatch.

Data Sources (2)

SourceAliasJoin Type
I_BankPaymentBatch _BatchHeader from
I_CrossPaymentRunPayment _CrossPaymentRunPayment inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IABPREFNUM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #COMPOSITE view
EndUserText.label ABP - Reference Number view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PaymentBatch I_BankPaymentBatch PaymentBatch Batch Number
PaymentMediumReference
PaidItemDueDate

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 I_AbpRefNum.
-- 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: IABPREFNUM

CREATE VIEW I_AbpRefNum AS
SELECT
  _BatchHeader.PaymentBatch AS PaymentBatch,
  _CrossPaymentRunPayment._PaymentMedia.PaymentMediumReference AS PaymentMediumReference,
  cast( max(_CrossPaymentRunPayment.PaidItemDueDate) as farp_ausfd) AS PaidItemDueDate
FROM I_BankPaymentBatch AS _BatchHeader
INNER JOIN I_CrossPaymentRunPayment AS _CrossPaymentRunPayment ON /* join condition not captured in parsed metadata */
;