Sei sulla pagina 1di 15

Jordi Escoda, February 2016

Setting up ABAP in Eclipse


1 Introduction
On this paper we show how to set-up eclipse to start developing ABAP on it.
This installation procedure is for Windows 7 64 bits.
Assumptions: You are running a Windows 7 64 bits with internet connection.

1.1 Back-end preparation


1.1.1 Server requirements
ABAP Development Tools is compatible with AS ABAP of SAP NetWeaver 7.31/7.03
SP04 onwards.

1.1.2 Activate ICF services in the Development System


Logon with SAP GUI to your SAP Application server.
Go to transaction SICF and ensure:
Activate if is inactive default_host/sap/bc/docu
Activate if is inactive default_host/sap/bc/toolsdocu

Activate if is inactive default_host/public/bc/abap/docu


Activate if is inactive default_host/public/bc/abap/toolsdocu

http://www.goodatsap.com

1.1.3 Required Authorizations


There are several authorizations required to work with Eclipse.
There are two predefined standard roles. We recommend using these roles:

1.2 Eclipse Mars V4.5.1 installation

Download Eclipse Mars from here:


http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/mars1
Download java7 runtime environment from here:
http://www.oracle.com/technetwork/es/java/javase/downloads/jre7-downloads1880261.html (choose jre-7u79-windows-x64.exe)
Install Java 7 runtime environment by executing jre-7u79-windows-x64.exe
Unzip eclipse-java-mars-1-win32-x86_64.zip to C:\Program files\eclipse
Execute C:\Program files\eclipse\eclipse.exe

http://www.goodatsap.com

1.2.1 Issues when running eclipse


This error may appear:

If it happens, edit C:\Program files\eclipse\eclipse.ini and add the path where jre is
installed and add before vmargs:
-vm
C:\Program files\Java\jre7\bin\javaw.exe

http://www.goodatsap.com

Now eclipse mars should work.

1.3 Install ABAP Development Tools for SAP Netweaver


Once Eclipse is up and running
Help / Install new software

http://www.goodatsap.com

Name: ABAP Development Tools


Location: https://tools.hana.ondemand.com/mars

Select ABAP Development tools for SAP NetWeaver and next:

Accept the terms and license.

http://www.goodatsap.com

Once finished, you can ensure the installation is OK in this way:

http://www.goodatsap.com

1.4 Creating a project (and connecting to the Application


Server)

http://www.goodatsap.com

If we usually will have SAP GUI installed and we already have it configured for
access, we can choose this radio button:

Alternatively we can use Manual definition. The system will show a dialog to fill
connection details.

http://www.goodatsap.com

Give client, username password and language:

http://www.goodatsap.com

Give a project name and Finish

You will see in the project explorer tab your project:

http://www.goodatsap.com

From now you can experiment and start developing!

1.5 Opening SAPGUI in Eclipse


You can open SAP GUI in Eclipse

The system asks for the project we want to open

A new tab will open, with SAP GUI

You can use as you use SAPGUI

http://www.goodatsap.com

1.6 Issues when connecting to the SAP system


1.6.1 SNC not enabled
We may find this warning:

This indicates that system is not enabled for Secure Network Connection (SNC)
Although it is highly recommended to activate SNC, as it is a warning message we
can continue.

http://www.goodatsap.com

1.6.2 Missing authorizations for S_ADT_RES


We may find this error: No
/sap/bc/adt/compatibility/graph

authorization

to

This means you lack authorization for object S_ADT_RES

http://www.goodatsap.com

access

the

resource

1.6.3 Connection lost


While we are working, if connection is lost we will see this error:

We can expand the error:

http://www.goodatsap.com

1.7 Related links


https://tools.hana.ondemand.com/#abap SAP Development Tools for Eclipse
http://scn.sap.com/docs/DOC-29113 FAQs ABAP Development Tools for Eclipse

Disclaimer and Liability Notice


GoodAtSAP will not be held liable for any responsibility in using the information or
code published in this document. Anyone using this information is assuming that it
is at his/her own risk.

License CC BY-NC-ND 4.0


You are free to share copy and redistribute the material in any medium, under the
following terms:
Attribution You must give appropriate credit, provide a link to the license, and
indicate if changes were made. You may do so in any reasonable manner, but not
in any way that suggests the licensor endorses you or your use.
Non Commercial You may not use the material for commercial purposes.
No Derivatives If you remix, transform, or build upon the material, you may not
distribute the modified material.

http://www.goodatsap.com

Potrebbero piacerti anche