Executing a Payment Run

Objectives

After completing this lesson, you will be able to:
  • Execute a payment run
  • Explain payment media
  • Automate a payment run

Payment Run

Illustration representing a payment process workflow, connecting account data to scheduled steps and generating payment documents, emphasizing organization and status tracking.

After editing and saving the payment proposal, you schedule the payment run to process the payments in the proposal list. This edited payment proposal data is used as a basis for the payment run.

There have been no postings up to this point. The documents included in this payment run were locked against any postings. Any invoice eligible to be paid in the current payment run is blocked for manual payment or payment in a different payment run.

Payment Proposal in the Payment Run

Payment Run Activities

The payment run uses the data from the payment proposal to perform the following activities:

  • Post the payment documents to the general ledger and clear paid open items.
  • Post related postings for taxes, discounts, and exchange rate differences.
  • Select the payments that can be paid with EDI.
  • Supply the Payment media creation and print programs with necessary data.

In the payment run, payment documents are created, open items are cleared, and postings are made to the general and subledgers.

The payment program automatically posts payments and related postings (postings for taxes, discounts, and exchange rate differences).

Note

Some countries require that the payment documents not be posted before the actual settlement (before the payment appears on the bank statement). To generate a payment order that contains information about the paid documents (instead of posting a payment document), in the payment method definitions for such countries, select the Generate payment order only indicator. When the payment appears on the bank statement, the system generates the payment document by entering the payment order. Until then, the paid items are blocked for other clearing transactions.

Bank Subaccounts

Illustration showing a payment flow process between a bank subaccount and a vendor, highlighting outgoing payments, invoice verification, and bank statement alignment.

You can use separate bank subaccounts to post incoming and outgoing payments (such as outgoing checks, outgoing transfers, incoming checks, and transfers received).

The following are the advantages of using subaccounts:

  • You can reconcile the bank account balance with the corresponding G/L account at any time.
  • The subaccounts contain all incoming and outgoing payments until the money is actually debited from or credited to the bank account (value date). The item is then transferred from the subaccount to the bank account. The postings at the bank are usually entered using the manual or electronic bank account statement.

The Payment Document

In SAP Fiori choose Daily BusinessManage Journal Entries.Enter required data in the Company Code, Journal Entry and Fiscal Year fields.Choose Settings and the Add Value field (above amount).Select the document number and choose Manage Journal Entry.SAP journal entry screen showing a payment posting transaction, indicating details like date, type, accounts, and amounts debited and credited for financial recordkeeping.

The payment method settings for each country define the document type used for payment documents. For cross-company-code payments, you are required to use another document type for the clearing postings, and define both document types using internal number assignment.

Settings for the payment documents include the following:

  • Documents from the payment run contain the date and identification number (for example, YYYYXXXX-TA##) of the run in the document header text.
  • The system calculates the value of the clearing document by adding the number of days until the value date to the posting date. If no entry is made, the system uses the posting date as the value date. The number of days until the value date depends on the payment method, bank account, currency, and the account limit. To calculate the value date of check payments, you enter a check-cashing time in the master data. This takes priority over the days to value date for checks.

How to Execute a Payment Run Using the Bank Reconciliation Account

Payment Media

Flowchart illustrating the steps of a payment process, from account selection to automated file creation, emphasizing structured scheduling, editing, and data exchange.

The print run starts the print programs, which do the following:

  • Transfer the payment media, the payment advice notes, and the payment summary to the print administration.
  • Transfer the DME payment data to the DME administration.
  • Create intermediate documents for the selected payments, which can be forwarded to the EDI Subsystem.

Payment Medium Workbench (PMW)

Flowchart illustrating the process of handling payments using PMW programs, leading to various output formats like DME or EDI for efficient payment execution.

The Payment Medium Workbench (PMW) is used to create payment media. The user is provided with a generic payment medium program for all payment medium formats whose variants are to be entered in Customizing. The user can create the structure of the note to payee and choose different notes to payee according to their origin (vendors, customers, personnel, travel expenses, treasury, online payments, and so on). Developers, consultants, and system administrators have simple tools to change delivered formats without modification or setting up new formats. The PMW is integrated with well-known development tools (Data Dictionary, Function Builder, and so on) and the Data Medium Exchange (DME) Engine, which enables the PMW to function like a workbench.

After the payment media is created, the individual payment methods are processed and the following programs are launched:

The PMW programs are launched using the PMW payment methods.

Features of the PMW

The key features of the Payment Medium Workbench are as follows:

  • The Payment Medium Workbench is uniform.
  • You can easily change formats without making modifications.
  • You can create new formats (no programming experience is necessary if you use the DME Engine.
  • All the advice notes can be output in one print file.
  • PMW has better ways to sort advice notes.
  • You can freely define the note to the payee in Customizing.
  • You can assign the note to the payee according to the origin and payment method in Customizing.
  • The PMW provides improved performance for mass payments.

Payment Medium Workbench Process

Illustrates the workflow for automating payment processing in SAP, outlining key steps, customization points, and data handling to ensure accurate and efficient payment generation.

When the system creates the payment media with a PMW payment method, it launches the program SAPFPAYM_SCHEDULE. That program carries out a preservice process.

The preservice process includes the following steps:

  • The system sorts the payments according to the PMW format and other format-specific fields.
  • The system creates payment groups based on the level of granularity (one payment medium file is usually created for each group).
  • The system generates the note to the payee.

The payment program SAPFPAYM and advice note program RFFOAVIS_FPAYM are launched based on the data generated by the payment program.

The program SAPFPAYM generates the payment media for the PMW payment methods, the accompanying sheets for the payment media, an error log, and the payment summary.

The program RFFOAVIS_FPAYM generates all the required advice notes and the zero balance notices.

Payment Medium Formats

A payment medium format contains various fields filled with content from your SAP system.

This process is called mapping and can be carried out in one of the following ways:

  • Using programmed function modules
  • Using the DME Engine

Payment Medium Formats in Data Medium Exchange Engine

Call transaction SPRO.Choose Financial Accounting (New)Accounts Receivable and Accounts PayableBusiness TransactionsOutgoing PaymentsAutomatic Outgoing PaymentsMake Settings for Payment Medium Formats from Payment Medium WorkbenchAdjust Payment Medium Format.Scroll down and double-click SEPA_CT.Choose the standard setting.Configuration screen for payment medium formats in SAP, emphasizing control over formatting using the DME Engine for precise electronic payment processing.

The DME Engine enables you to define file formats that meet your bank’s requirements for data medium exchange. This is particularly important, because no international or regional standards are defined. Some countries do not have their own domestic standards, which means the file has to follow the bank's standards. The DME Engine lets you define new formats and change existing formats flexibly and easily, without requiring any ABAP programming knowledge.

Granularity and Payment Groups

The graphic conveys the mapping of payment groups based on selected granular details like company codes and house banks, emphasizing structured configurations for payment processing.

By defining the granularity, the payment medium format specifies the definition of the payment medium and determines how the payment media will be output separately in payment groups. A payment group usually corresponds to one payment file.

For example, if the Company Code and the House Bank are selected as the level of granularity, the system creates a payment group for each company code and house bank combination.

You have to define at least one selection variant in the generic payment medium program SAPFPAYM for each payment group. The system processes the payment medium program with all the defined variants.

The granularity can be refined, but not reduced, for the PMW formats shipped with the system. The reason for this is that the granularity SAP ships is based on the format requirements (usually specified by the banks).

Note to Payee

Process flow illustrating how various reference text fields map to content templates, emphasizing Note to payee details within PMW payment formatting for clear communication.

The system always assigns a PMW format to a PMW payment method and a content template for the note to the payee.

Every PMW format has three types of text fields for reference information:

  • Type 1: Invoice information (classic note to the payee)
  • Type 2: Internal reference (in case the payment media is returned)
  • Type 3: External reference (for the business partner)

The contents of the note to the payee are defined in a content template that is independent of the format, either in Customizing or using a function module. In Customizing, you can define the contents on a language-specific basis to ensure your business partners always receive the text in their own language.

The content template supplies information to the reference fields when the system creates the payment medium.

Execute the Payment Run

Payment Run Automation

A setup screen for automating payment scheduling, highlighting sections for template selection, scheduling options, and parameters, with guidance to follow standard input procedures.

You can use the SAP Fiori app Schedule Accounts Payable Jobs to automate and monitor your payment runs.

Select the template "Automatic Scheduling of the Payment Program", define Scheduling Options (for example, Recurrence Pattern) and finally, maintain the Payment Run Parameters.

How to Automate the Payment Run

Summary

  • Schedule payment run to process payments based on edited proposal data.
  • Payment run posts documents, clears items, and updates general/subledgers.
  • Use separate bank subaccounts for incoming and outgoing payments.
  • Automate payment run for efficient processing.