1 2 3 12 Previous Next

ABAP in Eclipse

168 Posts

Last Friday we had the SAP Code Jam event "ABAP on HANA" here in Munich. It took place in combination with the SAP Inside Track event on Saturday.

At the Code Jam event Thomas Alexander Ritter showed us a small little feature in ABAP in Eclipse tools, which was not known very well.


Restrict search for ABAP development objects to object-type


You can use the "Run ABAP application" (shortcut Alt + F8) or "Open ABAP development object" (shortcut Ctrl + Shift + A) functions for searching purpose.

Maybe you just want to search for a specific type of object, maybe a program, transaction, class, and so on...

If no object-type is specified your result list contains all kind of objects - often the max. result count of 50 items is reached and you possibly may not find the object you're searching for.



But there is a solution for that issue which I did not know.


Just type "type" behind your search term and use Ctrl + space (code completion) and you will receive a list of possible object-types (all ABAP repository object types available):





By starting tipping the list gets closer (Eclipse standard feature) and helps you to find your desired object-type faster. So finally you just have to select the object you had searched for.



Hi All,


I'm an ABAP developer for over 6 years, I started off as a HR ABAPer, then worked in BW, now I write BADI calculations in the BPC space.


I've heard about Eclipse during my varsity days, but never used it, this is my first time using Eclipse and I'm quite impressed.


I think the feature explorer is very helpful to on board new developers, it highlights most used shortcuts to jump start your coding, and in the same process it get you familiar with Eclipse.


My favorite features are ctrl+space, ctrl+o also the feature that list all the parameters for a class or function, it can speed up programming a lot.


Other features I like is that you can open sap transactions inside Eclipse, the looks and feel are like SAP GUI itself.


and I see SAP HANA development and admin console are in Eclipse as well, its good to know that SAP is behind Eclipse.


Can't wait to use Eclipse for my next development.


If you haven't tried Eclipse yet then you are missing out. Go on and give it a try.




I am a 10 years experienced SAP professional with 4 years of experience in ABAP and 6 years of experience as a functional consultant in SAP FICO. At the start of my career I was trained in JAVA and we used apache tomcat server and eclipse for all our developments back then. After I completed the training I was asked to learn SAP-ABAP. In the beginning I was a bit reluctant towards it, as I think, everyone is opposed to change. The thought process was; all the learning and hard work I had put in learning JAVA is going to go down the drain. But after spending 1 week in the training I felt right at home and I was totally comfortable with the ABAP editor. Since then I loved ABAP.


Working in Eclipse

As I knew Eclipse from my experiences as JAVA developer some years ago, I was really excited to see how ABAP in Eclipse will look. I knew the former problems with the right versions of the JAVA Plug-Ins and their dependencies, This was always a great trouble in the JAVA Projects. So this offer from SAP with a pre-installed development Environment in the cloud works perfect for me! You need nothing to do, just click and execute and everything works. You did a perfect Job, guys!

I might have to spend some time in getting a local installation of AIE in my laptop rather than using AWS cloud image. But i think with all the help availble on SCN it shouldn’t be a problem.


Eclipse feature explorer:


  1. Right at home - Once you are in the SAP HANA development perspective in eclipse, and open any ABAP object, you will feel that nothing has changed. You can still do a command based navigation, as well as menu based navigation.
  2. One stop place – Eclipse is known as one of the best integrated development environments available to date. Now i can code anything and everything in one place, test it, and deploy, be it, my java developments or ABAP. How cool is that!!
  3. Open SQL – Just got off from one of the openSAP courses about enhancements in open SQL and i am quite excited to experiment them on my own. Here is the link to the course.
  4. Debugger – I used the new debugger in eclipse and really liked the new capabilities in there like code editing while debugging. Now i can debug find out the issue and then align the code right then and there. Of course for the new code changes to take effect i have to activate it. I could not find some features like “Go to statement” and “memory analysis covering SAP and ABAP memory” in the new ABAP debugger in eclipse. May be i need to explore a bit more on it.
  5. Web Dynpro Developments – I need to say that this area needs some work. The user interface for all WD-ABAP developments in se80 is much much better than what we have in eclipse. Like if you need to create a node in the context, you have to explicitly click on the node and then rename it, as compared to se80 where the system intuitively asks for a node name. Same applies to the attributes. But i guess, the road forward is Fiori, so now would have to focus on that.
  6. Local editing – The inherent feature of eclipse is code check-in and check-out for all developments. My first thought when i came to know about ABAP in eclipse was yooohoooooo, now we can code locally while having lunch or while travelling back home, i and then sync back the code. But i must agree that i was a bit disappointed here.

Spread the word:

It is a must try for all ABAP developers. If you not tried it yet, please get a trial version on cloud or get a local installation to get your hand dirty. Here are some helpful links.


Getting development  System: http://scn.sap.com/docs/DOC-56314

Development Centre: http://scn.sap.com/community/developer-center

Getting Started: http://scn.sap.com/docs/DOC-31815

Good Blog: http://scn.sap.com/community/abap/eclipse/blog/2012/08/25/lets-see-what-this-aie-stuff-is-capable-of


With the new code-to-data paradigm approach together with the enhancements done in open SQL, the programming would just get more exciting.

I nominate Liew HanYean to share his experience in AIE.

I am Pavithra Jayasinghe from Sri Lanka, island in Indian Ocean. 

My journey started with SAP as an ABAP developer since 2013 ( new to ABAP and SAP ). Although time period is too short with ABAP

I like this experience so much...


Actually I don't know about Eclipse before  took this ABAP in Eclipse Explorer challenge because i'm new to ABAP.

I'm a new developer so the feature explorer is so interesting and helpful for me to improve my knowledge about Eclipse.


Features of this tour are new experience to me. I think new developers like me can get lot of knowledge from this tour and also by referring

documents from SCN and many more ways..

Thank u Thomas Fiedler to add this and all of who were involved with this great product ...






The series of SAP CodeJams on ABAP in Eclipse continues: One event will take place in Düsseldorf, Germany on October 24th, another event will take place in Oldenburg, Germany on November 28th.

What can you expect?


Both CodeJam events focus on the Eclipse-based ABAP tools and how they increase your developer productivity.

Since these are SAP CodeJams you can be sure that they will be highly interactive. You will have plenty of time to chat about ABAP in Eclipse and get hands-on experience.

How can you participate?


Just register yourself for one of the events:

The event is free, but space is limited.


Sign up, now! We are looking forward to see you there!


Hello Community Members,


I am Pravin residing in India. I am working as an ABAP developer from 8 years.

I was not active on new SCN as I was not comfortable to it. But from last few months

learned new SCN ,I mean I understood the navigation of it   Now you can catch

me here rather than facebook or twitter


I read the ABAP in Eclipse Explorer challenge here on SCN homepage. Before this I was

not knowing Eclipse. On 10 Sept 2014 I got chance to attainde ABAP on HANA code jam event

where I come to know more about Eclipse and fall in love with it's feathers.

I took the challange seriously  and explored more by reading many blogs ,wiki ,documentations,

videos..etc and also downloaded development environment.


The feature explorer is very very helpful to onboard new developers without any doubt.


It is very comfortable for development such as inline declaration. My favorite feature is cntrl + space functionality.

and search unused variables and delete them automatically.


UI5 has an added benefit to the developments as it works very well in eclipse.

Many thanks to the development team for developing such great product.


My friends  Modadugu Hemanth Kumar , Suresh Narayan Ram Choudhary must explore about Eclipse Feature Explorer.







About ME

I am working in a the SAP ABAP module for past 2 years and working in a MNC in India,

I had a very good experience in working with the Eclipse and the Apache Tomcat server, as earlier I was a java

J2EE developer.


I created many enterprise web pages by using the eclipse and for the past one year I am using SAP R/3 system

for the custom code developments.


Working with Eclipse


Its been a wonderful experience to have a chance to work in Eclipse instead of traditional R/3 development


I mean to say that there are many advantages and disadvantages that I would share while my developments

in Eclipse.


Eclipse Feature Explorer


Eclipse has the best thing that I like is simultaneous work on many objects without changing the screens,

I mean u just have to click on other object in left side pan and the objects open up,

thus facilitating the navigation.


Also the features like refractoring, debugging and specially the cntrl + space functionality suites very well with the

development and eases the task for a developer.


I even got to know that UI5 has an added benefit to our developments as it works very well in eclipse.


Spread the word :


Yes, definitely its a must try for the persons who like to explore new areas of SAP,

and as far as my view is concerned it really makes a developer life easy.


I would like to share some useful link that I come across that would be helpful to you:-


Must read for a new developer :









       The ABAP Core Data Services (ABAP CDS) are the implementation of the general CDS concept for AS ABAP. ABAP CDS makes it possible to define semantic data models on the central database of the application server. On AS ABAP, these models can be defined independently of the database system. The entities of these models provide enhanced access functions when compared with existing database tables and views defined in ABAP Dictionary, making it possible to optimize Open SQL-based applications. You can find more information on ABAP CDS from help documentation.

As ABAP CDS supports many advanced features like Union , Association , expression etc, it will be apt if there is an easy way to preview the result of CDS views defined  using these features. This is supported by Data Preview in AiE which contains most of feature as SE 16 and  other cool features as well. Detailed information about Data Preview can be found here .

In NW AS ABAP 740 SP08 with ADT 2.31 , the support to visualize the association on ABAP CDS is implemented.  .


In order to showcase the Data Preview feature, we use the DDL source example about the usage of associations mentioned in the keyword documentation.





Here two associations are defined. The initial data source in each case is the first database table snwd_so_inv_head after FROM.

  • buyer stands for a join between snwd_so_inv_head and the target data source snwd_bpa.
  • invoice_items stands for a join between snwd_so_inv_head and the target data source snwd_so_inv_item.

Open Data Preview

One can open Data Preview by right click inside the ABAP CDS source editor and choose open with-> Data preview option



or right click on the ABAP CDS from the project explorer and choose Open Data Preview. Even, Data preview can be opened by executing the ABAP CDS View ( Pressing F8 ).


Data Preview Editor


After selecting the option "Open Data Preview" , it will open an editor as shown below .




The breadcrumb at the top of the data preview is used to display the cds view name. If CDS view contains any association and mentioned in the projection list, those associations will be displayed by clicking  arrow on the left of the cds view name.


Since sales_order_invoice_header contains an association "invoice_items" and included in the projection list, it will be displayed on clicking the arrow as shown below.



The same can be visualized by selecting the row in the table and right click and chose "Follow Associations" .



The list gives information about the association name , target and cardinality . Here the association name is invoice_items , target is snwd_so_inv_item and the cardinality is [ 1.. * ] which is defined in ABAP CDS view.


Follow Association for given Item


  In order to follow the association for a given item , select the desired row from the table and choose the association to navigate to the target view/table for the selected item.The breadcrumb will display the complete path of navigation from the source after selecting the association from the list.One can go back to any level in the path by simply selecting the corresponding node in the bread crumb and follow different path or perform the same for different item in the table.



I am an ABAP Developer since 2003. I never worked with Eclipse.

When I used Eclipse for the first time last year, I thought that it’s complicated too for me.


Last week I found many blogs about “Abap in Eclipse” and so I installed again Eclipse.

I read the “Future Explorer” and some manuals and now… It’s cool create Abap report with Eclipse, but especially “look into the future”.


My favourite feature is the code completion (CTRL+SPACE), the "ABAP Element Info" (F2), the quick type hierarchy (CTRL+T), the quick fix (CTRL+1)




Hello altogether,


I joined the openSAP course ABAP development for SAP HANA which started recently. All you need is an AWS account to get access to ABAP for HANA in the SAP Cloud appliances space. Part of the cloud Installation is version 2.28 of ADT.

Setup was fastly done and after entering a valid license key for the development Edition I could start with ABAP development in ADT.


To shortly introduce me: I work as an independent SAP BW Consultant with strong ABAP knowledge. I began SAP ABAP development in 2001. Before that I did development with MS Access and have also two years professional JAVA development under my belt.  I program most of the time in SAP BW projects ( variable exists, planning functions but also Z-programs or classes to extend available functionality).


As I knew Eclipse from my experiences as JAVA developer some years ago, I was really excited to see how ABAP in Eclipse will look. I knew the former problems with the right Versions of the JAVA Plug-Ins and their dependencies, This was always a great trouble in the JAVA Projects. So this offer from SAP with a pre-installed development Environment in the cloud wroks perfect for me! You Need nothing to do, just click and execute and everything works. You did a perfect Job, guys!


As first thing I started the Feature Explorer tour. As I already knew Eclipse, the first part was very easy. I created a new ABAP development project! After getting through all stages of the Feature explorer, I think, it was really helpfull to get to know the short-cuts to different functions like code Navigation, code completion. If you're completely new to Eclipse you may need a short introduction into the different perspectives and what they are for.


My favourite feature was the possibility to start as many ABAP development objects as you Need from the ADT. This means: You can start any transaction in the SAP backend and it will be displayed in Eclipse. I started different Transactions which I normally use likea RSA1, RSD1, SE09, STMS and I could open more than six Transactions at the same time. This is very cool! With the ADT you're no longer stuck to the Maximum of six open GUI sessions in parallel. When developing a data model and devloping ABAP in parallel this gets a hassle very fast. See a sceenshot how ADT looked after starting several transactions:



That's really cool and very helpfull! Thanks a lot for this!


I will now continue with further exploration and see if there are other cool new features!


Best regards,



Myself Vipul Koladia from India. I have started my journey to ABAP in 2012. Currently working in level 5 company. Having a good knowledge in all the areas of ABAP.

Yes I have used Eclipse in my college life but not to that extend.

Yes definitely feature  explorer is really helpful.

Definitely the short cut and also regarding the web portal by ABAP in Eclipse.

There are many people in SAP community network who know about ABAP in Eclipse.

Yo all my ABAP friends, it's time to feel the difference of classic ABAP and new ABAP in eclipse. Lets jump on to the new stage.


Hy my name is neeraj prabhu preeth daggupati and i'm a certified ABAP consultant and i've been associated with ABAP for over an year.


I've just heard of eclipse but really did not know what eclipse was, So Eclipse explorer challenge was really helpful.


And definitely for the new developers this challenge is super interesting and also knowledge giving.


And in the beginner's tour i would say right from the start everything was well planned so that anyone could understand and i personally feel the workbench was awesome.


And for some hardcore ABAPer's whom i follow are

Markus Ganser

Susmitha Susan Thomas



Fine Tuning ABAP Open SQL Statements

The Open SQL syntax and features for ABAP has been evolving and has had major advances with release AS ABAP 7.4 SP5. It is a clear indication that Open SQL still remains the preferred approach for database access from the ABAP Application layer.

As ABAP developers we always had our moments of fine tuning Open SQL statements in our application code for achieving better performance. When you did this kind of activity ,

  • did you ever wonder how to check quickly the performance of a complex Open SQL?
  • did you ever look for a simple tool to verify the output of a Open SQL statement you are modeling with quick preview?
  • did you ever want to check the run time of a SELECT that you are fine tuning statement to see how best it would help in improving the performance?

If you answered "Yes" for any of the above questions, Please read on to know more about our brand new SQL Console in ABAP in Eclipse


What is ABAP SQL Console?

  The SQL Console is a powerful tool that helps the ABAP developers to work with Open SQL Select statement. It can display the result of select query in an intuitive way without the need of ABAP programming. This tool basically eliminate the need of first creating a ABAP repository object like Report Program or Class etc. and use debugger to evaluate the statement at run time in order to test any select statement . It saves lot of developer time by simply let them type the Select statement and preview the result in one step .

The new SQL Console is available from NW ABAP 7.4 SP08 with ADT release 2.31.

Get introduced to the extended Open SQL Syntax

When you use SQL console for the data preview of Open SQL SELECT statements, by default you need to use the newest syntax for extended Open SQL. You could read more about the new Open SQL syntax here and about why should we use new Open SQL here.

Now let's see more about the features of SQL Console in Abap in Eclipse.

Launch SQL Console


    You can launch SQL console by right click on the Abap Project and select SQL Console.


          The SQL Console can also be launched from Data Preview too. A new button called "SQl Console" is added to the Data preview to open SQL Console with the query based on last executed action in the data preview.


SQL Console Editor

    SQL Console opens with the last executed Open SQL statement  in the editor and the results will be automatically shown in an intuitive tabular manner as below. One can open more than one SQL Console and work parallel by right click the Abap Project and select SQL Console any number of times.


Features like in other Source based Editors


      1. Syntax Highlighting


             The SQL Console highlights the text based on Open SQL grammar like other editors like Class , Program etc .



    2. Content Assistance


                 The SQL Console offers content assist that will help the developer to construct the query quickly by pressing ctrl + space.


     3. Element Information


                  The SQL Console supports Element information by pressing F2 on any fields or tables or view , will give the information about the selected object.



    4. Navigation

             By pressing F3 or holding ctrl key and selecting the object will open the object in different editor.


Automatic Syntax Check


          If you have configured AiE to do Automatic syntax check in the Preference page, sql console will pick up the setting and do automatic syntax check based on the configuration.Nevertheless, the open sql select statement can be checked by pressing the check button within the editor or selecting the "Check" option on right click context menu.

Like other AiE source based editors, the error marker will be displayed in the ruler and information can be viewed in the problems view.


Execute Open SQL Select statement

       After constructing the error free Open Sql Select statement, the query can be executed  by either pressing F8 or selecting the Run button inside the Editor. This will display the result in an intuitive way on the right side of the editor.

Show executed query and execution time

     The SQL Console will not only display the results but also displays the actual query executed in the Abap Server and the time taken to execute the query in the log at the bottom of the SQL Console Editor.This information will be really useful in order to optimize the query for better performance.



Execute query in another system.

   One of the coolest feature in AiE is that once you open any object in one system, the same object in different system can be opened directly by right click the object and select the new system from the "open in other project" context menu. This feature is also available in SQL Console. After one constructed the query and tested in the development system and now wanted to test the same query against the different system, can be done simply by right click inside the SQL Console and choose the system. This will open SQL console with the same query against the specified system and will be executed instantaneously.

View Previously Executed Query in History.

   All the query which were executed in the SQL Console will be stored as history irrespective of query executed in any system or editor. This helps the developer to execute the previously executed query in one step . The default size of history is 10 where one can configure the size from the "History.." option.



Mark Frequently executed Query as Favorites


   The developer can mark the frequently executed query as favorites by clicking on the down arrow in the Run button and selecting "Add To Favorites", so that the developer can get selected query even it is overridden by the history . The favorites query are grouped together and will be displayed at the top of history.




After adding the current query as "Favorites"






      So that's all about the brief information on SQL Console in AiE. We believe that this tool will really help the Abap developers to be more productive than before given various features as mentioned above and help them to fine tune the existing  Open SQL select statement to perform better. We hope you will try out this tool and most important give us feedback about the same.



Following up on the ADT 2.31 release announcement I want to provide a little bit more details about the new HTTP links.


Please be aware that the HTTP link feature is available from AS ABAP 7.40 SP08 and up. Furthermore, the ADT ICF node on the server has to be active. Check chapter in the backend configuration guide on how to activate it: http://help.sap.com/download/netweaver/adt/SAP_ADT_Configuration_Guide_Backend_en.pdf


Currently, developers can easily create and share so called ADT links for development objects. These links look like this:




As described in this blog post they greatly improve collaboration around development objects. However, the current implementation uses a custom scheme "adt:" so links don't get recognized automatically by most collaboration tools such as: email clients, wiki software, instant messengers,... Moreover, sometimes when receiving such a link you might not be able to open it because ABAP in Eclipse is not installed on your device. The new HTTP links solve all of these problems.


Now, it is possible to get HTTP links for nearly all source code development objects, such as ABAP classes or interfaces. HTTP links have the advantage that they automatically get recognized by all collaboration software. Additionally, they open in a web browser first. No SAP GUI or ABAP in Eclipse installation is needed to have a first quick look at the objects source code. Furthermore, the webpage renderer intentionally uses only HTML features which are supported by most web browsers. This means the webpage can be displayed on nearly any device.


Let me show you how to get and use the new HTTP links.


First, right click in the source code editor and pick the menu entry "Share Link for Selection..." (we renamed it from "Copy ABAP resource url" which sounded a little bit too technical). Second, now there is a pop up window which allows you to pick the best link type for your situation.



As you can see we also added the option to directly open the email compose window for you.


When recipients click on the link the web browser will open and display the object. Moreover, the Eclipse editor selection will be visible on the webpage.


As mentioned before this works on most devices which have a web browser. Below you can see how the source code gets displayed on an iPad.


This feature is very useful if you want to ask a colleague questions such as: "Is this method call still necessary?", "Do you understand this if statement?", "Any ideas on how to optimize this SQL select statement?".


Once the source code is displayed within the web browser you might want to open it in ABAP in Eclipse. You can do this by clicking on a line number or using the header link.


We hope that you are as excited about the new HTTP links as we are and that they make collaboration around development objects easier for you!

Hi community,

today we launched a new version of the ABAP development tools for eclipse. You can install the version 2.31 from our common update site SAP Development Tools for Eclipse. With this version we now also support the latest eclipse version 4.4. called Luna. A good overview about the new standard eclipse features in Luna can be found here: Eclipse Project Luna - New and Noteworthy


Besides the support for Luna we have integrated some nice new features for you as an ABAP developer. But be aware that these features only run on the latest AS ABAP support package level of 7.4 release which is SP08. If you don't have such a system in your landscape we will offer you a trial version (www.sap.com/abaptrial) where you can try out these new features. Today starts our new Open SAP Course (free of charge) which is also based on the new eclipse version. 





Creating Text Elements in Reports via the Quick Assist

One of my favorite features in eclipse is the quick assist which is available in the ABAP editor by pressing CTRL-1. This friend helps me in a lot of situations to code much faster. For example when I want to create a new attribute or method in my class the quick assist helps me in generating the needed code of the declaration. Even refactoring tasks like renaming of components or extracting variables or methods are available via this helpful function. For a short refresher of the quick assist you can have a look on our nice short little videos:

Refactoring with ABAP in Eclipse - Part 1 - YouTube

Refactoring with ABAP in Eclipse - Part 2 - YouTube

With AS ABAP 7.40 SP08 we now also support maintaining text elements of reports via the quick assist. How does this work?

Lets have a look on a typical pitfall in ABAP when defining UI texts in a report:


Damn ! Forgot to define the text element in the text pool. Thanks to the ABAP Test cockpit and the integrated SLIN check that tells me that I have to correct that. But how can I do that? There is no editor for text elements available in eclipse. Okay I use the SAP GUI and throw the eclipse away. Nooooooooooooo ! Just press CTRL-1 on the text in the editor and you will find the solution:



When choosing the offered option in the quick assist popup the text will be created in the text pool. After the text is created you can also use the quick assist to change the text via pressing CTRL-1 or you can delete the text in the code.  

In that case you will see the text which is behind the text element number via the element info popup (Shortcut F2)






Support for multiple used includes


Another feature which is often requested by the community is the support for multiple used includes. In ABAP you are using includes on the one hand side to structure your code, e.g. by extracting form routines in a specific include. On the other hand includes are often used to provide reusable modules that can be included in several reports or function modules. One personal comment from my side: This kind of reuse option is NOT recommended. Please use classes or function modules when you want to provide reusable components.

But nevertheless we will support the multiple used includes with 7.40 SP08 also in eclipse. The challenge for the development tools is that the developer has to specify the main program so that the syntax-check, navigation etc. is working correctly in the editor. To specify the main program of an include you go into the editor of the include and open the properties view. On the properties view in the Tab "Source" you will find the input field to specify the main program.       




Brand new SQL Console

The secret of good performance in your application is to push down logic that is needed for data retrieval as much as possible towards the database. Especially when working with big data in HANA highest priority is to execute most of the data retrieval code in HANA and not in the application server. In AS ABAP 7.40 we did a lot of enhancements in ABAP so that you are able to optimize your application code. A good overview about the new language feature is given by Horst Keller in his blog: ABAP Language News for Release 7.40, SP05

From the tooling perspective we introduced the data preview already for you with SP05. With the data preview you can display database content from a table or an view directly in your eclipse IDE. A very good overview about the tool is given in the video Data Preview within ABAP in Eclipse - YouTube by my colleague Raghuvira Bhagavan.


With SP08 we are bringing a new tool for you that enables you to easily execute arbitrary SELECT statements on the database without writing an ABAP report. The new SQL console can be reached per system by right-clicking on the ABAP project name in the eclipse project explorer. Just choose SQL console and the tool opens up in the editor pane. The SQL console consists of an editor where you can enter the SQL code and offers you functions like code coloring, code completion and syntax-check for your convenience. The statement can be executed and you will see the result in the grid on the right hand side:





The tool also offers you enhanced features like:

  • Statement history in order to go back to former SQL statements
  • Favorites to permanently store SQL statements  
  • Performance data to analyse the runtime behavior



It really makes fun to play around with the new SQL features by using the SQL console.


Tip: You can also open the SQL console from the data preview view. That's very nice because the data preview automatically generates you the SQL statement according to your filter settings.


See also a more detailed blog about that feature: SQL Console in AiE from Vijayan Balasubramanian



Display ABAP Sourcecode in a web browser


I am pretty sure you are already using our cool hyperlink feature within ABAP in Eclipse. You can create links to development objects that enables you and your colleagues to open an ABAP object in the IDE just by clicking on the link. This might be very helpful when you want to share a pointer to a specific code line in an ABAP report with your colleague. If you don't know this feature please have a look into blog How ADT links change the way you work by Thomas Alexander Ritter to understand the whole story.

But the ADT links have the problem that the link opens the editor only in your eclipse environment. But let's imagine you want to share a link with a colleague that does not have eclipse installed on his PC. Or you want to check a report that you have developed but unfortunately you are already sitting in the bus on your way home and you only have your mobile phone with you. Could you imagine that in that case you can also display the source of your report without an IDE?

With AS ABAP 7.40 SP08 it is now possible to create HTTP Links to your development objects. Therefore we offer you a new option in the eclipse project explorer that helps you to generate these links. Just right-click on a development object in the project explorer or in the editor tab to generate such an hyperlink:



The generated hyperlink looks like:


and you can use it to open the source in a web browser:


By clicking on the link 'Open in ABAP in Eclipse' in the upper right corner of the page you can open the object in your Eclipse installation.  


Important Note: Before you can use this feature you have to enable the underlying http service in the ABAP backend via transaction SICF. The service that you have to activate:  sap->bc->adt     




Switching between active and inactive version in editor


A small but very important feature when looking on the wishlists of our developers is the possibility to toggle between the active and the inactive version of a development object in the editor. Up to now this was only available via the version history where you see the inactive and the active version with the possibility to do a version comparison:



As this feature is a little bit hidden for the developer we now offer a function directly in the context menu of the editor:





Display longtext documentation in Elementinfo (F2)


With AS ABAP release 7.40 we introduced a new concept for documenting ABAP source code called ABAP Doc. The developer is now able to document his development artifacts directly in the code editor and the documentation is stored within the object. Within the ABAP Doc comment you can use HTML tags to format your documentation like in this example here:





Michael Schneider explains the new concept in more detail in his blog ABAP Doc.

One of the benefits of ABAP doc is that the consumer of a development object can see the documentation in the element info when pressing F2 in the eclipse editor. This is really helpful because you don't have to navigate to the other object just to see the documentation.



But wasn't there already a concept for documentation in the ABAP stack since years based on SAP Script?

Where can I find this kind of documentation?

With SP08 we have integrated the long text documentation also in the element info via this link. By clicking the link you will see the long text also in the popup screen.


Filter your Where-Used Results

When triggering the Where-Used function in the ABAP workbench you have several options to restrict the search result, e.g. you can restrict the search for specific object types or specific packages:


This kind of search restriction was not possible within Eclipse. So we decided to offer this functionality now also with the new client. In Eclipse you first trigger the where-used on a development object and once the result is displayed in the search view you can filter the hit list by specifying the following filter options:


In addition to the filtering we also enhanced the result list view of the where-used. For example you can now trigger the where-used search for objects displayed in the search result view which is quite convenient for the developer.



Improve your code with the ABAP Test Cockpit for Eclipse


Last but not least we also renewed the user interface of the ABAP test cockpit within eclipse. The ABAP test cockpit is the tool of choice when it comes to manage the code quality in your development landscape in the area of programming standards, security checks and performance checks. From the check infrastructure it is still the code inspector that does the quality checks in the ABAP backend. But we added an infrastructure that allows you to run central quality checks in your Q-systems and your developers can monitor the results in their development environment. A very good overview about the benefits is given by Christopher Kaestner in the blog ABAP Test Cockpit – an Introduction to SAP’s new ABAP Quality Assurance Tool .


One aspect of the tool is the tight integration with the developer tooling in eclipse. On the one hand side the developer is able to check the quality of the code he is responsible for but he can also monitor the results of central check runs of the quality system.

A.) Detecting quality issues

There are several options for the developer to check the code quality:

1.) He runs the quality checks on the object he is currently working on directly from the editor. This should be done ideally on a regular basis during development.


The check can also be done on package level via the project explorer via the same menu item.

2.) Before releasing a transport request the developer should check all objects contained in the request. This can be done in the transport view in eclipse:


3.) Developer should check regularly the results of the ATC runs in the central Q-system. This can be done via the ATC result browser in eclipse where he sees the erroneous objects he is responsible for:


Once the developer has findings in the Q-system he directly can trigger a recheck of the objects in his development system and can go on to solve the issues.

B.) Solving the ATC issues:

The result of a manually triggered check run (RunAs->ABAP Test Cockpit) is displayed in the ATC problems views with detailed information about the finding and the possibility to easily navigate to the source code position. The ATC problem view is the worklist for the developer to solve the quality issues.


Starting from the Problem View the developer can fix the issue manually in the editor or can do it by using the Quick Fix option as described in the chapter above to create text elements. There might be situations where a fix of the issue is not possible or not appropriate. Therefore the ABAP test cockpit offers the possibility to create exemptions for this source code artifact so that the finding will be ignored in the next check run. The creation of exemptions is done directly in the problems view in eclipse via right-click on the finding:


We hope that the new tooling will help to improve the overall code quality in your development landscape.

So, that's it for the overview of the new features of the new ABAP in Eclipse client for AS ABAP 7.40 SP08.

We hope you will enjoy the new features and very important: Give us feedback.

Have Fun.



Filter Blog

By author:
By date:
By tag: