SAP FI XML As Global Payment File
SAP FI XML As Global Payment File
SAP FI XML As Global Payment File
com/docs/DOC-57923
XML as Global Payment file
created by hemachandra Srinvasa on Sep 8, 2014 4:38 PM, last modified by hemachandra Srinvasa on Sep 9,
2014 7:20 PM
Version 1
inShare
Applies to
SAP ERP 5.0 / 6.0 with the focus of One XML format for global payments including SEPA
Summary
The purpose of this document is:
To provide possible country specific requirements (Europe and Americas) used at
Banks to extend the XML format
Development highlights to extend XML format as Global format
It is necessary the consultant is aware of all the basic settings of the Automatic payment
process. This document is only focused on the creation of complete structure of payment file
in XML format with the use of SAP standard template SEPA_CT.
Table of Contents
1
Introduction.
2
General Configuration.
4
XML SEPA Country specific Configuration.
4.1
Rules to determine a SEPA Payment
4.2
General Considerations: All EU SEPA countries.
4.2.1
Invoice reference in Payment file.
4.3
Country specific changes.
4.3.1
Spain.
4.3.2
Belgium.
4.3.3
France.
5
XML SEPA extension as Global format
5.1
General Considerations.
5.2
If Beneficiary Bank has IBAN
5.3
If Beneficiary has No IBAN User exit
5.4
DKK Payments in Denmark.
5.5
SEK Payments in Sweden.
5.6
NOK Payments in Norway.
5.7
GBP Payments in UK.
5.8
USD Payments in US.
6
Related Content
1 Introduction
This document aims to understand and to use the XML format as Global format including
SEPA requirements / Transactions.
To start, SAPs standard template SEPA_CT for Credit Transfer is used. The basic
requirements and technicalities to generate the payment file takes into consideration the
requirement of EPC (European Payments Council)
The EPC rulebooks contain the business requirements and rules for the operation of the
SEPA. The implementation guidelines specify the SEPA core requirements that apply to the
UNIFI (ISO20022) XML
standards and cover mandatory bank-to-bank messages and optional recommended customerto-bank messages.
2 Benefits of using XML format as Global format
Converging to SEPA requirements, hence in line with the legal requirements
Less maintenance cost for the company
Adaptability and flexible to accommodate any future changes either by Financial
institutions or by business
Highly Secured
3 General Configuration
Standard SEPA_CT for credit transfer cannot be used unless changes are adopted as per the
bank and country specific requirements. It also depends on the Beneficiary Bank details,
Currency of payment and Beneficiary bank country.
A new format can be created as there are no formats available for a specific bank/ country.
This customization can be either done through modifying the standard function modules of an
existing PMW (Payment Medium Workbench) format or through developing via Data
Medium Exchange Engine (DMEE). (However this document does not deal with customizing
through DMEE).
4 XML SEPA Country specific Configuration
Important Considerations
In the Payment file, a swift BIC code can be on 8 or 11 characters. i.e., for example
you can indicate in files as BNPAGB22 or BNPAGB22XXX. The four first characters have to
be Letters & the 5 - 6 characters is the ISO country code.
In the payment file, Charges always set-up to SLEV for SEPA payments. This
indicates to Bank that default charges set-up will be applied and is born by the debtor. Other
charges available for NON SEPA payments are : CRED, DEBT and SHAR.
For example, in Denmark, default charges are shared. You can force charges to what
you want by specifying one of the following values: SHAR or DEBT or CRED. This depends
on the Business agreement with Beneficiaries.
If the Payment is SEPA relevant, it is always mandatory to have the Payment
type information as follows:
<PmtTpInf>
<SvcLvl>
<Cd>SEPA</Cd>
</SvcLvl>
</PmtTpInf>
Batch booking option.
If batch booking= true. The bank statement will mention a global debit
of the instruction.
If batch booking= false. The bank statement will mention the details of
all transactions within the instruction.
Sample as follows:
Tr.Code: OBPM1
4.3.2 Belgium
Initiating party ID needs to be mentioned as constant KBO-BCE for Belgium
4.3.3 France
For French beneficiaries, there is no sort code (it does not exist & sort code is just for UK
domestic payments and on 6 digits Explained below). The details as below:
Sample as follows:
<FinInstnId>
<BIC>CCFRFRPPXXX</BIC>
</FinInstnId>
Regulatory Reporting code needs to be mentioned as constant 152 for France where
Payer is in France and Payee is outside France
Note: Null tags and empty tags are not allowed even on the address field => This involves
the rejection of the whole file. Such Tags have to be removed (or fill in) from the file.
5. XML SEPA extension as Global format
5.1 General Considerations
XML pain.001.001.02 for SEPA EURO payments and xml iso pain.001.001.03 for Non
EURO payments. Thus to facilitate the XML format as Global, it is required to have the
header as follows :
Sample output at Header
<?xml version="1.0" encoding="utf-8" ?>
- <Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"
xmlns:xsi="http://www.w3.org/2001 /XMLSchema-instance">f
To sum-up:
- with pain.001.001.03, it is possible to send SEPA and non SEPA payments
- with pain.001.001.02, you can only send SEPA payments
5.2 If Beneficiary Bank has IBAN
If IBAN is found in the Beneficiary bank account, the IBAN is printed via the structure in the
Payment file. If not, BBAN (Basic Bank Account Number) is generated via the user exit
Output is:
Further, display the above generated numbers as the values are related to BBAN (Basic Bank
Account Number)
under the SchemeNm as shown:
Also, Beneficiaries without IBAN number outside Europe, but with BIC code and /
Beneficiary Bank country same as Postal address country structure should appear as:
If the Beneficiary Bank country same as Postal address country but without IBAN and
without BIC code, the structure should appear as:
Note: The tag <Ctry> for french regulatory reporting is mandatory to show in DMEE
file
It is required to note that, the country of the beneficiary bank is included in the swift BIC
code. In case the swift BIC code of the bank is not included, you will have to include the
name and address of the bank of the beneficiary. Hence, the structure should appear as
follows:
If the Beneficiary is in EURO zone and needs to be paid by multiple currencies, the challenge
is to segregate and group the EURO (SEPA Relevant) and NON-EURO payments.
SAP provides with the option to control the structure and group in relation to the currency.
Under the segment in Header node, we can control via the Key field as Transaction currency.
Screen shot below shows what needs to be maintained under DMEE tree.
A.
Beneficiary
Country
Bank
country
Curren
cy
US
US
USD
SG
SG
SG
US
SG
CN
USD
USD
USD
Type of Transfer
ACH >> CCD or PPD
ACH >> CCD or PPD
NON ACH, can be USD Wires (499)
NON ACH, can be USD Wires (499)
** CCD: Corporate Payments,
For any USD local payments, service level code is NURG as follows
<PmtTpInf>
<ScvLvl>
<Cd>NURG</Cd>
</SvcLvl>
For any USD foreign payments, service level code is URGP as follows
Sample as follows:
<PmtInfId>1000457118</PmtInfId>
<PmtMtd>TRF</PmtMtd>
<BtchBookg>false</BtchBookg>
<NbOfTxs>3</NbOfTxs>
<CtrlSum>950.00</CtrlSum>
<PmtTpInf>
<ScvLvl>
<Cd>URGP</Cd>
</SvcLvl>
<ReqdExctnDt>2014-07-06</ReqdExctnDt>
Also, the formatting for the debtor account tag should be
Sample as follows:
<DbtrAcct>
<Id>
- <Othr>
-<Id>30XXXX84</Id>
-<SchmeNm>
<Cd>BBAN</Cd>
</SchmeNm>
</Othr>
</Id>
<Ccy>USD</Ccy>
</DbtrAcct>
6. Related Content
For more information for DMEE payment structure and configuration details, visit SAP
help:http://help.sap.com/saphelp_46c/helpdata/en/cb/d82f3885b6097ae100
00009b38f889/frameset.htm
7. Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP
official interfaces and therefore is not supported by SAP. Changes made based on this
information are not supported and can be overwritten during an upgrade.
3523 Views
2 Comments
Hello Srinvasa,
Tahnk you for this document highlighting all those points of consideration.
Something you do not mention - Do we have to maintain instruction key somehow ?