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

Bug: AdT Quick-Fix "create local interface" - strange choice of target source position

joachimrees1
Active Contributor
0 Likes
1,520

This seems wrong:

I'm using the "create local interface"-quick fix:

It does create the wanted code, but at a very strange position:

-> code is create right in between the "IMPL" and "MENTATION" , smash face into the Statement:

class lcl_report IMPLEMENTATION

...this results in some Syntax-Errors.

...it should be created e.g. at the start of the source file, I guess. ?!

6 REPLIES 6
Read only

joachimrees1
Active Contributor
0 Likes
1,386

Also, next I created a Class, again via quick fix: it ended up right after the CL of "CLASS"?!

Read only

joachimrees1
Active Contributor
0 Likes
1,386

Sidenote: I was going to write between "CL and $restOfTheWord " , kind of expecting it getting censored - but it was that nothing happen after hitting the submit button (no message about "using bad words" ) or anything, just the comment not beeing posted.

Read only

UweFetzer_se38
Active Contributor
0 Likes
1,386

I don't know the answer, but please may I ask a question? Why you are using INCLUDES?

(and maybe not only me but also the quickfix has problems with INCLUDES)

Read only

foessleitner
SAP Champion
SAP Champion
0 Likes
1,386

Please try this in a "real" development / class. Then it should and will work. - An local interface in a include does not make sense from my perspective.

Read only

matt
Active Contributor
0 Likes
1,386

I used to put classes local to a report program into separate includes for organisation purposes. But with ADT outline, I find it better to not.

Read only

0 Likes
1,386

Hi Joachim,

even if it might not be a typical use case, it should still generate valid code. Could you please open a ticket to get this fixed?

Regards,
Michael