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

Quick-fix not working anymore

Former Member
0 Likes
1,645

Hi Folks,

I really love the the refactoring capabilities of eclipse using the quick-fix for class based implementation. It allows method/variable creations incredibly fast. It used to work fine for a certain class and suddenly stopped working for the very same class while it's still working for other classes. So, I guess there is something wrong with this one class. Did anyone else encounter similar problems? Would it be helpful when I post the source code of my class here?

Best regards

Tobias

Hi Folks,

I really love the the refactoring capabilities of eclipse using the quick-fix for class based implementation. It allows method/variable creations incredibly fast. It used to work fine for a certain class and suddenly stopped working for the very same class while it's still working for other classes. So, I guess there is something wrong with this one class. Did anyone else encounter similar problems? Would it be helpful when I post the source code of my class here?

Best regards

Tobias

3 REPLIES 3
Read only

Former Member
0 Likes
1,214

I think I have found the reason for this issue. I used an include "crm_direct" (it's used multiple times in the system) in the section

As soon as I have commented this single line everything worked fine again. Moreover, I experienced the error error described in SAP Note 2022368 once in a while. This has also vanished now. Though the Note perfectly describes my error it's not relevant anymore for my release. I am using SAP_BASIS 7.4 SP10 and Eclipse Mars with the latest version of ADT. Someone else experiencing similar issues?

Best regards

Tobias

Read only

0 Likes
1,214

Hi Tobias,

what is the content of the include? Does it contain syntax errors?

Which quickfixes do not work anymore?

Are you missing the proposals or do you get the proposals but cannot apply them?

Regards,

Michael

Read only

0 Likes
1,214

Hi Michael,

1. the inlcude just contains many crm related constants and is used in many customer/standard programs. It does not contain any syntax errors and never caused any trouble.

2. I am missing the proposals.

With include:

Without Include:

As you can see, everything works perfectly as soon as I remove the include statement.

Best regards

Tobias