Advanced Use of Search Strings in Electronic Bank Statement
Advanced Use of Search Strings in Electronic Bank Statement
statement processing
Electronic Bank Statement is one of the most widely used functionality to automate bank
reconciliation and related posting. It can be further optimized by use of ‘search strings’.
Search strings by reading strings in “Note to Payee” can help EBS further automate functions
like changing posting rule, populating values from EBS file to assignment field in accounting
document, skip processing of bank code for specific house bank etc. We will see all these
functionality in detail.
For configuration follow path – SPRO > Financial Accounting (New) > Bank Accounting >
Business Transactions > Payment Transactions > Electronic Bank Statement > Define Search
String for Electronic Bank Statement.
Configuration of first search string (BANK REF. IDENTIFIER) to identify the target field in
accounting document:
Please note that there is no mapping for this search string as it is only used to identify the
target field in accounting document. In our example in BAI file bank reference comes in
format “IA123456789012” or IA1234567O9012 where first 2 characters are constant (IA)
followed by 12 numeric values where 8th character can be alphabet “O” or a number. In SAP
performance assistant you can see how to configure search strings. I have configured search
string as follows:
For different banks format of reference value can be different. However, it should
have some unique identification like in our example it starts with ‘IA’, so that system
can uniquely identify the string.
2. For same combination in step 1 assign second search string (BANK REF. POSTING) with
target field “BDC Field Value 1”.
We want to substitute posting rule WF08 with posting rule WF10 for bank code 169 if
note to payee has string “ACH RETURN”. For ACH RETURN search string can be
defined as shown below –
Assign search string configured above in node “Search String Use” as follows:
Assign search string “ACH RETURN” to relevant Company Code/House Bank/Acct ID/Bank
Code combination. Select target field as “Posting Rule”. Assign “Mapping Prefix” as WF00.
When substituting posting rule WF08, system will take “WF” from mapping prefix and “10”
from search string definition. Mapping prefix works as follows (Excerpt from SAP help) –
A string of characters you can define yourself to have the funds center found “filled out” in
the event of a successful search if it is too short.
The prefix should be the same length as the document numbers being searched for in the
system. The later part is then replaced with the search string found.
If a “hit” is longer than, or as long as, the relevant prefix, the hit overwrites the whole prefix.
Use
This function is particularly useful for filling in redundant parts (such as leading zeros) when
the reference information is incomplete.
Example
Prefix “1800000000” and hit “12345” results in number “1800012345”.
Once above configuration is in place any file with bank code 169 assigned for house
bank and account when loaded with string ACH RETURN will replace the posting
rule WF08 with WF10.