You are on page 1of 3

SAPFPAYM - Payment Medium: Creation

rdisp/max_wprun_time - Maximum work process run time RFUMSV00 - Advance


Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.

Title
Generic payment medium program of Payment Medium Workbench (PMW) for the
creation of payment media

Purpose
The generic payment medium program is based on the Payment medium
format.Payments with Payment methods assigned to a format (and not to a conventional
payment medium program RFFO*) are created with the payment medium program.
Currently, the payment medium program only creates payment media without documents
(for example, data medium files). Associated payment advice notes are created with the
program RFFOAVIS_FPAYM.

Integration
The generic payment medium program is started by the payment program if this is
stipulated during planning of the payment run.

Prerequisites
Note to payee
If the payment method used has a Note to payee assigned to it, (see "Payment program
settings" / "Payment methods in country"), reference information is transmitted in the
payment medium according to the space available. You can determine the structure of the
template in the format settings. Furthermore, it is possible to modify an existing note to
payee or to create a new one. Where problems occurred in the reference information
structure, these are logged so that the user can make appropriate changes to the note to
payee.
Proceed
Selection variant maintenance for creation of payment media

Features
Selection
The generic payment medium program selects the payment media according to different
Payment groups. Payments are grouped together in payment groups according to the level
of detail that determines how the output of the payment media is to be split (for example,
one payment medium file created per paying company code). This grouping is necessary
to start the payment medium program in the background via selection variants, that are in
turn assigned to payment groups, from the payment program. This is explained under
"Detailed procedure".
Output
Output of the data medium created with the payment medium program occurs in DME
administration. DME administration supports both files stored in the TemSe or file
system and payment messages like Internet payments (OFX) or IDoc.
With formats that create a payment medium accompanying sheet or other form of print
output, these are placed in the Spool.
In addition, an error log and configurable accompanying sheet is created for each
payment medium program run.

Detailed procedure
Overview
Payment medium creation with payment medium formats involves several logical steps,
some of which take place after creation of a payment with the payment program and
some of which occur in the individual payment medium program.
Process steps
After creation of a payment using the payment program, the following occurs:
Assignment of the payment to a Payment group , (depending on the level of
detail of the format)
Creation of the note to payee of the payment (according to the note to payee
assigned to the payment method)
During scheduling of the generic payment medium program in the payment program
(using program SAPFPAYM_SCHEDULE), the selection variants for the payment
groups of this payment run are read, and the payment medium program is started with the
relevant selection variants for each payment group.
The payment medium program
Selects the payments of the payment group. The payment data of the application
(REGUH, REGUP) is transferred into a generic cross-application payment data
interface (FPAYH, FPAYP, FPAYHX)
Calls the event modules for creation of the format
Creates the payment medium file or message
Example
The format DTAUS0 for German domestic payment transactions creates payment
medium files per house bank (level of detail).
1 The format DTAUS0 is assigned to payment method U in Germany
2 The note to payee SAMPLE is assigned to the payment method U/Germany
3 Selection varaints are maintained for both German house banks:
Bank Bank
Variant
country key
1002003
DE DB
0
2003004 DR
DE
0 E

4 A payment run with payments from both house banks is carried out. (Payments
are grouped into two payment groups, one for each house bank. The notes to payee of
the payments are created in accordance with note to payee SAMPLE).
5 Payment medium creation is scheduled and carried out. (The payment medium
program is called twice with the relevant variant, once per payment group. Once for
the payment group DE/10020030 with variant DB and once for the payment group
DE/20030040 with variant DRE).

You might also like