Professional Documents
Culture Documents
ABAP Text Symbol Analysis Tool - SAP Blogs
ABAP Text Symbol Analysis Tool - SAP Blogs
ABAP Text Symbol Analysis Tool - SAP Blogs
Community
Former Member
May 3, 2014 4 minute read
Lets know more about the ABAP Text Symbol Analysis Tool.
I have created a test report Z_TEXTSYMBOL_TEST for explaining the tool as below:
In this report you can see there are 10 texts. “Text1”, “Text5” , “Text6” and “Text9” with text id 001,005,006 and 009 respectively. However, “Text6” is defined differently in text pool as
below:
Also you can notice that text “Unused Text” with Text ID 011 is not used in report.
https://blogs.sap.com/2014/05/03/abap-text-symbol-analysis-tool/ 1/8
2/5/2020 ABAP Text Symbol Analysis Tool | SAP Blogs
Using “Delete Row” button we delete the text. However for large size reports, it is difficult to find
which text symbol is not used in report.
To delete unused text symbols from text pool go to SE38. Type report name (e.g.
Z_TEXTSYMBOL_TEST) and select “Text elements” radio button and click on change.
You can see the change text symbol screen. Now click on “Compare Text Symbols” shown in below figure or press key Ctrl+Shift+F7 to start ABAP Text Symbol Analysis Tool
You can see the ABAP Text Symbol Analysis screen as below.
Now select first radio button i.e. “Text symbols that can be deleted from the text pool” and click on “Edit” button.
https://blogs.sap.com/2014/05/03/abap-text-symbol-analysis-tool/ 2/8
2/5/2020 ABAP Text Symbol Analysis Tool | SAP Blogs
Now check the text symbols which you want to delete from the text pool and click on delete symbol. You will get below message “Text symbols may still be used elsewhere. Delete anyway”.
Click on “Yes” to delete the selected texts.
If you select all the unused texts and deleted them then you will see below screen which means now there are no unused text symbols present in text pool
Now same way select second radio button “Text symbols that need to be added to the text pool” and click on “Edit”. Then you will see all the texts with text id e.g. “Text1” (001) present in
report which are not added in the text pool as below
Now check texts which you want to add in text pool and click on create as below
https://blogs.sap.com/2014/05/03/abap-text-symbol-analysis-tool/ 3/8
2/5/2020 ABAP Text Symbol Analysis Tool | SAP Blogs
After creating selected texts in text pool you can see below screen which shows there are no texts with text id in report which are not maintained in text pool.
Select third option “Text symbols defined repeatedly/differently in program” and click on edit to see texts which are maintained differently in report than the text pool as below:
You can see for text id 006 there are two texts. The unmarked text will be replaced with the marked text.
Here “Text6” is marked as we want to maintain Text6 for text id 006. Click on replace as shown below to replace “Defined Differently in report” with “Text6”.
Now you can see all inconsistencies in text pool got corrected as below
https://blogs.sap.com/2014/05/03/abap-text-symbol-analysis-tool/ 4/8
2/5/2020 ABAP Text Symbol Analysis Tool | SAP Blogs
Now click on save to save the changes made in text pool. If you go back you can see updated text pool as below:
Alert Moderator
Assigned tags
Why it’s not a good practice to use text-symbols as literals in your code
By Sergiu Popa , Jun 25, 2015
ABAP static analysis tool SQF
By Jerry Wang , Dec 23, 2013
Export ABAP repository objects to Text Files
By Robin Vleeschhouwer , Apr 29, 2012
Related Questions
https://blogs.sap.com/2014/05/03/abap-text-symbol-analysis-tool/ 5/8
2/5/2020 ABAP Text Symbol Analysis Tool | SAP Blogs
11 Comments
Former Member
Like (0)
Matthew Billingham
While a fairly basic topic, it’s not been covered before, and is well written.
Like (0)
Former Member
BR,
Naresh K.
Like (0)
Former Member
Like (0)
Kiran K
K.Kiran.
Like (0)
涛王
https://blogs.sap.com/2014/05/03/abap-text-symbol-analysis-tool/ 6/8
2/5/2020 ABAP Text Symbol Analysis Tool | SAP Blogs
Thanks a lot.
WangTao
Like (0)
Sharath Yaralkattimath
Like (0)
Former Member
Thanks
Anand
Like (0)
Like (0)
Former Member
Very good!
Muito bom!
Like (0)
K.Arun Prabhu
Like (0)
Find us on
https://blogs.sap.com/2014/05/03/abap-text-symbol-analysis-tool/ 7/8
2/5/2020 ABAP Text Symbol Analysis Tool | SAP Blogs
Newsletter Support
https://blogs.sap.com/2014/05/03/abap-text-symbol-analysis-tool/ 8/8