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

Eclipse ADT executes programs twice

pokrakam
Active Contributor
0 Likes
2,230

When I run any ABAP report from Eclipse, it executes twice. It started doing this some time ago, can't remember when.

The behaviour is independent of backend - it does it on S/4 as well as my 7.52 developer system. So a simple Hello World program will run, print the output and when I click the yellow back arrow it runs again. If I use cl_demo_output it pos up with the dialog, and when I close the popup it pops up again.

I've debugged and the execution terminates normally as far as I can follow the ABAP portion so it's started from ADT.

Has anyone else seen this?

Eclipse 2021-09 on MacOS, everything patched up to the latest version (ADT 3.22.3)

Thanks,
Mike

1 ACCEPTED SOLUTION
Read only

RMW
Product and Topic Expert
Product and Topic Expert
2,015

Hello Mike,

SAP GUI for Java 7.70 rev 5 has a fix for that.

https://wiki.scn.sap.com/wiki/display/ATopics/SAP+GUI+Family

Best regards
Rolf-Martin

7 REPLIES 7
Read only

abo
Active Contributor
0 Likes
2,015

Eclipse 2021-12 on Debian Linux, same ADT version: the yellow arrow simply closes the embedded GUI panel and that's all. Maybe it's time to wipe the profile and and reinstall, kind of cliché but it should be enough.

Read only

pokrakam
Active Contributor
0 Likes
2,015

Thanks, have already reinstalled. I didn't want to update to 2021-12 just yet as the HANA tools are not available yet and with 2021-09 SAP took months to bring them up to speed. I think I'll just have to live with it.

Read only

ysoethoff
Product and Topic Expert
Product and Topic Expert
2,015

Hi Mike,

I tried to reproduce this behavior on my machine, also with a little hello world program, but everything runs as expected. Could you maybe provide us what coding you are executing?

Maybe also the support information zip file ("Help" -> "Collect support information...") from your installation would help us to understand the situation a bit better. But I would highly recommend to create an incident for providing us these information. If you want to create one, please use the component "BC-DWB-AIE".

Thanks and kind regards,
Yannic

Read only

pokrakam
Active Contributor
0 Likes
2,015

Hello Yannic,

Thanks, have you tried it using CL_DEMO_OUTPUT? Un/comment the relevant line to see:

report zmptest.

start-of-selection.
  "write / `Hello World`.
  cl_demo_output=>display( `Hello World` ).

One thing that may be different is that I use a minimal Eclipse installation with just the modules I need because it runs faster. I've not had the time to install a fully bloated 150+MB prepackaged version because there's always the faffing around with JavaFX and stuff, but if you think it may be worthwhile I can give it a go.

Edit: I've gone and deleted my Eclipse and started from scratch:

  • Downloaded the full version 2021-12, PHP Edition
  • Installed ADT from tools.hana.ondemand.com/latest, everything except connectivity and integration tools
  • Pointed it to my JavaFX 17.0.1, because the JRE included in SapGUI is way too unstable and keeps crashing Eclipse.

The issue persists.

I also tried to run on the JRE & JavaFX included with SapGUI, same result.

Currently I don't have an S-User for creating incidents, might be able to create one next week.

Thanks & regards,
Mike

Read only

ysoethoff
Product and Topic Expert
Product and Topic Expert
2,015

Hi Mike,

thanks for adding these information and also trying a fresh installation.
We were now able to reproduce the described behavior. It seems that it affects the SAP Gui for Java 7.70. Older releases of the SAP Gui for Java (7.50) are working as expected. We are now in contact with the responsible colleagues and I will give you an update as soon as we have further information.

Thanks and kind regards,
Yannic

Read only

RMW
Product and Topic Expert
Product and Topic Expert
2,016

Hello Mike,

SAP GUI for Java 7.70 rev 5 has a fix for that.

https://wiki.scn.sap.com/wiki/display/ATopics/SAP+GUI+Family

Best regards
Rolf-Martin

Read only

pokrakam
Active Contributor
0 Likes
2,015

Great stuff, my "Echo" is no more!

Thanks yannic.soethoff and rolf-martin.woersinger for your help in resolving this 🙂