R_PaymentProgramControl

DDL: R_PAYMENTPROGRAMCONTROL Type: view BASIC Package: FINS_AP_PP

Payment Program Control

R_PaymentProgramControl is a Basic CDS View that provides data about "Payment Program Control" in SAP S/4HANA. It reads from 1 data source (reguv) and exposes 18 fields with key fields PaymentRunDate, PaymentRunID. It has 1 association to related views. Part of development package FINS_AP_PP.

Data Sources (1)

SourceAliasJoin Type
reguv reguv from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_PaymentProposalPayment _PaymentProposalPayment $projection.PaymentRunID = _PaymentProposalPayment.PaymentRunID and $projection.PaymentRunDate = _PaymentProposalPayment.PaymentRunDate

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName RPAYTPGMCTRL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Payment Program Control view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.modelingPattern #NONE view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY PaymentRunDate laufd Run On
KEY PaymentRunID Settlement ID
ProposalRunIsCarriedOut Indicator: Proposal Run Carried Out?
PaymentProposalIsRevised Indicator: Proposal Run Edited?
PaymentRunIsCarriedOut Indicator: Production Run Carried Out?
PaytRunDocCreationIsStarted Indicator: Document Creation Started?
PaymentRunIsDeleted Indicator: Production Run Data Deleted
NumberOfCreatedPayments Number of Payments Created
NumberOfPostedPayments Number of Payments Posted
ToNetDueDate fdebi Customer Items Due By
ExchangeRateType kurst Fix.rate type (EMU)
BranchCompanyCodeAssignment filzu Branch alloc.
BusinessPlace Business place
PaytRunIsForDrctDebitPreNotif x_dd_prenotif Direct Debit Pre-Notifications
ReferencePaymentRunDate Run On
ReferencePaymentRunID Identification
WrkflwScenIsActv x_wf_active Workflow Active
_PaymentProposalPayment _PaymentProposalPayment

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_PaymentProgramControl.
-- 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_PaymentProgramControl AS
SELECT
  laufd AS PaymentRunDate,
  cast(laufi as farp_laufi preserving type ) AS PaymentRunID,
  cast(xvore as farp_xvore preserving type ) AS ProposalRunIsCarriedOut,
  cast(xvorb as farp_xvorb preserving type ) AS PaymentProposalIsRevised,
  cast(xecht as farp_xecht preserving type ) AS PaymentRunIsCarriedOut,
  cast(xbelg as farp_xbelg preserving type ) AS PaytRunDocCreationIsStarted,
  cast(xdele as farp_xdele preserving type ) AS PaymentRunIsDeleted,
  cast(anzer as farp_anzer preserving type ) AS NumberOfCreatedPayments,
  cast(anzgb as farp_anzgb preserving type ) AS NumberOfPostedPayments,
  fdebi AS ToNetDueDate,
  kurst AS ExchangeRateType,
  filzu AS BranchCompanyCodeAssignment,
  cast(bupla as farp_bupla preserving type ) AS BusinessPlace,
  x_dd_prenotif AS PaytRunIsForDrctDebitPreNotif,
  cast(laufd_dd_prenoti as farp_laufd_ref preserving type ) AS ReferencePaymentRunDate,
  cast(laufi_dd_prenoti as farp_laufi_ref preserving type ) AS ReferencePaymentRunID,
  x_wf_active AS WrkflwScenIsActv
FROM reguv
LEFT OUTER JOIN R_PaymentProposalPayment AS _PaymentProposalPayment ON PaymentRunID = _PaymentProposalPayment.PaymentRunID AND PaymentRunDate = _PaymentProposalPayment.PaymentRunDate  -- association [0..*]
;