In SAP, we are delivering solutions for processing credit transfer and direct debit requests to simplify your communication with banks using SAP S/4HANA via Payment Formats. With Payment Formats, you can flexibly adjust the content of payment media file as needed. You can find out further details related to Payment Formats in SAP here, focusing on Outgoing Formats sections. About Payment Formats in FI-CA, refer to the blog post Payment Formats in Contract Accounting in SAP S/4HANA to learn more.
In this blog post, you can learn about the newly developed BAdIs and the functionalities regarding enhancement implementation in Payment Formats in FI-CA.
Payment process in FI-CA
Previously, the enhancement spot can be implemented by following implicit enhancement which is predefined by SAP in the source code. By following the implicit enhancement, customers have to compose their own solutions in ABAP language with specific requirements. However, from now, you can use the new BAdIs developed by SAP to create your own enhancement implementation without using implicit enhancement. Within the newly delivered BAdIs, you are eligible to adjust the customer reference fields in order to define your own business logic. Meanwhile, you can also use your custom payment formats and implement it with standard procedure.
The BAdIs supports extensibility in Payment Formats with the help for data collection before reaching the format structured in DMEEX. You can modify the source of data according to the legal requirements defined by specific countries/regions or remarks from customers.
In the enhancement spot ES_FKK_PAYM you can use the following two BAdIs for different purposes:
Within the BAdI, you can modify ZREF fields in FPAYHX structure and ZREF fields in paid item structure (FPAYP). For adjusting the payment item, the BAdI offers you 10 user Z REF fields range from 'ZREF01’ to ‘ZREF10’, each consisting of maximum 132 characters. Therefore, you can implement the enhancement for payment formats by filling those customer reference fields in the Z namespace.
By implementing this BAdI, you can fill the specific fields based on your business requirements.
Now you have your new BAdI implementation created. To generate a payment medium format file, link the standard DMEEX tree to the newly created payment format and assign it to a payment method. Further details about the process can be obtained in blog post Payment Formats in Contract Accounting in SAP S/4HANA
This BAdI is only available in SAP S/4HANA Private Cloud Edition and SAP S/4HANA (On Premise).
If you want to create your own payment medium format or reuse the existing payment medium format but change partially based on your legal/ business requirements, complete this BAdI implementation.
Here is a concrete example to create a new payment format using BAdI implementation and how it influences payment media file.
2. Create payment format
Please be aware that payment format must have the same name as DMEEX tree.
3. Create a new enhancement implementation.
Detailed steps are explained in the section Implementation of BADI_FKK_ADJUST_PAYM_DATA_C above.
4. Assign new payment format to payment method
In transaction FQP1, link newly created payment format to payment method.
5. Post document with proper payment method (for example transaction FPE1)
6. Create payment run (transaction FPY1) to test the solution.
7. Check content of the file (report SAPFKPY3 – download the file)
Now you can see the email is exported into the payment file.
You can check the list of SAP notes below to learn more about enhancement spot and BAdI implementation for payment formats in FI-CA:
Do you have any further questions regarding our new BAdI implementation in Payment Formats in FI-CA? Do not hesitate to leave your comments in the section below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 |