R_ARLockboxBatchItmReferenceTP

DDL: R_ARLOCKBOXBATCHITMREFERENCETP Type: view_entity TRANSACTIONAL

Lockbox Payment Advice Item

R_ARLockboxBatchItmReferenceTP is a Transactional CDS View that provides data about "Lockbox Payment Advice Item" in SAP S/4HANA. It reads from 2 data sources (I_PaymentAdviceItem, febep) and exposes 15 fields with key fields PaymentAdvice, PaymentAdviceItem, PaymentAdviceAccount, PaymentAdviceAccountType, CompanyCode. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_PaymentAdviceItem a from
febep f inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_ARLockboxBatchTP _Root $projection.LockboxBatchInternalKey = _Root.LockboxBatchInternalKey and $projection.LockboxBatch = _Root.LockboxBatch

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Lockbox Payment Advice Item view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey PaymentAdvice view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PaymentAdvice I_PaymentAdviceItem PaymentAdvice Payment Advice Number
KEY PaymentAdviceItem I_PaymentAdviceItem PaymentAdviceItem Payt Adv. Item
KEY PaymentAdviceAccount I_PaymentAdviceItem PaymentAdviceAccount Account
KEY PaymentAdviceAccountType I_PaymentAdviceItem PaymentAdviceAccountType Account Type
KEY CompanyCode I_PaymentAdviceItem CompanyCode Receiver Company Code
LockboxBatchInternalKey febep kukey Statement Short Key
LockboxBatchItem febep esnum Memo Record No.
LockboxBatch febep batch Lot No.
PaymentReference I_PaymentAdviceItem PaymentReference Payment Reference
NetPaymentAmountInPaytCurrency I_PaymentAdviceItem NetPaymentAmountInPaytCurrency Payment Amount
DeductionAmountInPaytCurrency I_PaymentAdviceItem DeductionAmountInPaytCurrency Deduction Amount
PaymentDifferenceReason I_PaymentAdviceItem PaymentDifferenceReason Reason Code
Currency I_PaymentAdviceItem Currency Valuation Crcy
_BatchItem _BatchItem
_Root _Root

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 R_ARLockboxBatchItmReferenceTP.
-- 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 R_ARLockboxBatchItmReferenceTP AS
SELECT
  a.PaymentAdvice AS PaymentAdvice,
  a.PaymentAdviceItem AS PaymentAdviceItem,
  a.PaymentAdviceAccount AS PaymentAdviceAccount,
  a.PaymentAdviceAccountType AS PaymentAdviceAccountType,
  a.CompanyCode AS CompanyCode,
  f.kukey AS LockboxBatchInternalKey,
  f.esnum AS LockboxBatchItem,
  f.batch AS LockboxBatch,
  a.PaymentReference AS PaymentReference,
  a.NetPaymentAmountInPaytCurrency AS NetPaymentAmountInPaytCurrency,
  a.DeductionAmountInPaytCurrency AS DeductionAmountInPaytCurrency,
  a.PaymentDifferenceReason AS PaymentDifferenceReason,
  a.Currency AS Currency
FROM I_PaymentAdviceItem AS a
INNER JOIN febep AS f ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_ARLockboxBatchTP AS _Root ON LockboxBatchInternalKey = _Root.LockboxBatchInternalKey AND LockboxBatch = _Root.LockboxBatch  -- association [1..1]
;