I_BkPaytRunDocPaytMda

DDL: I_BKPAYTRUNDOCPAYTMDA Type: view_entity COMPOSITE

Payment run documents payment medium

I_BkPaytRunDocPaytMda is a Composite CDS View that provides data about "Payment run documents payment medium" in SAP S/4HANA. It reads from 1 data source (I_PaytMedia) and exposes 18 fields with key fields PayingCompanyCode, BankCountry, PaymentRunDate, PaymentRunID, PaymentRunIsProposal. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PaytMedia I_PaytMedia from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_BkPaytRunDocPaytMdaSqnc _bkpaytrundocPaytMdaSqnc $projection.PayingCompanyCode = _bkpaytrundocPaytMdaSqnc.PayingCompanyCode and $projection.PaymentRunDate = _bkpaytrundocPaytMdaSqnc.PaymentRunDate and $projection.PaymentRunID = _bkpaytrundocPaytMdaSqnc.PaymentRunID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Payment run documents payment medium view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY PayingCompanyCode PayingCompanyCode Paying Company Code
KEY BankCountry BankCountry Bank Ctry/Rgn. Key
KEY PaymentRunDate PaymentRunDate Run On
KEY PaymentRunID PaymentRunID Settlement ID
KEY PaymentRunIsProposal PaymentRunIsProposal Proposal Run
KEY PaytMdmStorageAddlKey PaytMdmStorageAddlKey Addit.Field for the TemSe Key Fields
KEY SequenceNumber SequenceNumber Sort sequence
PaymentMediumReference PaymentMediumReference Reference Number
CompanyCodeCurrency CompanyCodeCurrency Local Currency
PaytAmountInCoCodeCurrency PaytAmountInCoCodeCurrency
PaymentMediumFormat PaymentMediumFormat Payment Format
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
DownloadFileName DownloadFileName User
DownloadDate DownloadDate Date of Download
DownloadTime DownloadTime Time of Download
DownloadByUser DownloadByUser User Name
BankStatementDate BankStatementDate Statement Date

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_BkPaytRunDocPaytMda.
-- 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.

CREATE VIEW I_BkPaytRunDocPaytMda AS
SELECT
  PayingCompanyCode,
  BankCountry,
  PaymentRunDate,
  PaymentRunID,
  PaymentRunIsProposal,
  PaytMdmStorageAddlKey,
  SequenceNumber,
  PaymentMediumReference,
  CompanyCodeCurrency,
  PaytAmountInCoCodeCurrency,
  PaymentMediumFormat,
  CreationDate,
  CreatedByUser,
  DownloadFileName,
  DownloadDate,
  DownloadTime,
  DownloadByUser,
  BankStatementDate
FROM I_PaytMedia
LEFT OUTER JOIN I_BkPaytRunDocPaytMdaSqnc AS _bkpaytrundocPaytMdaSqnc ON PayingCompanyCode = _bkpaytrundocPaytMdaSqnc.PayingCompanyCode AND PaymentRunDate = _bkpaytrundocPaytMdaSqnc.PaymentRunDate AND PaymentRunID = _bkpaytrundocPaytMdaSqnc.PaymentRunID  -- association [0..1]
;