R_PaymentProgramControl
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)
| Source | Alias | Join Type |
|---|---|---|
| reguv | reguv | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_PaymentProposalPayment | _PaymentProposalPayment | $projection.PaymentRunID = _PaymentProposalPayment.PaymentRunID and $projection.PaymentRunDate = _PaymentProposalPayment.PaymentRunDate |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA