ABAP Text Symbol Analysis Tool - SAP Blogs

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

2/5/2020 ABAP Text Symbol Analysis Tool | SAP Blogs

Community

Ask a Question Write a Blog Post Login

Former Member
May 3, 2014 4 minute read

ABAP Text Symbol Analysis Tool


Follow RSS feed Like

26 Likes 6,796 Views 11 Comments

SAP has provided inbuilt text symbols analysis tool.

This tool is used for following purposes:


a) To delete text symbols which are not used in report.
b) To create text symbols that needs to be added in text pool .
c) To correct text symbols which are defined repeatedly or differently.

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.

a) Delete unused text from text pool:

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.

You can also access this tool by SE32 transaction as below:


Goto SE32 transaction an click on “Anlysis”.

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

You can see below screen.

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

b) To create text symbols that needs to be added 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.

c) To correct text symbols which are defined repeatedly or differently:

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

ABAP Development | textelement translation | textelements | textsymbols |

Related Blog Posts

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

Text symbol - in which table ???


By Former Member , Jun 21, 2006
Special Character In Smartform
By Former Member , Dec 18, 2008

ABAP Text Symbol Problem

https://blogs.sap.com/2014/05/03/abap-text-symbol-analysis-tool/ 5/8
2/5/2020 ABAP Text Symbol Analysis Tool | SAP Blogs

By Former Member , Jan 26, 2010

11 Comments

You must be Logged on to comment or reply to a post.

Former Member

May 3, 2014 at 6:29 am

Really Excellent document….

Helpful for Abapers and also save time…

Like (0)

Matthew Billingham

May 3, 2014 at 11:43 am

While a fairly basic topic, it’s not been covered before, and is well written.

Like (0)

Former Member

May 5, 2014 at 6:17 am

Useful resource for all…Thanks.

BR,

Naresh K.

Like (0)

Former Member

May 5, 2014 at 6:22 am

Nice Document.. Thanks for sharing

Like (0)

Kiran K

May 5, 2014 at 9:32 am

Thanks for sharing the info on this feature in SAP.

K.Kiran.

Like (0)

涛王

May 6, 2014 at 1:08 am

It ‘s good for the developer.

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

May 6, 2014 at 4:54 am

Good Work Vineesh

Like (0)

Former Member

May 6, 2014 at 6:39 am

Well written topic on text symbols

Thanks

Anand

Like (0)

Former Member | Post author

May 20, 2014 at 10:23 am

Thank u All for your response…

Like (0)

Former Member

May 21, 2014 at 6:41 pm

Very good!

Muito bom!

Like (0)

K.Arun Prabhu

May 29, 2014 at 5:16 am

Good one Vineesh.

Like (0)

Find us on

Privacy Terms of Use

Legal Disclosure Copyright

Trademark Cookie Preferences

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

You might also like