The payment program is used to process incoming and outgoing payments.
>Contract Accounts Receivable and Payable
>Incoming/Outgoing Payment Creation
|FQP1||Payment method per contry|
|FQP4||Payment method per company code|
|FQP5||Note to payee|
|FQP2||Item Indicator in payments|
|1061||Payment Program Bank Accounts|
TFK090A Mass Activity Types
|0601||Payment: Deactivate Items after Grouping|
|0605||Payment: Determine Payment Method from Master Data|
|0606||Payment Specification: Preselect Items|
|0607||Payment Specification: Checks on Creation/Change|
|0608||Payment Specification: After Database Change|
|0609||Payment Specification: Include Screen for Customer Fields|
|0610||Payment: Block Items/Partial Payments|
|0611||Payments: Check Debit Memo Notification|
|0613||Payments: Initiate Partial Payments for Direct Debit Limit|
|0615||Payment: Choose Items to be Cleared|
|0616||Payment Specification: Define Additional Selection|
|0617||Payment: Check Payment Specificataion|
|0620||Payment: Transfer Line Items for Clearing|
|0625||Payment: Split Payments per Due Date|
|0630||Payment: Data on Payment (PAYH)|
|0632||Payment: Payment of a Repayment Request (DPAYH)|
|0640||Payment: Data on Items Paid (PAYP)|
|0650||Payment: Select House Bank and Account|
|0651||Payment: Select House Bank for Repayments|
|0654||Payments: Payment Method Selection|
|0655||Payments: Reject Payment|
|0660||Payment: Read Contract Data|
|0661||Payment: Set Check Date for Existence of Locks|
|0662||Payments: Determine Direct Debit Limit at Contract Level|
|0663||Payment: Set Paying Contract Account|
|0664||Payments: Execution Date for SEPA Mandates|
|0670||Payment: Add to G/L Item|
|0671||Payments: Round Payment Amount|
|0675||Payments: Set Value Date|
|0680||Payments: Payment of Repayments|
|0690||Payment: Delete Payment Data|
|1740||Mass Activity: Payment Run|
|1741||Mass Activity: Payment Run (Move Parameters)|
|DPAYH||Payment program – data for payment|
|DPAYP||Payment program – data on paid item|
|DPAYG||Payment program – payment group|
|DPAYC||Payment program – administrative records|
|BNKA||Bank master record|
|CCARD||Payment Card Master|
|REGUT||TemSe – Administration Data|
|T012K||House Bank Accounts|
|TFK000SEPA||Central Settings for SEPA|
|SEPA_CTRL||SEPA Mandate Management: System Control|
|SEPA_CUST||SEPA Mandate Management: General Settings|
|FKKB||Contract A/R & A/P: Central Objects|
Function Groups / Programs
|FKPMASS||SAPLFKPMASS||Mass Activity Payment Run|
|SAPFKPY3||Payment Program – Payment Media|
|RFKPYL00_GRID||List of Payment Data (ALV Grid with Logical Database)|
|RFKPYL00_MASS||List of Payment Data (Standard ALV with Logical Database)|
|RFKPYL00_SMPL||List of Payment Data (Simple List, No Logical Database)|
|FKK_SAMPLE_1740||Mass Activity Payment Run: Start Payment Run|
|FKK_FPYM_START_PAYMENT_PROGRAM||Mass Activity Payment Run: Start Payment Run|
|>2||Contract A/R and A/P: Payment program|
|F_KKPY||FI-CA Automatic Payment Transactions in Contract A/R & A/P|
|F_KKMA||FI-CA Mass Activities in Contract Accts Receivable & Payable|
|F_KKKO_BUK||FI-CA Doc.in Contract Accts Rec.& Pay.: CoCode Authorization|
|F_KKKO_GSB||FI-CA Doc.in Contract Accts Rec. & Pay.: Business Area Auth.|
|F_KKKO_BEG||FI-CA Doc.in Contract Accts Rec. & Pay.: Acct Authorization|
Creating Incoming and Outgoing Payments
The payment program makes payments automatically. To do this, it:
Determines the open items to be paid according to the selection criteria you entered for the payment run, and according to the due date of the open items.
Groups the due items into payments or debit memos in line with industry-specific or customer-specific conventions.
Selects the payment methods and the appropriate bank
Posts the payment document and clears the open items
Provides the data for the payment media
The payment medium program creates the data media. The formats required for this are supplied by SAP.
Modern payment procedures like bank direct debit, debit memo collection, bank transfer, and check are also supported, as is payment using a payment card. You enter payment procedures and the bank details to be used per business partner either in the contract account master record or (in exceptional cases) in the open item itself. If required, open items can be paid by an alternative business partner.
By setting minimum amount limits, you can prevent very small amounts from being paid. You can also block accounts or open items from being paid and enter a temporary processing block in contract accounts.
The system logs the processing steps you carry out.
Using the Payment Program
The following Customizing settings are necessary for the payment program (see Customizing for Contract Accounts Receivable and Payable under):
Definition of payment methods
Structure of note to payee
Company code data
Payment is not made if the item to be paid is smaller than the minimum amounts that you enter here. You can, however, override this setting by entering the payment method in the line item. This enables you to clear residual amounts following contract termination.
Payment medium format settings
Payment method settings
Determination of value date
To determine the value date in the payment document, the system adds the number of days that you specify in the parameters here until the value date to the posting date of the payment run.
Account determination – dependent on the processing type you specified for the payment method:
The system automatically determines a bank clearing account for the bank line in the payment document. In Customizing, you can define the G/L account differentiated by house bank, account ID, payment method, and currency of the payment (in Customizing for Contract Accounts Receivable and Payable under
An open item is automatically generated in the deposit account for the
A posting is made to the reporting account defined in Customizing (see Customizing for Contract Accounts Receivable and Payable under).
Contract Account Specifications
In the contract account, the process flow of the payment program is influenced as follows:
Paying company code
The paying company code is determined from the company code group of the contract account. Payment method determination, house bank determination, bank line item of the payment document, the sender of payment orders, and other details are all determined by the paying company code.
Contract account used for payment in payment transactions
By specifying another contract account for the business partner, you can pay the items of both accounts together. The following details that are required for payment are determined solely by the contract account used to settle items:
Processing block for a limited time (for debit memos)
Payer’s bank details
Payer’s payment card ID
Line Item Specifications
The following details that the payment program takes into account in the open item can partly override the details defined in the contract account:
Due date details (net, cash discount, deferral)
Payer’s bank details
Indicator that the item can be cleared against other items only
Payment Run Specifications
You must also maintain the parameters for the payment run, restrict the quantity of data to be processed (by company code, business partner, contract account, due date period), control the bank selection, enter posting parameters, and make any other control settings. For more information, see Functions for Scheduling Program Runs.
When you start a payment run, the payment program carries out the activities described in the following topics:
Selecting Open Items
Grouping Items to Be Paid
Items with Special Treatment
Selecting Payment Methods and Bank Details
Value Date and Account Determination
Posting Payments and Providing Payment Data
Creating Payment Media
In the payment run transaction, choose.
In the corresponding fields, define a variant for each of the payment media to be created or for the payment list. Use the input help.
Save your entries.
To create your own variant for creating payment media, proceed as follows:
In the field
Payment Medium Variant, enter the name of the variant that you wish to create.
Place the cursor on the variant name and choose
Maintain the settings for screen assignment and choose
On the subsequent screen, define the required payment medium format.
Print Control area, set the indicator
Data Medium Exchangeto maintain the print parameters for the accompanying sheet, and the indicator
Error Logto maintain the print parameters for the error log.
Output Controlarea, you can define the following settings:
File Name: Name of the DME file if you output this in a file system of the application server. However, this output only takes place if you have set the indicator
Output in File System.
Form Accompanying Sheet DME: Here you can define a different SAPscript form for the payment media format to the one defined in the system settings if you want to create an accompanying sheet for a DME file (see the Implementation Guide for )).
You can also define the use of the ISO code for currencies.
If you set the indicator
Texts in Recipient Language, the information forwarded to the bank for the customer account statement is output in the language defined in the business partner master record.
Choose the button
Attributeand enter the required meaning.
Save your entries.
In event 0699, you can start your own program/workflows or output additional logs once you have created the payment media. This event is processed once all payment media jobs started have been completed.
Using report RFKKPAYMJOBC you can get a current overview of the status of the payment media jobs and display job logs.
Special Features of the Format DTAUS0 for Germany
When you create the payment media, the system enters a value in the field
Run Date ; depending on the due date of the cleared items, this can also be in the future. However, if the data media is to be executed by the bank immediately, leave the field blank. To do this, set the indicator
Execute Immediately in the variant in the
format parameters .
In the definition of the format, in the Implementation Guide for
Contract Accounts Receivable and Payable under you can specify that the files are to be created in parallel. You can also specify a minimum number of payments within a payment group – grouping of payments by bank details and payment method by the payment program – from which parallel processing is to take place. This enables you to prevent smaller payment runs creating several files, each with very little payment data. If a payment group fulfills the minimum requirement, you still cannot predict what size the individual files will be.
If you use payment media formats that consider correspondence banks, such as formats from EDIFACT, S.W.I.F.T (MT 100, 101, 103, 104, 200, and 202), or your own developments, for transfers from one bank to another, in Customizing, you can define a bank chain with up to three interim banks, the correspondence banks. You can define general and recipient-specific bank chains. You have to specify recipient-specific bank changes in the master data of the business partner on the tab page
Payment Transactions in the area
Bank Chains .
The function module FI_PAYMENT_BANK_CHAIN_SET determines the bank chains during the payment media creation and places them in the corresponding structures. If you want to use the function for the payment media formats stated, you have to add the call of the function module FI_PAYMENT_BANK_CHAIN_SET to the function modules defined for the events 0020 and 0030, or, for customer-defined developments, the events 0021 and 0031. The function module FI_PAYMENT_BANK_CHAIN_SET contains the data in the corresponding event module as import parameter.
You make the system settings for bank chains in the Implementation Guide for
Contract Accounts Receivable and Payable under .In the activity
Define Scenario , you define for each scenario, whether the bank chain is determined via the general bank chain search and/or via the partner-specific bank chain search. If both fields are set, the partner-specific bank chain search has priority over the general bank chain search. Using the fields
Sender Bank, Recipient Bank Country, Recipient Bank , and
Currency , you can define a ranking for the bank chain search for each scenario. SAP delivers four standard scenarios; you can also generate your own scenarios.The bank chains that you create in the activity
Set Up General Bank Chains are independent of the bank details of a business partner or of the house banks. For a bank chain ID, you can create up to three intermediary banks. The intermediary banks are linked independently of the recipient and sender banks.
SEPA Direct Debits
Entering, Displaying, and Changing Mandates
SAP supports you in processing and managing SEPA direct debits and SEPA bank transfers in conjunction with the Single Euro Payments Area (SEPA), which has as its goal the creation of a single European payments area. Mandates are granted by a paying party to a creditor as part of a debit memo procedure. In the SAP system, for mandates, you can:
On the SAP Easy Access screen under, create, change, and display mandates
In the transaction for processing business partner data on the
Payment Transactionstab by choosing the
SEPA Mandatespushbutton, enter and display mandates for certain bank details or for the business partner
If you select certain bank details, you can enter and display the mandates for those bank details. If there are no bank details yet for the business partner, you can enter and display mandates for the business partner even without selecting bank details. This situation can arise, for example, if you have sent mandates without knowing the bank data, in order to find out the bank data.
If multiple bank details are available and you do not select specific bank details, the system displays the mandates for all bank details on one screen.
In the transaction for processing bank data, on the SAP Easy Access screen under, create, change, and display mandates for bank details
If a mandate already exists, the system displays an icon for displaying and changing the mandate. If no mandate exists, then an icon appears that you can choose to create new mandates.
You can display all mandates in the form of a list. On the SAP Easy Access screen, choose. You can also initiate a mass change of mandates. For more information, see the report documentation.
Evaluation of Mandates in the Payment Program
The payment program checks the existence and validity of the SEPA mandate. The system stores the ID of the SEPA mandate in the payment data, and generates a SEPA-specific payment medium as a result.
For more information about the creation of payment media for SEPA, see SAP Note 1893915.
Integration with Sales and Distribution
If you process billing documents from Sales and Distribution (SD) in Contract Accounts Receivable and Payable, then Contract Accounts Receivable and Payable copies the SEPA mandate ID from the SD billing document header to the open items.
If you enter a SEPA payment method, you can enter the SEPA mandate to be used when you enter or change an SD order. The payment run in Contract Accounts Receivable and Payable requires the bank details of the business partner, but this information is not stored in the SD order. When the document is posted in Contract Accounts Receivable and Payable, the system determines the bank details of the business partner from the IBAN of the mandate and stores the information in the FI-CA document.
If you enter the mandate reference when entering an order in Sales and Distribution (SD), the system transfers this mandate reference to the related business partner item in Contract Accounts Receivable and Payable. The payment run then takes the reference into account.
You can print out mandates and also repeat the printing. For printing mandates, SAP provides the sample forms
SMARTFORM. You can also print using SAPscript. We do not, however, provide a template for this.
In the standard system, you can print mandates immediately using the (
You can also process printing using the correspondence container. In Customizing for Contract Accounts Receivable and Payable under , enter function module FKK_MANDATE_GEN_BUTTON_PRINTas the parameter
Function Module for “Print Mandate” Button in the
Other Parameters group box. The following printing options are available:
Print by entering the printing parameters
When you choose the
Print Mandates) pushbutton, you enter the printing parameters, such as form and output device, on the subsequent screen. You can then decide whether to print the mandate immediately using the specified printer ( (
Print Immediately on Defined Printer) pushbutton) or whether to set the mandate in the print dataset ( (
Set in Print Dataset of Mass Printing) pushbutton). In this case, the mandate is printed in the correspondence print run that you schedule periodically (seeScheduling Correspondence Printing Runs).
Print without printing parameters
When you choose the
Place in Correspondence Container) pushbutton, the system creates a correspondence request that you print out in the periodically scheduled correspondence print run.
In both cases, the correspondence history displays the correspondence.
Visibility of Mandate Fields
In Customizing, you can suppress the display of mandate fields at different levels. Specify the levels at which mandate fields are hidden in Customizing for Contract Accounts Receivable and Payable under.
Payments by Payment Card
When receivables are paid with payment cards in the payment run, receivables due to the payment card institution arise. If the payment run has completed processing, you have to report and transfer the receivables arising to the instruction in a subsequent billing run.
On the SAP Easy Access screen under, you can use the following functions:
Billing of data from a payment run or items to payment card institutes.The program creates a file with the selected payments and transfers the items from the receivables account to the clearing account. You can repeat the billing. Items to be billed are items in a receivables account (report account) still to be reported to a payment card institute. Billed items are items in the clearing account that have already been reported. This is the offsetting account for the incoming payment, so the balance of this account is then zero. See the report documentation for further information. Choose the (
Parallel processing of payment card payments (as a mass activity)This billing variant does not create a file. Instead, if you define event 1421 for your specific needs, this function allows online billing with immediate return of the results (a message stating whether billing was successful or not). In event 1421, the payments to be billed are grouped by payment card company, company code, agent ID, currency, and value date. This means that the event is called individually for each one of these groups. The system stores any error messages. You can display error messages in the document display for the payment document. The mass activity can select payments with errors, in addition to the payments for billing. These payments with errors are payments for which billing was unsuccessful during the last attempt.
The system stores the results of the billing run in the existing log tables under the ID of the mass activity.
The parallel processing object for this mass activity is the
Display of the contents of the generated data medium (only for billing by file)
List of payments that were billed
List of the invoices paid with the billed payments
List of all business partners with card data
Using the function
Delete Logs (SAP Easy Access screen: ), you can delete old billing logs.
In the selection parameters of the payment run, specify a payment method that is designated for processing receivables with payment cards. If necessary, you can restrict the selection to one payment card type and thus process each payment card type in a separate payment run; the payment method of the category
Card Paymentused is the same for every run. If the processing in a payment run takes place only for one specific payment card type, the program creates a corresponding message in the application log and a payment exception for contract accounts where other payment card types are defined.
A bank selection is not necessary for this payment method since there are no transfer postings to bank accounts. The payment program clears the open items and creates open items in the receivables account (reporting account) of the payment card institute.
Functions in Document Display
In the document display, you can display payment card data by choosing.
You can add the format of the payment media in the following events:
Payment cards: File header
Payment cards: Payment file
Payment card: Paid item file
For more information see the documentation for the sample modules defined for the events specified in Customizing for
Contract Accounts Receivable and Payable under .
If you want to make payment agreements, activate the function in Customizing for Contract Accounts Receivable and Payable under
Payment Amount Agreement Possible indicator.
On the SAP Easy Access menu under, you can maintain payment agreements in any currencies. You do this as follows:
Select the open items, for which you want to make an agreement, by business partner, contract account, contract, and company code, and net due date if necessary, and specify the agreement currency.
If you want to create a payment agreement for the total balance of a business partner (irrespective of the transaction currency of the individual open items), set the
Select All Open Itemsindicator
Items for which there is a payment specification or a debit memo notification are not selected.
If you want to create a payment agreement for the total balance of several business partners, choose the pushbutton with the quick info text
Select Further Itemsto make further selections.
Select the items for which you want to make the agreement.
Double click the document number to navigate to the document display.
Agreement Data, the system totals the items in the original currency and displays the amount to be paid in the agreement currency according to the exchange rate table. In the
Amount to be Splitfield, enter the payment amount that you have agreed on with the business partner and choose
Save your entry.
The system automatically splits the agreed amount over the selected open items proportionately and outputs the exchange rate resulting from the agreement.
If you have selected open items where the transaction currency and the agreement currency are the same, the system sets the agreement amount to the original amount and distributes the remaining amount to the other open items proportionately.
In the columns of the table containing the items, you can also define a date to which the agreement is to be valid. By setting the
Evaluation in Payment Run indicator, you can determine whether the agreement is only valid for clearing online or also for processing using the payment program.
If you create payment agreements for the total balance of a business partner, during the automatic distribution of the agreement amount, for all items where the transaction currency is the same as the agreement currency, the system sets the agreement amount to the original amount and distributes the remaining amount proportionately to the other open items.