‎2016 Jun 16 7:05 PM
Hi,
I've been working with ADT for quite some time now but one thing always bothered me. In some cases I can't get the quickfix to work for method creation.
If, for example, I'm programming a module-pool and I try to follow the example of the MEGUI function group:
I've done some tests, both involving function groups and module pools. I can get the quickfix to work if I use the default naming recomendation(Class definitions on the top include inside includes with naming L+Function Group name + DXX) that is described inside the function groups, but If I deviate from this standard in the class names, the quickfix doesn't work at all but the navigation works fine.
So, Is it due to a lack of support on the eclipse side or is a special naming convention always necessary? If so, is it only supported on function groups?
‎2016 Jun 16 7:40 PM
I have had the same problem, I hope some guru can help us with this issue,
Thx all
‎2016 Jun 20 9:25 AM
Hi Adriano and Erick,
in principle those quickfixes should also work inside function groups.
I'm not sure for module pools.
For my knowledge module pools were already deprecated when I started my career at SAP about 20 years ago.
We can investigate further if you tell me which kind of method creation you talk about.
Does the problem appear in in module pools only or also in function groups?
Regards,
Michael
‎2016 Jun 20 3:59 PM
Hello Michael, I've talked to Erick and he's using a namespace, we found the SAP Notes 1799896 and 1806765 that are related to the problem, but we're both on SAP Kernel Version 741 SP 11.
In his case, the code completion doesn't work at all in the function group, even variables won't show up, but the quickfix works.
I've done some testing today, and I found out that it's a very specific call that causes an error and that has a workaround: If I try to generate a static method from another class, it doesn't work properly:
Also, If I save every time before using a quickfix it works:
What seems to be working(without the workaround):
I also asked Erick, since his case is a bit different in the sense that he uses a namespace. In his case, the workaround for the static call doesn't work and the rest seems to be working fine
Edit:
I kept doing the development in the function group and I noticed that the create from call, and even saving it, eclipse won't auto-detect the variable types