Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forward Navigation in Eclipse

Former Member
0 Kudos

Hi,

I am new to SAP and ABAP in Eclipse. So far we were using SAP GUI for ABAP , but now we are moving towards Eclipse for ABAP.

I want to know, is forward navigation possible in Eclipse?

I mean in SAP GUI when we want to create a subroutine using Form and call using Perform,

We first write Perform sub_routine_name parameters and double clicking on sub_routine_name it automatically generates Form code for us.

Is it Possible in Eclipse Editor?

Here are screenshots for SAP GUI forward navigation.

Double Clicking on the 'get_mard' subroutine a pop up window opens which ask to create new object and then it creates a form for this perform.

The following perform is generated automatically.

In Eclipse it says Form 'get_mard' does not exist. We need to create it manually.

Thanks in advance.

1 ACCEPTED SOLUTION

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Hemika,

these kind of object creations from within the code editor can be done via the so called Quick Assists in the eclipse editor. But unfortunately we do not support form routines by quick assists. We only support function modules and classes/methods currently.

So you can do the following for test purposes in the editor:

DATA OBJ TYPE REF TO ZCL_JUST_A_TEST_CLASS.

You will then get an systex-error that the class ZCL_JUST_A_TEST_CLASS does not exist.

Now you can position the cursor on the class anem and press CTRL + 1 !.

Then you will see the options that are possible in that context.

You can do this also methods and function modules.

Regards,

Thomas.

2 REPLIES 2

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Hemika,

these kind of object creations from within the code editor can be done via the so called Quick Assists in the eclipse editor. But unfortunately we do not support form routines by quick assists. We only support function modules and classes/methods currently.

So you can do the following for test purposes in the editor:

DATA OBJ TYPE REF TO ZCL_JUST_A_TEST_CLASS.

You will then get an systex-error that the class ZCL_JUST_A_TEST_CLASS does not exist.

Now you can position the cursor on the class anem and press CTRL + 1 !.

Then you will see the options that are possible in that context.

You can do this also methods and function modules.

Regards,

Thomas.

Florian
Active Contributor
0 Kudos

Hi Hemika,

you may also work through the ABAP in Eclipse Feature Explorer. You will be surprised what else is possible with eclipse.

Here is a link:

~Florian