Skip to Content
Author's profile photo Thomas Fiedler

Editing method signature and method body at the same time in Eclipse

I often hear from developers that with ABAP in Eclipse it is a little bit cumbersome to change the signature of a method while implementing the method body. For sure you can navigate very easily via the outline to the method definition part and add a parameter there and navigate back. But there is also the possibility to edit signature and body at the same time in eclipse.

Here you see a screenshot with two editors displaying the same source positioned in parallel editor windows:


The editor on top displays the signature and the editor below displays the body of the method.

Eclipse allows you to edit the code in both editors in parallel without getting into trouble concerning locking errors.

You can achieve this via the top level menu Window->New Editor. A new editor with the same source is opened and can be positioned in eclipse as you like.

Try it out.

Kind Regards,


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Patrick Ortner
      Patrick Ortner

      Hi Thomas,

      thank you for this tip. But is there any solution for local classes, which are splitted into different includes? I would like to see (not editing) the signature of an method without navigating to the include with the definition.

      Thanks in advance


      Author's profile photo Michael Schneider
      Michael Schneider

      Hi Patrick,

      Yes, there is a way to show the signature in of an method implementation: If you cursor is within a method implementation you can choose Source > Show Method Information from the editors context menu or use the short cut Alt+F2.

      A popup will be displayed showing the method's signature.

      BTW: You can also use Source > Show Code Element Information (short-cut F2) to see the declaration of variables, methods, types, ... in the source code. This is also really helpful.


      Author's profile photo Patrick Ortner
      Patrick Ortner

      Thank you Michael,

      this helped me (and my colleague) ­čÖé

      Author's profile photo Ebrahim Hatem
      Ebrahim Hatem

      Hi Thomas,

      It is really interesting.

      Thank you!