We have recently used the SDK for the ABAP Development Tools to develop UML2ABAP, the prototype of a generator to automatically produce ABAP source code. This generator allows you to describe ABAP classes and interfaces in UML and to generate source code directly into the SAP repository.

UML2ABAP is a plug-in which integrates in the ABAP Development Tools for Eclipse. Users can create UML models from their familiar IDE and use a menu to generate the code into the SAP repository.

An UML class produces an ABAP class with its attributes, operations and inheritance declarations. The implementation section is partially generated: the body of each method is left to the developer who can place its hand-written code between tags. These tags are used by the generator to protect this code during the next generation. The generator also supports UML interfaces.

This video shows UML2ABAP in action :

With this approach, you can leverage UML models which visually describe your application in an language-neutral format. It brings many benefits :

  • facilitate the communication with other persons who are not familiar with ABAP
  • improve your productivity by automating the production of code from a more concise and high level definition
  • avoid coding errors on parts that are automatically generated

In order to simplify the ramp-up of users, we provide a tool-chain as integrated as possible with the classical UI of ABAP Development Tools for Eclipse.

First of all, the generator engine has been developped with Acceleo templates, a technology provided by the Eclipse Foundation (www.eclipse.org/acceleo). It allows you to easily extend the generation strategy to support specific coding rules or new ABAP files.

For modeling, UML2ABAP integrates UML Designer (http://marketplace.obeonetwork.com/module/uml), which provides all the UML2.4 diagrams in Eclipse, with facilities to import existing UML files from other tools.

UML2ABAP is a first step of a tight integration of UML within the ABAP Development Tools for Eclipse.

We are also considering a reverse tool which could create UML models from existing ABAP applications.

Stay tuned for the next steps! 

Meanwhile, I would be very interested by any feedback about this approach.

You can contact me : frederic.madiot at obeo.fr

To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. gaaloul lotfi


    I congratulates you on your presentation. I have a question concerning the part of generation of the code ABAP, I do not manage to generate the code because I do not see the function ” ABAP tools ” when I make a right click on my model. Knowing that I use eclipse Juno with the plugins ABAP and UML DESIGN.

    Thank you.



    1. Paul Hardy


      I take it UML2ABAP and UMAP are two different things to acheive the same result?

      I could not get the UMPAT one to work.

      Have you ever tried to get this working?

      Has anyone ever got his working?

      Cheersy Cheers


  2. Roland Weiler

    Hello Frédéric,

    Good to see that there is progress in that field.

    About two years ago we were scanning the market for tools which support UML to ABAP and the other way around (ABAP to UML) for documentation. As we could not find any software that fit our needs we developed our own for internal usage. On request of our customers we then started to offer it also as a product.*

    It would be great if we could get in touch to exchange ideas and maybe enter into a cooperation.

    Looking forward to hearing from you.


    * iBS DesignTime, http://www.ibs-labs.de – note: the website is German only but the product and documentation is in English

  3. Michael Mueller

    Hello gaaloul lotfi and all,

    did you find a solution for your problem? Why isn’t there the selection “Abap Tools” > “Generate abap code” in the menue of eclipse? (I installed eclipse luna with abap development tools and the uml designer)

    How can I extend my eclipse to support this?

    It would be pleasure if anybody could help me.



  4. Paul Hardy

    I found what appears to be an Eclipse plug in at the site http://www.uml2abap.org/eclipse_plugin/

    but as to how to install that in an Eclipse system appears to be beyond me.

    I do the help->install news software and choose “add” and then “archive” but when I choose the file I just downloaded to my local drive I just get an Eclipse error syaing it cannot find the file.

    The SAPLINK nugget does not seem to work too well either, there are multiple occurence of two ENDMETHOD statements, one after the other, and lots of inhertied methods with no implementation.

    Cheersy Cheers


  5. Frédéric Madiot Post author

    This module is still a prototype and has not been released to public yet.

    For information, it has the same name than uml2abap.org project, but it is a different initiative.

    If you want to install it for evaluation, you can contact me (frederic.madiot at obeo.fr).



Leave a Reply