Application Development and Automation 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: 
Read only

Error while executing ABAP program in Eclipse

Deepti
Explorer
0 Likes
2,513

Hi ,

I created ABAP Test program on Eclipse . It was compiled and activated successfully.

But when I try to run that , it gives me following error.

'Could not open the editor: Could not start SAP GUI for Windows: C:\Program Files\SAP\FrontEnd\sapgui\\SapGuiServer'

When I click on the details it gives the following trace for expection  :

java.io.IOException: Cannot run program "C:\Program Files\SAP\FrontEnd\sapgui\\SapGuiServer": CreateProcess error=2, The system cannot find the file specified

          at java.lang.ProcessBuilder.start(Unknown Source)

          at com.sap.adt.sapgui.ui.internal.win32.embedding.WinGuiServerProxy$SapGuiServerProcess.start(WinGuiServerProxy.java:532)

          at com.sap.adt.sapgui.ui.internal.win32.embedding.WinGuiServerProxy.startGuiServerProcess(WinGuiServerProxy.java:143)

          at com.sap.adt.sapgui.ui.internal.win32.WinGuiFragment.getGuiServerProxy(WinGuiFragment.java:73)

          at com.sap.adt.sapgui.ui.internal.win32.WinGuiFragment.getGuiServerProxy(WinGuiFragment.java:96)

          at com.sap.adt.sapgui.ui.internal.win32.embedding.EmbeddedWinGuiEditor.createEmbeddedGuiContent(EmbeddedWinGuiEditor.java:80)

          at com.sap.adt.sapgui.ui.internal.views.AbstractSapGuiWorkbenchPart.createPartControl(AbstractSapGuiWorkbenchPart.java:108)

          at com.sap.adt.sapgui.ui.internal.editors.AbstractSapGuiEditor.createPartControl(AbstractSapGuiEditor.java:149)

          at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)

          at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)

          at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)

          at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)

          at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2958)

          at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2863)

          at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2855)

          at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2806)

          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

          at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2802)

          at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2786)

Please tell me what could be the error in this , as this is the last hurdle I am facing in running the ABAP program on Eclipse.

1 ACCEPTED SOLUTION
Read only

eckart_liemke
Product and Topic Expert
Product and Topic Expert
0 Likes
2,143

Hi,

can you check what the path of your SAP GUI installation is? And, if possible, can you check what the value of the registry key "HKEY_CURRENT_USER\\Software\\SAP\\General\\Appearance\\Themes\\Enjoy" is?

Thanks,

Eckart

6 REPLIES 6
Read only

eckart_liemke
Product and Topic Expert
Product and Topic Expert
0 Likes
2,144

Hi,

can you check what the path of your SAP GUI installation is? And, if possible, can you check what the value of the registry key "HKEY_CURRENT_USER\\Software\\SAP\\General\\Appearance\\Themes\\Enjoy" is?

Thanks,

Eckart

Read only

0 Likes
2,142

Hi Eckart ,

I checked the path of installation and its

C:\Program Files\SAP\FrontEnd\sapgui\.

I am attaching the screen shot for the same.

Also I am attaching the screen shot for the Registry Key value for

HKEY_CURRENT_USER\\Software\\SAP\\General\\Appearance\\Themes\\Enjoy

Please help me how to resolve this error.

Regards,

Deepti

Read only

eckart_liemke
Product and Topic Expert
Product and Topic Expert
0 Likes
2,142

Hi Deepti,

looks ok.

Can you check if the installation path contains the executable sapserver.exe?

If not, I would recommend a reinstallation of the GUI.

Best regards,

Eckart

Read only

0 Likes
2,142

Hi Eckart,

I checked the installation path it neither has sapguiserver.exe nor sapserver.exe.

Current GUI that I am using  has the following release :

-      710 Final Release.

Please tell does this support the ADT.

If not then please tell me which release should I install, which will be compatible with the ADT.

Regards,

Deepti

Read only

eckart_liemke
Product and Topic Expert
Product and Topic Expert
0 Likes
2,142

Hi Deepti,

SAP GUI 710 is not supported by ABAP in Eclipse.

For optimal support, you should install SAP GUI 730.

We have to check why you did not get a warning right at the beginning.

Best regards,

Eckart

Read only

0 Likes
2,142

Thanks a lot Eckart , its working now .