Skip to Content
Author's profile photo Former Member

Tool to migrate ABAP templates from SAPGUI Editor to Eclipse


Many of us have improved development speed by using several custom code templates in SAPGUI Editor. And me too, of course.


So, when I started working in Eclipse, I was strongly missing my usual templates.

Of course, I could copy all the templates from SAPGUI to Eclipse manually, one by one. But manual uniform repeating action offends real programers 🙂

So I have created ABAP program, which display a list of all custom SAPGUI templates, and allows you to copy selected (or all of it) to Eclipse.


To install program you need to import SAPLink nugget in attachment (you should change extention from .xml to .nugg).

(The program have been created in system with SAP_BASIS 702 SP11)

User’s manual


2) The list of all custom templates from file abap_user.xml will be displayed.


3) You can select individual lines to copy only selected templates or copy all templates. To copy all templates you don’t need to make any selection. (The program will ask you to confirm)

4) Press “Copy to Eclipse”.

If you haven’t selected any line, you’ll see the confirmation


5) Next, the dialog for choosing Eclipse workspace folder will appear.

Choose workspace folder of required Eclipse installation.

(It can’t be defined programmatically because you can have several Eclipse installations)


6) That’s all


7) Now let’s check the results.

Start Eclipse (or restart, if it is already running) and check Templates


Exactly what we need!

That’s all.

I hope this small tool will be helpful

Best regards,


Assigned Tags

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


      I've installed the Programm in our System and there is a Syntax Error, and we can't use Table  zutil_s_template_gui2adt.

      Do you know why this doesn't work or do you have some hints?



      Author's profile photo Former Member
      Former Member
      Blog Post Author


      please, show a screenshot of the syntax error

      Author's profile photo Former Member
      Former Member

      I know it is a bit huge, hope you can help me 🙂

      In the red box stands:
      1 Syntaxerror for the programm ZUTIL_TEMPLATE_SAPGUI_2_ADT

      Row 57: Type ZUTIL_S_TEMPLATE_GUI2ADT is unkown


      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi, Erik,

      I've installed the tool in dev system. And it works fine.

      May be you don't activate this type?

      The nugget contain 4 objects (type, program and two transformations).

      You must activate all the objects.


      Author's profile photo Former Member
      Former Member
      Blog Post Author

      NUGG-file has been updated.

      I've fixed the program bug in case ADT have no any templates yet

      Author's profile photo Tim Andernach
      Tim Andernach

      Hi, does anyone still have the source code?