Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member


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:


     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.

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



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



Now click on save to save the changes made in text pool. If you go back you can see updated text pool as below:

11 Comments