Thursday, 21 September 2017

ABAP Development in Eclipse – Part 2

If you need to connect to any system, you have to create a Project.

Project can be created based on the type of implementation Eclipse will be used.

In our case, since we are connecting to SAP system , I am going to create an ABAP project.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Specify the connection details of the system.

You can either select the details from SAP Logon pad or you can define them manually. You can enable or disable the SNC connection.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Login to the system with your User ID and Password.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Give a name to project. Since I am connecting to a CRM system, I have given the project name as CRM_<SID>_110

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Since we are creating an ABAP project this will open a ABAP perspective. Perspective gives you an option to work in different areas of Eclipse.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Say “Yes”

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Now you are ready with your project and connected to the CRM system.

Take a look into the displayed screen and you will notice all the software packages list on left hand side including the $TEMP package.

Click on the $TMP package which will launch SAP screen. In this screen you can enter any transaction you wish to execute.

I am using SE38 here since Eclipse will be mainly used for development activities.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

If you just right click on your project , this will open a list of options available for you in Eclipse for your development. Interesting thing if you note, the options are similar to what we have in SE38.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Now, lets create a TEST program and see how it looks in Eclipse and SE38 Editor.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

I am creating a new request for this TEST program.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Once you click on Finish, this is how you will see it in SE38 Editor.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Let’s add few more lines in Eclipse and see how it looks again. Note the options marked in blue squares which are for Debugging, Executing etc for the program.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

There are several other features available in Eclipse which you can explore by going to respective sections.

Help options :

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Different Perspectives :

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Navigation options :

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Options for Running and Debugging the programs.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

Options to set your Preferences.

SAP ABAP Development, SAP ABAP Certifications, SAP ABAP Guides, SAP ABAP Learning

That’s it. Now you can start thinking about Eclipse and be ready to start your developments on Eclipse soon.

No comments:

Post a Comment