cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP Compare (Sorted Class Methods) in Eclipse has a bug

NemanjaSimovic
Participant
0 Likes
1,162

Dear Community and ADT developers,

I believe that functionality ABAP Compare (Sorted Class Methods) in Eclipse has a bug. It misplace a lot of types that I have in definition part to implementation part. Closer explanation is in the image below:

2024-03-10 14_22_48-.png

I have noticed that problem is happening at larger classes (>3k or >10k lines). I think bug is obvious as ABAP syntax doesn't allow types in implementation part. Or I haven't saw anyone doing that. 😊

My installed SAP ABAP Development Tools version is 3.40.1 (com.sap.adt.tools.base.devedition), if this is correct component for this functionality.

Anyway tool is great, and I just want to help improving it. If anyone knows some address of ADT team or someone from ADT team can look at this it would be helpful for everyone having king size legacy class monsters. 😁

Best regards,
Nemanja Simović

View Entire Topic
NemanjaSimovic
Participant
0 Likes

I can confirm that ADT Team solved this. Bravo ADT Team! 👌

Hismayilov
Participant
0 Likes
nope still exists.
Sandra_Rossi
Active Contributor
0 Likes
@Hismayilov I have just checked in my system, it works fine for me, TYPES don't appear in the implementation part, they appear in the definition part. My system: ABAP 7.58 SP 1, Eclipse 2025-09, ADT 3.52.3.
Hismayilov
Participant
0 Likes
@Sandra_Rossi in my case during import SAP changes sorting of method. lets assume in dev ClasXYZ have methods in this order, meth1 meth2 and meth3. but in QAS and PROD , meth2,meth3,meth1 . in this situation side by side comparison is not working in ADT. in other words i need to compare my changes in GUI, and I use MAC, where SAP GUI JAVA is absolutely worst code editor human kind can invent. Also note that, same class is being edited by somone else who is using windows SAP GUI not eclipse.
Sandra_Rossi
Active Contributor
0 Likes
@Hismayilov I thought you were talking about the TYPES (what is discussed in this Q&A). Anyway, in my case, it's sorting the methods correctly before the comparison. I just checked with a local one edited via SAP GUI (the latest version in the DEV system) and a remote version edited via Eclipse (the previous version in the QAS system). I'm using Windows. Maybe open a ticket or a new question.