Financial Management Blogs by Members
Dive into a treasure trove of SAP financial management wisdom shared by a vibrant community of bloggers. Submit a blog post of your own to share knowledge.
Showing results for 
Search instead for 
Did you mean: 
Former Member

Using outgoing payments in FI-CA, where managing large amount of data is one of the main goals, creating payment medium is very useful and time-saving activity which except for the speed helps with reducing errors.

In order to correctly configure Payment Medium Format, several transactions are to be used:

- FQP3 - Payment Medium Formats

- FQP1 - Define Payment Methods

- FQP4 - Company Code Details for Payment

This document will explain how to configure and use the Payment Medium Format /Z/HR-HUB3 which uses parameters and outputs file used in Croatia.


Since the structure of the croatian payment medium format comes with an addon HR-CEE, it has to be installed on the system. If this is not the case, there is a set of notes which can be imported instead, but this will not be the topic of this document.

Step 1: Create Payment Medium Format (FQP3)

Enter the transaction FQP3 and create new Payment Medium Format with the following parameters:

- Format: /Z/HR-HUB3

- Country: HR

- Description: Croatia HR-HUB3

In the Payment Medium Format details enter data as follows:

- [X] Payment Medium with Documents: Output Media

- [X] Payment Medium (DME) without Documents; Type: File

- Country: HR

- Ext. Format name: HUB3

Payment Medium Output Separated By (Degree):

- [X] Company code

- [X] House bank

Step 2: Define Event Modules for Payment Medium Formats

Staying in the same transaction, while creating Payment Medium Format, select the subnode "Event Modules for Payment Medium Formats" and enter the following combination of Event, Function Module and Structure for format parameters:





Events are being called in the payment program and payment medium program. Events call the function modules which then deal with parameters to create the needed output format.

Step 3: Define Supplements for Payment Medium Formats

Supplemtns for Payment Medium Formats are printed in the payment medium (file) and are often used to distinguish between the types of payment. If the format itself needs this data, like it is needed in Croatia, you need to define at least one.

In the subnote "Supplements for Payment Medium Formats" enter the following combination of supplement and format supplement name:

OT - Others

Step 4: Define Payment Method

Enter the transaction FQP1, choose your country (in this case HR) and select subnode "Payment methods". Create new payment method with the following data:

- Payment Method: H

- Description: Bank transfer - HUB3

- Processing type: Bank account

Required master record specifications:

- [X] Bank details

- [X] IBAN required

Payment medium format

- Format: /Z/HR-HUB3

Data for application area Utility company:

- Document Type: CL (choose the document type you defined for clearing purposes)

- Clearing reason: 02 (Outgoing payment)

- Note to Payee: SAP_PS2

Save the changes and select "Permitted currencies" subnode. Having in mind simple scenario, where you use only local currency, create a new entry with the currency type "HRK".

Instruction keys inform the bank how the payments will be carried out. If the instruction keys are used in your country, you need to define them. We will create one. Enter the "Instruction keys" subnode and enter the following Instruction key:

- Country: HR

- Payment method: H

- Instruction key: 99

- Instruction key 1: 99

- Format: /Z/HR-HUB3

This step define the link between the Payment Medium Format created in steps 1 and 2 and the payment method you just created.

Step 5: Define Company Code Details for Payments

Enter transaction FQP4 and create a new paying company code. If you have only one company code, define that one here by just entering company code.

Save the changes and select "Payment Methods in Company Code" subnode. Create a new entry where you will connect the payment method created in step 4 (H) with the paying company code:

- Paying company code: 1000

- Payment method: H

- Country: HR

Save the changes and select "Payment Medium Formats in Company code" subnode. Here you will connect the payment medium format created in steps 1 and 2 (/Z/HR-HUBR3) with the paying company code:

- Company code: 1000

- Format: /Z/HR-HUB3

- Form formatting type: SAPscript

- Form for Accompanying Sheet: J_3K_AVIS

- Issuer details: <enter the details that will be used in the form for accompanying sheet and in the payment medium>

Step 6: Creating variant for payment medium program

Enter transaction SE38 and enter program name SAPFKPY3. Then enter the following data:

- Payment medium format: /Z/HR-HUB3

- [X] Output media

- [X] Data Medium Exchange

- [X] Error log

Save the variant.

Testing the Payment Medium

The specified steps will do everything needed for the payment medium to be created and outputed. To test it, we can concider an often scenario in which a customer overpays its bill and wants the refund for the difference. To follow this repayment scenario, the following can be done in the test system:

- create an invoice for the customer (for example in FPE1)

- create a payment where the amount exceedes the invoice (for example in FP05)

- check residual item, edit it and enter "H" as a payment method in the payment data tab (for example, in FPL9)

- run payment program (FPY1)

- run payment medium creation program (SE38 / SAPFKPY3) using the variant you created in step 6.