EBS - Configuration of Search String, Part 2 - SAP Blogs
EBS - Configuration of Search String, Part 2 - SAP Blogs
Products
Products Industries
Industries Services Support
Services and Support Training
Training Community
Community Developer
Developer
Partner
Partner About
About
Ask a Question Write a Blog Post Login
Bohdan Petrushchak
May 17, 2014 3 minute read
Hello SAPers!
Here is the second document on con guration of search string functionality. The rst document can be
found under this link EBS: con guration of search string, part 1. In this document, I’ll try to explain how we can
use the search string functionality to override the default account assignment of cost elements.
When you post bank commission or other similar expenses via automatic bank statement, you might want to
change the automatic account assignment for these expenses depending on some conditions. For instance, if
you’re con guring the EBS for several house banks you might want to post bank expenses using one cost
element but di erent cost centers for di erent house banks. This requirement might be useful for the tracking
of bank expenses of di erent house banks. Search string for EBS provides a nice functionality that enables you
to meet this requirement.
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 1/12
3/9/2019 EBS: configuration of search string, part 2 | SAP Blogs
Let’s rst discuss the possibilities of default account assignment for bank related expenses. The rst option
is to specify the default assignment directly in master record of cost element in transaction KA01. As you can
see on the picture below, cost center 500 is speci ed as default cost center for cost element 479000 (“Bank
charge costs”).
Another option to con gure the default account assignment is to use the transaction OKB9 e.g. as you can
see from the picture below cost center 200 is assigned to the same cost element. The settings in the
transaction OKB9 override those in the master record of cost elements.
If you con gure the settings for several company codes, you can assign di erent cost centers to the same
cost element depending on the company code. You cannot assign several cost centers for the same cost
element in this transaction. However, you can con gure the functionality of search string for EBS that will
override both settings.
Suppose you would like to specify cost center 400 for one of your company codes as default cost centers for
bank expenses. Suppose also that there is a xed text “COMMISSION” (or some other text) in the text of note to
payee that can be used for con guration of search string. In order to meet the requirement stated above you
have to do the following con guration of search string.
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 2/12
3/9/2019 EBS: configuration of search string, part 2 | SAP Blogs
Afterwards, you have to con gure the use of search string on the respective tab.
The combination of company code, house bank and account ID for which this search string will be applicable
was speci ed. Afterwards 004 was speci ed as external transaction code and + as transaction sign. There was
no interpretation algorithm assigned to posting rule associated with bank charges, therefore the respective
column was left blank. Afterwards search string name was speci ed in the respective column and “Cost Center”
was chosen in the Target eld column. Check box “Active” was activated. The columns Mapping pre x and
Partner ID were left blank.
Thus, the logic behind this search string functionality is as follows: when search string nds the xed text
“COMMISSION” in the text of note to payee, it triggers the posting rule assigned to the business transaction
code 004 and uses cost center 400 instead of cost centers de ned as default in the master record of cost
element or in the transaction OKB9 (screenshot of the nancial document that was posted using this
con guration can be found below).
You can nd an example of bank statement that was used for the con guration of this functionality below.
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 3/12
3/9/2019 EBS: configuration of search string, part 2 | SAP Blogs
The same logic can be con gured for overriding the default assignment of business areas and pro t centers.
I hope this post will be useful for some of you. All suggestions are welcome.
Best regards,
Alert Moderator
The Wirtschaftsmann
Assigned tags
View more...
Related Questions
string ebs
By Former Member , Dec 18, 2016
20 Comments
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 4/12
3/9/2019 EBS: configuration of search string, part 2 | SAP Blogs
Former Member
Thanks
GT
Like (0)
Like (0)
Mohammed Kalim
Regards,
Mohammed
Like (0)
Like (0)
Mariks .
Like (0)
Like (0)
Former Member
Nice explanation as usual. It is a useful tip for satisfying business requirements. Thanks for sharing.
Regards,
Sridhar
Like (0)
Like (0)
Swastik Ranjan
Hello Wirtschaftsmann,
Could you please provide an insight as to how the search string would be useful, when the document number,
or reference number to be pulled out from tag 86, contains characters like, ‘-‘ , ‘_’ ?
Regards
SR
Like (0)
Thank you for feedback. You can con gure search string to look for document numbers insinde of note to
payee text. In order to de ne the text of search string taking into account the conditions you speci ed above,
you can use the following examples ###-#### or ####_####, where # represents any natural number (0-
9). If there is a letter in the document number, for example A-000134, you can con gure more precise search
strings e.g. A-######.
As a matter of fact, use of document numbers retrieved from note to payee is a bit di cult. If everything will be
ok, I will try to prepare another document on search string functionality and post it in near future.
Best regards,
The Wirtschaftsmann
Like (0)
Swastik Ranjan
If the original document number(present in tag 86), that is to be cleared contains ‘_’ or ‘-‘ , the system is not
able to clear it. The system some how is not able to identify the document number/reference doc number out
of this.
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 7/12
3/9/2019 EBS: configuration of search string, part 2 | SAP Blogs
Regards
SR
Like (0)
Former Member
I doubt if you can clear documents which contains ‘-‘ or ‘_’ as for clearing documents using standard
algorithms you need to ll the interval of XREF or BELNR in the selection screen of transaction FF_5 and I
don’t think we can enter any special characters in those intervals.
Nikhil Kothari
Like (0)
Swastik Ranjan
Regards
SR
Like (0)
Mahmoud Elnady
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 8/12
3/9/2019 EBS: configuration of search string, part 2 | SAP Blogs
Regards
Mahmoud EL nady
Like (0)
Regards,
The Wirtschaftsmann
Like (0)
Former Member
Like (0)
Regards,
The Wirtschaftsmann
Like (0)
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 9/12
3/9/2019 EBS: configuration of search string, part 2 | SAP Blogs
Former Member
Thanks for the article. In your experience is there a way to ignore trailing zeroes in a piece of text?
I have a situation where the note to payee contains a customer reference number which is always preceded by
the text EI/ but contains trailing 0’s after the text.
I want to pick up the text DIAMOND HOMEWARE but ignore the 00000000000. The text is a customer
payment reference so is variable length. I have created a search string looking for
EI/??????????????????????????? which picks up all 30 characters, but I would like to only pick up the text
but ignore the 0’s.
Thanks
Phil
Like (0)
Former Member
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 10/12
3/9/2019 EBS: configuration of search string, part 2 | SAP Blogs
The rst 12 positions are xed + bank account + check digit of customer’s. And the string use:
Thank you
Best regards,
Joao Pereira
Like (0)
Former Member
Hello Bohdan,
We have read yours explanations in “EBS: con guration of search string 1 and 2” which are very useful, in
particular for EBS in Russia. Now we are facing the EBS les comming from the Deutche Bank, even we
apparently understood your explanations, we can not nd a key word in order to determine the document
number or reference number of the documents. Have you got any experience with EBS les from the Deutche
Bank, check the example below, perhaps you can give us some additional explanations. Thanks a lot in
advance. Regards.
M. Sepulveda
:61:1709110911C3072,19NTRF99942//RE01709112-26721
:86:051?00CLEARING IN?106IC0?200007200199942 Îïëàòà ïî ñ÷.?21¹ 254535
5 ÂÊËÞ×Àß ÍÄÑ 468.6?224, DOC-REF: 11.09.2017, CHR?23G:BEN?30BIK04
4525202?3140702810900700299015?32INN7101006354 ÏÐÎÊÒÅÐ ÝÍÄ Ã?33ÝÌ
ÁË-ÍÎÂÎÌÎÑÊÎÂÑÊ ÎÁ-ÂÎ Ñ Î
:61:1709110911C3422,NTRF43//RE01709112-25798
:86:051?00CLEARING IN?106IC0?20Îïëàòà ïî ñ÷åòó ¹ 2650497 î?21ò 06.09.
2017 çà ðàñõîäíûå ì?22àòåðèàëû.  òîì ÷èñëå ÍÄÑ 1?238.00 . – 522.
00, DOC-REF: 1?241.09.2017, CHRG:BEN?30BIK044525700?3140702810800
001425223?32INN5031042730 ÇÀÎ ÝËÜÔ ÔÈËË?33ÈÍÃ
:61:1709110911C11016,48NTRF3256//RE01709112-26102
:86:051?00CLEARING IN?106IC0?20Îïëàòà çà ðåìîíò ïðèíòåðà ï?21î ñ÷åòó
¹2629277 îò 11.08.2?22017 Ïî äîã.1422 îò 01.06.17?23 Â ò.÷. ÍÄÑ(1
8.) 1680-48, D?24OC-REF: 11.09.2017, CHRG:BE?25N?30BIK044525225?3
140702810838120002021?32INN7722743350 ÎÎÎ .Çàâîä Ìî?33ñêàáåëü.
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 11/12
3/9/2019 EBS: configuration of search string, part 2 | SAP Blogs
:61:1709110911C28632,70NTRF5743//RE01709112-26568
:86:051?00CLEARING IN?106IC0?20Ïðåäîïëàòà 50. ïî ñ÷åòó ¹26?2145704 îò
31.08.2017 çà ëåíòó?22 Â ò.÷. ÍÄÑ (1 8.) 4367-70?23, DOC-REF: 11
.09.2017, CHRG?24:BEN?30BIK044525225?3130302810000006001300?32INN
7017286512 ÎÎÎ.ÊÄÂ Âîðîí?33åæ. ð/ñ 4070281001300007397
Like (0)
Sitemap Newsletter
https://blogs.sap.com/2014/05/17/ebs-configuration-of-search-string-part-2/ 12/12