Programme SAP SAPFPAYM - Payment Medium: Creation

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 thePayment medium format. Payments withPayment methods assigned to a format (and not to aconventional payment medium program RFFO*) are created with the paymentmedium program.
Currently, the payment medium program only creates payment mediawithout documents (for example, data medium files). Associated paymentadvice notes are created with the programRFFOAVIS_FPAYM.

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

Prerequisites
INCLUDE 'FPM_LINK_FBZP' OBJECT DOKU ID TX PARAGRAPH U2
INCLUDE 'FPM_LINK_OBPM' OBJECT DOKU ID TX PARAGRAPH U2

Note to payee
If the payment method used has a Note to payeeassigned to it, (see "Payment program settings" / "Payment methods incountry"), reference information is transmitted in the payment mediumaccording to the space available. You can determine the structure ofthe template in the format settings. Furthermore, it is possible tomodify an existing note to payee or to create a new one. Where problemsoccurred in the reference information structure, these are logged sothat the user can make appropriate changes to the note to payee.
Proceed
INCLUDE 'FPM_LINK_FPAYV' OBJECT DOKU ID TX PARAGRAPH U2
Selection variant maintenance for creation of paymentmedia

Features

Selection
The generic payment medium program selects the payment media accordingto different Payment groups. Payments are groupedtogether in payment groups according to the level of detail thatdetermines how the output of the payment media is to be split (forexample, one payment medium file created per paying company code). Thisgrouping is necessary to start the payment medium program in thebackground via selection variants, that are in turn assigned to paymentgroups, from the payment program. This is explained under "Detailedprocedure".

Output
Output of the data medium created with the payment medium programoccurs in DME administration. DME administrationsupports both files stored in the TemSe or file system and paymentmessages like Internet payments (OFX) or IDoc.
With formats that create a payment medium accompanying sheet or otherform of print output, these are placed in the Spool.
In addition, an error log and configurable accompanying sheet iscreated for each payment medium program run.

Detailed procedure

Overview
Payment medium creation with payment medium formats involves severallogical steps, some of which take place after creation of a paymentwith the payment program and some of which occur in the individualpayment medium program.

Process steps
After creation of a payment using the payment program, the followingoccurs:

  • 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 paymentprogram (using program SAPFPAYM_SCHEDULE), the selection variants forthe payment groups of this payment run are read, and the payment mediumprogram is started with the relevant selection variants for eachpayment group.
      The payment medium program
      • Selects the payments of the payment group. The payment data of the
      • application (REGUH, REGUP) is transferred into a genericcross-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 createspayment medium files per house bank (level of detail).
          The format DTAUS0 is assigned to payment method U in Germany
          The note to payee SAMPLE is assigned to the payment method U/Germany
          Selection varaints are maintained for both German house banks:
          ,,Bank country,,Bank key,,Variant
          ,,DE,,10020030,,DB
          ,,DE,,20030040,,DRE
          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 noteto payee SAMPLE).
          Payment medium creation is scheduled and carried out. (The paymentmedium program is called twice with the relevant variant, once perpayment group. Once for the payment group DE/10020030 with variant DBand once for the payment group DE/20030040 with variant DRE).

1365764Codepage of DME file
1540040SEPA payment medium formats since November 01, 2010
1323336Payment medium creation using PMW takes too long
1310720Collection Note for Unicode Systems with different endianess
1375948Field SenderBIC12# not populated correctly in FTA Header
1538366Update 1 to Security Note 1511617
1360908SEPA payment medium with attributes deviating from ISO
1280375BNK: Settings for payment medium workbench
774719Payment medium under Unicode: Multibyte code page (8400)
1388649Report RFPAYM_UNICODE_VARIANTS cross-client
1252551Dump with SAPFPAYM with CX_SY_ASSIGN_CAST_UNKNOWN_TYPE
1046693Dump DYNPRO_FIELD_CONVERSION for report SAPFPAYM
1255483Dump DYNPRO_FIELD_CONVERSION for report SAPFPAYM
1136370DMEE PAYM: REGUH-SRTF1 is wrongly filled
1104567PMW: transfer XML file to file system
911190PMW: Entering the code page when writing and downloading
855841Payment medium in a Unicode system
633383 F110 - Check for SWIFT code (BIC) and IBAN
563457Luxemburg foreign/domestic transfer:VIR2000 as DMEe tree
590105PMW DTAUS0 - reference number w/ files w/ several files
524520PMW - Information on Payment Medium Workbench
429022Domestic payments with LM03 format, Finland
408862PMW: Incorrect region for the P.O. box