Show TOC Start of Content Area

Procedure documentation Removing Unused Data Declarations  Locate the document in its SAP Library structure

Use

You use this procedure to remove unused data declarations by means of the Refactoring Assistant.

Procedure

...

       1.      In the Object Navigator (transaction SE80), navigate to your program.

       2.      Switch to change mode.

       3.      In the source code, open the context menu with the secondary mouse button and choose Refactoring  Delete Unused Data Declarations.

The Refactoring Assistant Wizard appears.

       4.      Choose Continue.

An overview screen appears with the name of the program.

       5.      Choose Continue.

The final screen of the Refactoring Assistant Wizard appears.

       6.      Choose Save.

Result

All unused data declarations in the code are deleted.

End of Content Area