SAP Knowledge Base Article - Public

3048616 - Hash code on S/4HANA Cloud - How to make sure that file is not modified?


When customers is on external audit process and needs to proof that payment files are not modified between payment file download from SAP payment file upload into the bank.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


SAP S/4HANA Cloud - Onwards CES 2105


1. Assign Form Template

Example: Hash Total for payment formats NL_CGI_XML_CT, NL_CGI_XML_DD

App Manage Your Solution > Configure Your Solution

Application Area: Application Platform and Infrastructure

Sub Application Area: Output Management

Item Name: Output Control

SSCUI ID: 102313 Assign Form Templates

Check if Form Template FIN_FO_PAYM_HASH_NL_ACCSHT is defined. If not add it:

2. Check Payment Format

App Manage Your Solution > Configure Your Solution

Application Area: Finance

Sub Application Area: Accounts Payable

Item Name: Payment Medium Formats

SSCUI ID: 102569 Create Payment Medium Formats

Check if Flag Payment Medium Accompanying Sheet is set for Payment Medium Formats NL_CGI_XML_CT and NL_CGI_XML_DD. Only if this flag is set, the Accompanying sheet output form is generated.

We set this flag as default in NL CGI formats.

3. Output Parameter Determination

App Output Parameter Determination

Define the rule for Payment Medium and Determination step Form Template:

Assign the form FIN_FO_PAYM_HASH_NL_ACCSHT for paying company code 3710 (Netherland) and activate it.

NOTE: Be sure to enter your record ABOVE general Form Template FIN_FO_PAYM_MDM_DME_ACCOM_SHT. This is because derivation is working form the top to the bottom and the first form which fulfills the condition is taken.

4. Create Payment Run - Outgoing payments

App Create Incoming Invoices

Company Code: 3710

Supplier: S3730001

Choose Payment Method F for format NL_CGI_XML_CT and Hose Bank NLBK2/NLAC2- Posted invoice:  1900000900

Create Payment run in App Manage Automatic Payments

Go to App Manage Payment Media and open Payment File Reference. Check if output is generated:

Display the form, Hash Value is in it:

App Create Outgoing Invoices

Company Code: 3710

Customer: 37100003 (Customer must have SEPA mandate created)

Choose Payment method E - Direct Debit and House Bank NLBK2/NLAC2 - Posted invoice: 1800001371

Create Payment run in App Manage Automatic Payments:

App Manage Payment Media

Output for Hash Total is generated:

Display the document, hash total is in it:


Hash code; Payment File Download ; Payment File Upload ; Manage Automatic Payment; Create Incoming Payment , KBA , FI-BL-PT-FO , payment forms , How To


SAP S/4HANA Cloud 2105