Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to filter my abap code from useless variables !

0 Likes
1,877

Hello ,,

I have a program its about 3000 lines, I have defined during working several variables, structures ,.. and so on.

Is there any easy way to delete these useless objects !? 

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,300

You can do an extended program check to determine the unused definitons.

BR,

Gábor

Hello ,,

I have a program its about 3000 lines, I have defined during working several variables, structures ,.. and so on.

Is there any easy way to delete these useless objects !? 

3 REPLIES 3
Read only

Former Member
0 Likes
1,301

You can do an extended program check to determine the unused definitons.

BR,

Gábor

Read only

Former Member
0 Likes
1,300

hi,

Go to SE38

Go to Menubar ---> Program ---> Check -


> Extended Program Check / Code Inspector.

you can also use slin but i would recommend you to go through the following link which is the best way.

https://help.sap.com/saphelp_nw74/helpdata/en/4e/c844006e391014adc9fffe4e204223/content.htm

hope it helps

Read only

Former Member
0 Likes
1,300

Maybe that's a chance for you to switch to ABAP in Eclipse. There you have a refactoring function, which deletes all unused variables.

If this is no option for you, you have to use the Extended Program Check as already mentioned by the other guys.