Registration

Dear SAP Community Member,
In order to fully benefit from what the SAP Community has to offer, please register at:
http://scn.sap.com
Thank you,
The SAP Community team.
Skip to end of metadata
Go to start of metadata

Getting up to speed with ABAP Development in Eclipse based IDE ADT(ABAP Developer Tools)

[Under Construction]

 

This article is dedicated to ABAP Development in the Eclipse based ADT(ABAP Developer Tools).

Applies to:

ABAP,ABAP Developer Tools(ADT) 2.41

Summary:

This article is dedicated to ABAP Development in the Eclipse based ADT(ABAP Developer Tools).  It is an on going document that will cover all features of the ADT step-by-step

Author: Fahad Javed

Created on : 21st April 2015

Table of Contents

Intro

All of us ABAP developers have been working on the ABAP workbench(Tcode = SE80) for organizing and creating our development objects for quite a while now. The tooling was good but had lots of limitations for a true modern development experience missing a LA Visual Studio or Netbeans Development Experience.

I have had the opportunity to work with ADT(ABAP Developer Tools) in the past,but the tooling back than was not as stable as it is today. We Developers have been asking for an external tool Development in SAP for a while now, and our wishes have been duly fulfilled by SAP. There are many new features in the IDE to make you a more productive developer using SAP Tools. Those who have used the Eclise IDE before,will feel right at home as it has been the IDE of choice for many development pat forms with Tools based on this IDE like APTANA Studio, Flash Builder, Eclipse ADT(Android Development Tools)(Now replaced by Android Studio IDE),SAP Netweaver Developer Studio(For those Java Developers in SAP) and the list goes on.

In this guide i'll be walking you through how to set it up to start working on ABAP development and the tools required to start making your development endeavors a productive one. Before we start exploring the ADT IDE lets us first go through the pre-requisites:

Note

 Before we start here are some assumptions,that are followed:

> You have a Windows 8 PC and that you have the 32 bit versions of all the runtimes including the eclipse Luna R IDE

Pre-requisites required for Working with ADT(we will be working with the 32bit version):

Here is a list of pre-requisites required for working with ADT.

(01)Windows 7/8(specifically Windows 8):


(02)Download JRE(Java Runtime Environment) version 1.6 and on wards:

In our case we will be downloading the 32bit version of the JRE 8 update 40. It can be downloaded from the following link:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

You can download the 32bit version by choosing the link near the text 'Windows X86 Offline'.Before selecting the link,also check the 'Accept License Agreement'. In order to download this you may require a free account with Oracle which can be easily created when prompted to do so.

Figure 00_A: Java SE Runtime Environment 8

                        Downloads

(03)SAP GUI 7.30 and onwards(We will be using SAP GUI 7.30):

This will be required for adding in projects settings from SAP gui,although these saplogon settings could also be entered manually.

(04)Microsoft Visual C++ 2010 Redistributable Package (x86):
This runtime can be downloaded from the link:
    http://www.microsoft.com/en-us/download/details.aspx?id=5555

Figure 00_B: Download Microsoft Visual C++ 2010

                        Redistributable Package(x86)

(05)Download Eclipse Luna R Package of the Eclipse IDE:
You will need to download eclipse standard IDE either 'LUNA'(4.4) or the 'Kepler'(4.3). It is recommended to work with Luna as it is the latest one and we will be working with that version of the eclipse IDE in this document. We will be working with the 32bit version of the IDE. If you wan't
you can download the 64bit of the IDE.

Eclipse Standard IDE based on LUNA R Pakages can be downloaded from the following URL:
    http://www.eclipse.org/downloads/packages/eclipse-standard-44/lunar
just click on the link on the right named 'Windows 32-bit',to download the 32bit version of the  eclipse IDE. This is approximately a 200mb package in a zip file.

Figure 00_C: Downloading Eclipse Standard

                         4.4 Packages

Once this package has been downloaded,extract its content and copy it in the 'Program Files (x86)'  which is the folder where 32 bit applications are installed,in case of 64bit you can use the folder 'Program Files'.

Once extracted,run the 'eclipse.exe' file,do make sure that all pre-reqisites like JRE,VC++2010 runtime are installed.

When you run the eclipse ide for the first time,you will be asked to provide a directory path to a workspace,you can set the 'Remember it' checkbox or uncheck it to allow it to set up a workspace when you run it,this is especially useful if you have multiple workspace for different projects. A workspace is basically a folder where all your projects are created including settings or preferences set in the IDE.

Procedure for installing ADT in eclipse IDE:

Once in the IDE,we need to install the ADT tools,which is basically an addon or a plugin for the eclipse ide. In order to install it we have 2 options:

(01)Install it via the ADT package downloaded from Sap Service Market place,this is a zip file:

For installing the plugin through the downloaded zip file, go the following menu path:

    Help > Install New Software...

Now in the 'Install' popup window click the 'Add...' button.

Another pop-window named 'Add Repository' will pop-up.Click the 'Archive ...' Button and then navigate to the directory path of the ADT Plugin downloaded from SAP Service Market Place.

In our case the name of the zip is 'SAPBASISAIE00_0-80000877.zip'. Give the repository a name,in our case we have given it a name of 'ADT(ABAP Developer Tools)'.

Once the ADT Plugin zip file has been selected,you will see a screen with a node of 'ABAP Development Tools for SAP Netweaver' with the following components:

  • ABAP Connectivity and Integration Development Tools[X]
  • ABAP Core Development Tools[X]
  • ABAP Development Tools for SAP HANA
  • ABAP Development Tools for Web Dynpro[X]
  • BOPF Business Object Tools
  • CDS Diagrams

Just select the core development tools and click  the 'Next' button. This will bring the review screen,with the subcomponents that will be installed based on the selection in the previous screen.

Click the 'Next' button and you will be taken to the 'Review Licenses' screen. Here select the 'I accept the terms of the license agreements' radio button and then click the 'Finish Button'. This will start installing the plugin in your eclipse based IDE.

Useful Information

This article is dedicated to ABAP Development in the Eclipse based IDE named ADT(ABAP Developer Tools). Its an ongoing document and will be frequently updated to cover most of the Development features.

Checklist of Topics Areas Covered