R_PaymentAdviceTP

DDL: R_PAYMENTADVICETP Type: view_entity TRANSACTIONAL

Payment Advice

R_PaymentAdviceTP is a Transactional CDS View that provides data about "Payment Advice" in SAP S/4HANA. It reads from 1 data source (I_PaymentAdvice) and exposes 37 fields with key fields CompanyCode, PaymentAdviceAccountType, PaymentAdviceAccount, PaymentAdvice. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PaymentAdvice I_PaymentAdvice from

Associations (1)

CardinalityTargetAliasCondition
[1..*] R_PaymentAdviceItemTP _PaymentAdviceItem

Annotations (9)

NameValueLevelField
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Payment Advice view
ObjectModel.sapObjectNodeType.name PaymentAdvice view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY PaymentAdviceAccountType PaymentAdviceAccountType Account Type
KEY PaymentAdviceAccount PaymentAdviceAccount Account
KEY PaymentAdvice PaymentAdvice Payment Advice Number
PaymentAdviceAttachmentKey
PaymentDocument PaymentDocument Payment Document Number
AccountByShipper AccountByShipper Payee's Account at the Customer
PaymentCurrency PaymentCurrency Payment Currency
PaymentDate PaymentDate Payment Date
PaidAmountInPaytCurrency PaidAmountInPaytCurrency Payment Amount
CashDiscountAmountInPaytCrcy CashDiscountAmountInPaytCrcy Cash Discount Amount
PartnerBankCountry PartnerBankCountry Part. Ctry/Rgn
PartnerBankSWIFTCode PartnerBankSWIFTCode Partner SWIFT
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
LastChangeDate LastChangeDate Time Stamp
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
PaymentAdviceHeaderText PaymentAdviceHeaderText Payment Advice Header Text
PaymentAdviceType PaymentAdviceType Payt Adv. Type
PaymentAdviceStatus PaymentAdviceStatus Payment Advice Status
PaytAdvcDiffDeterminationRule PaytAdvcDiffDeterminationRule Reason Code Conversion
PaymentAdviceSelectionRule PaymentAdviceSelectionRule Selection Rule
OriginalReferenceDocument OriginalReferenceDocument Reference Key
ReferenceDocumentType ReferenceDocumentType Reference Document Type
FeeAmountInTransactionCrcy FeeAmountInTransactionCrcy AC Fees
PaymentTransaction PaymentTransaction Bus Trans Code
BillOfExchangeFailureDate BillOfExchangeFailureDate Date in Japan
BankReference BankReference Payment Reference
BusinessPartnerName BusinessPartnerName Extracted Customer Name
_PaymentAdviceItem _PaymentAdviceItem
_Customer _Customer
_CustomerCompany _CustomerCompany
_Supplier _Supplier
_SupplierCompany _SupplierCompany
_BusinessPartner _BusinessPartner

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_PaymentAdviceTP.
-- 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_PaymentAdviceTP AS
SELECT
  CompanyCode,
  PaymentAdviceAccountType,
  PaymentAdviceAccount,
  PaymentAdvice,
  cast ( concat(concat(concat(concat(concat(concat(CompanyCode, '_'),PaymentAdviceAccountType), '_'), PaymentAdviceAccount), '_'), PaymentAdvice) as far_pa_ref_id ) AS PaymentAdviceAttachmentKey,
  PaymentDocument,
  AccountByShipper,
  PaymentCurrency,
  PaymentDate,
  PaidAmountInPaytCurrency,
  CashDiscountAmountInPaytCrcy,
  PartnerBankCountry,
  PartnerBankSWIFTCode,
  CreatedByUser,
  CreationDate,
  CreationTime,
  LastChangeDate,
  LastChangeDateTime,
  LastChangedByUser,
  PaymentAdviceHeaderText,
  PaymentAdviceType,
  PaymentAdviceStatus,
  PaytAdvcDiffDeterminationRule,
  PaymentAdviceSelectionRule,
  OriginalReferenceDocument,
  ReferenceDocumentType,
  FeeAmountInTransactionCrcy,
  PaymentTransaction,
  BillOfExchangeFailureDate,
  BankReference,
  BusinessPartnerName
FROM I_PaymentAdvice
LEFT OUTER JOIN R_PaymentAdviceItemTP AS _PaymentAdviceItem ON /* condition not available in parsed metadata */  -- association [1..*]
;