Bank Integration With SAP Financial Services Network (16R - US)
Bank Integration With SAP Financial Services Network (16R - US)
Table of Contents
1 Purpose 3
2 Prerequisites 4
2.1 System Access 4
2.2 Roles 4
2.3 Master Data, Organizational Data, and Other Data 4
2.4 Business Conditions 5
2.5 Preliminary Steps 6
2.5.1 Create pain.002.001.03_I071234_01.xml 6
2.5.2 Create camt.053.001.02_I071234_01.xml 8
3 Overview Table 12
4 Test Procedures 13
4.1 Outgoing Integration 13
4.1.1 Create Payment Medium 13
4.1.2 Send Payment Instruction to FSN 14
4.1.3 Pull Status Message from FSN 16
4.2 Incoming Integration 19
4.2.1 Pull Bank Statement from FSN 19
4.2.1.1 ISO CAMT.053 Format 19
4.2.1.2 BAI2 Format 22
4.2.2 Import Electronic Bank Statement 26
5 Appendix 28
5.1 Process Integration 28
5.2 Preceding Processes 28
5.3 Succeeding Processes 29
With SAP Financial Services Network, you can automatically connect to your banks to send payment instructions, receive status notifications, and receive bank statements. In monitoring, you
can supervise the status of the payment instructions and see which bank statements have come and which expected bank statements are still missing.
This document provides a detailed procedure for testing the scope item after solution deployment, reflecting the predefined scope of the solution. Each process step is covered in its own section,
providing the system interactions (that is, test steps) in a table view. Steps that are not in scope of the process but are needed for testing are marked accordingly (see the Test Step column).
Customer-project-specific steps must be added.
This section summarizes all prerequisites needed to conduct the test in terms of system, users, master data, organizational data, and other test data and business conditions.
System Details
System Accessible via the SAP Fiori launchpad. Your system administrator provides you with the URL to access the various apps assigned to your role.
2.2 Roles
Assign the following business roles to your individual test users.
The following roles are provided as example roles from SAP. You can use these as templates for your own roles.
For more information about business roles, refer to Assigning business roles to a user in the Administration Guide for the Implementation of SAP S/4HANA.
Country US
SWIFT/BIC BOFAUS3M
CITIUS33MIA
Currency USD
J60 - Accounts Payable and If the Basic (Core) Cash Management is implemented, before the test step Outgoing Integration ensure that: The payment run has
BFB - Basic Cash Operations been executed and the paying house bank uses the payment medium format for FSN connectivity in test script Accounts Payable (J60),
the process is linked to current test script Bank Integration with SAP Financial Services Network (16R) via a process interface men-
tioned in in the step Accounts Payable Bank Integration in test script Basic Cash Operations (BFB), because no approval is needed (no
BCM approval function is provided) when using Basic (Core) Cash Management.
Purpose
Procedure
Context
Procedure
Adjust the following process overview table to suit your scope item by listing all process step, report, or items described in this document (see example below).
Send Payment Instruc- Cash Management The payment medium file is sent to FSN and shows up in the correct folder of SFTP server.
tion to FSN Specialist
Pull Status Message Cash Management Bank sends the payment status message to FSN to acknowledge that payment medium file has been accepted by bank. And
from FSN Specialist S/4HANA system pulls the payment status message from FSN.
Pull Bank Statement Cash Management FSN maps the local bank statement format to ISO CAMT.053 format, and S/4HANA system pulls the ISO CAMT.053 bank
from FSN Specialist statement from FSN.
Import Electronic Bank Cash Management After the CAMT.053 bank statement is pulled from FSN, the electronic bank statement is imported automatically, and the
Statement Specialist postings in bank accounting and subledger accounting should be carried out.
This section describes test procedures for each process step that belongs to this scope item.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
In this process step, the payment medium file (DME file) for payment medium format of FSN connectivity is created automatically. Some steps need to be done in advance, see section Prerequi-
site.
If the Full (Extended) Cash Management has been implemented together with BCM (Bank Communication Management), after the outgoing payment is executed (whether through the payment
run for vendor in Accounts Payable (J60) test script, or making bank transfer in Advanced Cash Operations (J78) test script), and the BCM batch of this outgoing payment is approved (described
in step Approval and Bank Integration in Basic Cash Operations (BFB) test script), the payment medium file will be created automatically.
If the Basic (Core) Cash Management has been implemented, after the payment run is executed (described in Accounts Payable (J60) test script), the payment medium file will be created auto-
matically if the payment method is using PMW format.
Because Basic and Full Cash Management cannot be tested in the same client at the same time, please contact test organizer to make sure which verison of Cash Management should be tested
in current testing client.
Test scripts relevant to Basic Cash Operations (part of Basic Cash Management) are:
● BFB: sections only valid to Basic Cash, and sections valid to Basic Cash and Full Cash
Test scripts relevant to Full Cash Operations (part of Full Cash Management) are:
● BFB: sections only valid to Full Cash, and sections valid to Basic Cash and Full Cash
● J78: all sections
If in customizing, the PMW (payment medium workbench) medium format for FSN connectivity is assigned to the payment method as the default format. The payment medium file will be sent
to FSN automatically when S/4HANA system is connected to FSN, which will be described in next step.
Procedure
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Context
If the S/4HANA system is integrated with FSN, and a payment medium with PMW format for FSN connectivity is created, the payment medium file is sent to FSN automatically via FSN con-
nector, and this payment medium file will show up in the SFTP folder if this file has no error.
In this step, you check if the payment medium file reaches the SFTP server successfully.
Procedure
2 Check File Check if payment medium file is in the SFTP server folder. You should see a new file (such The payment medium file exists.
Existence asDTA150925051453_0279.xml) in the folder. The payment medium file was
sent to FSN successfully after
batch approval.
3 Open and Open and review the xml file to determine if the information (such as amount, bank’s information) is consistent
Review File with the outgoing payment from a house bank account you approved.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
The bank sends the payment status file to FSN to acknowledge that payment medium file has been accepted. The system pulls the payment status file from FSN automatically.
When testing in SAP S/4HANA system with Basic Cash Management, skip this step. Bank Communication Management (BCM) is not in scope. The Status Message that is pulled from FSN cannot
update the BCM status.
Prerequisite
In the preliminary steps of Prerequisite section, you created the file pain.002.001.03_I071234_01.xml.
Procedure
2 Open the Use a plain text editor to open the xml file.
XML file
3 Edit XML Replace the values of the following fields in file pain.002.001.03_I071234_01.xml by the values you noted
file down in the Send Payment Instruction to FSNstep, and save file pain.002.001.03_I071234_01.xml in your PC.
The values in the note below are example values. Use the values from step Send Payment Instruction to
FSN.
Note XML Values:
● <MsgId>Message ID</MsgId>, for example <MsgId> BBBB/100928-PSR/00120141222054500</MsgId>
(00120141222054500 is the real system data and time 001YYYYMMDDHHMMSS)
● <BIC>BIC</BIC>, for example, <BIC>BOFAUS3M</BIC> You can find the BIC of house bank USBK1 in app
Manage Banks
4 Upload XML Upload the XML file you edited to the SFTP server folder. The xml file disappears from the SFTP
file to the For example, upload to the folder /home/S4HTESTHCI/simbank/outbox/s4hana/v0115/QE4212/US BANK 1 server folder. A background job is
SFTP server scheduled to pull the payment status
from FSN to the S/4HANA system every
10 minutes.
5 Path of SFTP Note The path of SFTP server folder for payment status messages depends on testing system, country and
Server Folder house bank. If you want to get sufficient information on how to access the FSN bank tenants or SFTP server,
please contact test organizer for help. In this example, a PAIN002 file for house bank/account ID
USBK1/USAC1 in country US is pulled from FSN.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
For banks with FSN connection for example, USBK1 Bank statements are handled by FSN. FSN maps the local bank statement format to an ISO CAMT.053 format, and the SAP S/4HANA system
pulls the ISO CAMT.053 bank statement from FSN and then importing it automatically.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
As already described in the Business Conditions section, find a customer invoice created by another tester (the customer item must be uncleared), or perform step Enter Invoice without Sales
Order in Accounts Receivable (J59), or Sell from Stock (BD9), Sales Order Processing - Project-Based Services (J14) to create a customer invoice. Make a note of amount and reference (XBLNR in
the header) of the customer invoice document. You need this information when simulating an electronic bank statement.
Procedure
Perform the following steps to simulate an ISO CAMT.053 bank statement for house bank/account ID USBK1 /USAC1 directly FSN will get it form SFTP server, an dthe S/4HANA system will pull
the ISO CAMT.053 bank statements from FSN.
In this example, the simulated bank statement contains two line items:
● First item: a credit item which should be reconciled with an existing customer invoice, the customer invoice should have been already created (see the Prerequisites).
● Second item: a debit item that should be reconciled with the payment document created in section Send Payment Instruction to FSN.
2 Access the SAP Fiori Open Manage Bank Statements. The screen Manage Bank Statements displays.
app
3 Get Latest Bank State- To get the latest imported bank statement number, choose Show Filter Bar if search The latest bank statement number of the specified
ment Number criteria are hidden, and make the following entries: bank account displays on the screen Manage Bank
Company Code: 1710 Statements.
House Bank: USBK1 The next bank statement number is one greater than
the latest bank statement number. For example, if the
House Bank Account: USAC1
latest bank statement number is 00005, the next num-
Latest Statement: Latest only ber is 00006. If no latest bank statement was found,
and choose Go. the next number should be 00001.
4 Get Closing Balance of Make a note of the closing balance of the specified bank account. It can be found on The closing balance of the latest bank statement
Latest Bank Statement the screen Manage Bank Statements. should be the opening balance of the next bank state-
ment.
5 Access the Open the camt.053 xml file with a text editor, for example,
camt.053.001.02 XML camt.053.001.02_I071234_01.xml. Because FSN does not accept files with the same
file previously created name, and more than one tester is testing this scenario, use a different file name
every time when you test this step, and replace I071234 by a different ID you speci-
fied.
6 Edit xml file Modify the XML file as shown in the previous Prerequisites.
In the ISO CAMT.053 bank statement file, always use ‘.’ as decimal point (don't use
‘,’). And the date format should be YYYY-MM-DD.
7 Upload XML file to the Upload the xml file you edited to the SFTP server folder. The xml file is removed from the SFTP server folder in
SFTP server For example, copy to the folder /home/S4HTESTHCI/simbank/out- several seconds. A background job is scheduled to pull
box/s4hana/v0115/QE421 2/US/BANK1 the bank statement from FSN to the S/4HANA system
every 10 minutes.
The path of the SFTP server folder for bank statements depends on testing system,
tenant, country, and house bank.
If you want to get sufficient information on how to access the FSN bank tenants or
SFTP server, please contact test organizer for help.
In this example, a CAMT.053 file for house bank/account ID USBK1/USAC1 in coun-
try US is pulled from FSN.
Test Administration
Business Role(s)
Responsibility <State Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Prerequisite
As already described in section Business Condition, find a customer invoice created by another tester (the customer item must be uncleared), or perform step Enter Invoice without Sales Order in
Accounts Receivable (J59), or Sell from Stock (BD9), Sales Order Processing - Project-Based Services (J14) to create a customer invoice. Make a note of the amount and reference (XBLNR in the
header) of the customer invoice document. You need this information when simulating an electronic bank statement.
Perform step Bank Transfer Actions in test script J78 and step Approval and Bank Integration in test script BFB again : make a bank transfer from bank account 33333 of bank 011000390 to
bank account 25800611 of bank 820800001 , amount USD 1191,72, use payment method ISO PAIN001: Credit Transfer, please note down the information described in step Pull Status Mes-
sage from FSN.
Create a new text file and name it BAI2_US_USBK1_00006.txt. Enter the following text into it and save it locally on your PC:
01,Test FSN ,Test Receiver,151116,0235,1,99,99,2/
02,Test Receiver, 011000390,1,151116,0235,USD/
03,33333,USD,010,500230,,,015,401883,,,045,13600000,,,/
16,195,20825,0,0,20825,0,TestPayref1,0815,Test Text Item 1/
88,0090000008/
16,455,119172,0,TestPayref2,1000004612,Test Text Item 2/
49,1500320062,99/
98,1500320062,1,99/
99,1500320062,1,99/
Procedure
Perform the following steps to simulate a BAI2 bank statement for house bank/account ID USBK1/USAC1, FSN will map the BAI2 statement format to an ISO CAMT.053 format automatically,
and the S/4HANA system will pull the ISO CAMT.053 bank statement from FSN.
In this example, the simulated bank statement contains two line items:
● First item: a credit item which should be reconciled with an existing customer invoice, the customer invoice should have been already created (see the Prerequisites).
● Second item: a debit item that should be reconciled with the payment document created in Send Payment Instruction to FSN.
Bank Integration with SAP Financial Services Network (16R_US) CUSTOMER
Test Procedures © 2017 SAP SE or an SAP affiliate company. All rights reserved. 23
Test Test Step Instruction Expected Result Pass /
Step Name Fail /
# Com-
ment
1 Log on Log onto the SAP Fiori Launchpad as a Cash Management Specialist. The SAP Fiori Launchpad displays.
2 Access the Open Manage Bank Statements. The screen Manage Bank Statements
SAP Fiori displays.
app
3 Get Latest To get the latest imported bank statement number, choose Show Filter Bar if search criteria are hidden, and make The latest bank statement number of
Bank the following entries: the specified bank account displays on
Statement the screen Manage Bank Statements.
Company Code: 1710
Number
House Bank: USBK1 The next bank statement number is
one greater than the latest bank state-
House Bank Account: USAC1
ment number. For example, if the latest
Latest Statement: Latest only bank statement number is 00005, the
and choose Go. next number is 00006. If no latest bank
statement was found, the next number
should be 00001.
4 Get Clos- Make a note of the closing balance of the specified bank account. It can be found on the screen Manage Bank The closing balance of the latest bank
ing Bal- Statements. statement should be the opening bal-
ance of ance of the next bank statement.
Latest
If no latest bank statement was found,
Bank
the opening balance of the next bank
Statement
statement should be zero.
5 Save txt Refer the to the text file BAI2_US_USBK1_00006.txt you previously created in the Prerequisite section. The txt
file in file name must contain the string BAI2, for example, BAI2_US_USBK1_00006.txt. Because FSN does not accept
your PC files with the same name, and more than one tester is testing this scenario, use a different file name every time
when you test this step.
7 Edit txt Modify the txt file as shown in the note row below.
file Edit these Values in BAI2 file:
8 Upload txt ● Upload the txt file you edited to the SFTP server folder. The txt file vanishes from the SFTP
file to the For example, upload to the folder /home/S4HTESTHCI/simbank/outbox/s4hana/v0115/QE4212/US USBK1 server folder in several seconds. A
SFTP background job is scheduled to pull the
server
Transactions Text
F001 Cash receipt via interim account
F002 Checks In
Procedure
After the background job pulls the bank statement from FSN, the S/4HANA system imports the bank statement automatically.
If the Cash Management Full (Extended) version is implemented in the system, then you should review the relevant payment document using the Check Cash Flow Items app, to Check Status.
The status of the batch item should now be Stmt. Received.
Note The Check Cash Flow Items app is not available in the Cash Management Basic (Core) version.
Sell from Stock (BD9) (for SAP S/4HANA Enterprise Manage- Before the test step Incoming Integration ensure that either:
ment or SAP S/4HANA Enterprise Management Cloud) ● Another tester has created a billing document, and its customer item is open (uncleared). You can find open customer
or items in the app Manage Customer Line Items; in order to run this app, add accounts receivable related roles to your
Sales Order Processing - Project-Based Services (J14) (for user, you may find these roles in the test script Accounts Receivable (J59).
SAP S/4HANA Enterprise Management Cloud or SAP ● If you cannot find an existing open customer item, create a billing document by yourself. You can run the test script BD9
S/4HANA Professional Services Cloud) or J16 to create a billing document.
or any other test scripts creating customer invoice, Make a note of the amount and reference (XBLNR in the header) of the FI document of billing document. This information is
needed to simulate the incoming payment (credit) item in an electronic bank statement. In the bank statement, a credit
item can be reconciled with customer invoice.
Example Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options.
Textual cross-references to other documents.
EXAMPLE Technical names of system objects. These include report names, program names, transaction codes, table names, and key concepts of a programming language when
they are surrounded by body text, for example, SELECT and INCLUDE.
Example Output on the screen. This includes file and directory names and their paths, messages, names of variables and parameters, source text, and names of installation,
upgrade and database tools.
Example Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation.
<Example> Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system.