Tuesday 19 September 2017

ABAP Development in Eclipse – Part 1

As we all know that ABAP and SE38 has been a mainstay for SAP’s code development and most of the companies run their businesses on SAP solutions written in ABAP. All these years ABAP development and SE38 has continuously evolved into what we see in latest and improved SE38 editor.

1990 – First ABAP Editor came

1999 – ABAP Workbench was introduced

2004 – Syntax coloring and Code compilation added

Since 2009, SAP has begun to move ABAP tools to the open Eclipse platform. And from 2011, switch to Eclipse changes everything.

Eclipse provides a great development experience with the Eclipse Client which is easy to install, use and understand, it can be used as single tool for developing everything (SAP HANA, SAPUI5, Java,….) and it works on major development platforms such as Windows, Linux and Mac, so we can develop everywhere. You can also use it as a central development tool by just connecting to your system from a single place.

So let’s explore this new world of ABAP Development through Eclipse.

Welcome to Eclipse !!!

For Eclipse to work, you need either Eclipse Luna or Eclipse Kepler.

So starting point for your Eclipse experience is :

https://tools.hana.ondemand.com/luna

https://tools.hana.ondemand.com/kepler

I have demonstrated this installation with Eclipse Luna, so you can get Eclipse Luna software from :

http://eclipse.org/downloads/packages/release/Luna/SR1

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Download the Eclipse Luna R Package Standard 4.4

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Select 32-bit or 64-bit depending on the operating system you plan to use for installation. The steps mentioned here are for Windows 64-bit.

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Save it on your local desktop somewhere and extract the zip file. This will create a folder called “eclipse”

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Eclipse needs a Java Runtime Environment (JRE) installed on your machine. You can download the suitable JRE and install it.

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Copy the above “jre7” folder to your “eclipse” directory and rename it to “jre”. If you keep the name as “jre7”, the installer won’t recognize it.

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Click on “eclipse.exe” now to start the installation.

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Specify the location of workspace which Eclipse will use.

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Once installation is finished, you are ready to explore the world of Eclipse.

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Ok…now this looks similar to NetWeaver Developer Studio (NWDS) which we use for Java Development. But for doing development using Eclipse we need to install the ABAP Development tools software.

Follow the steps given below :

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Give a nice Name to Repository and Location as https://tools.hana.ondemand.com/luna

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Now click on “Add…”

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

This will take some time and will populate the list of available software’s for install.

Select ABAP Development Tools for NetWeaver from the list.

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Accepted the license agreement and click “Finish”

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Say “Yes”.

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Now Eclipse Luna is installed and it is ready for connection and your development in any system

SAP ABAP Development, SAP Eclipse, SAP Tutorials and Materials, SAP ABAP Certifications, SAP ABAP

Please refer my next blog “ABAP Development in Eclipse – Part 2” for further details.

No comments:

Post a Comment