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: 

Issue in ABAP in Eclipse on Linux

sapRSH
Explorer

Hi folks,

I have installed SAP GUI for Java 7.40 rev 12 on Ubuntu (17.04). Then I installed Eclipse Oxygen and ADT tools for ABAP development.

But I have a strange issue in Eclipse :

  • When I use use 'Open SAP Gui' (Ctrl + 6) button to open any transaction (say se11) and open tables etc., everything works fine.
  • But if I use the same button to open any code (through se38/se37/se80 etc.) the screen starts to flicker rapidly. It becomes impossible to work after that. The only way is to restart Eclipse.
  • Strangely using 'Open ABAP development Object' (Ctrl+Shift+A) button to search and open the same report/FM etc. does not cause any flicker and I am able to work fine.

Initially I thought it may be bug with Eclipse Oxygen, so I went to Eclipse Neon version, but same issue was there too. I even checked with a friend, who noticed same issue so I am sure the issue isn't only on my machine.

I installed SAP Gui 7.50 on Windows (native client) and then Eclipse Oxygen/SAP ADT, but I didn't find this issue in Windows.

So, I suspect it's either issue with Linux client or SAP GUI Java. Any suggestions to resolve this issue?

Thanks,

Ravi

1 ACCEPTED SOLUTION

former_member249109
Active Participant

Hi Ravi,

Today I had exactly the same bug. Somehow Eclipse does not like to work with GTK3. So what I did was to include this line in the eclipse.ini file:

--launcher.GTK_version

2

That did the job! Now I can display any SAP transaction and debug from eclipse.

11 REPLIES 11

pokrakam
Active Contributor
0 Kudos

My guess is that it's either to do with java or eclipse-sapgui integration.

Do you get flickering if you start sapgui directly - i.e. bypassing eclipse altogether?

If so then the issue is with your java or the java gui. If not, then it's java or the eclipse-sapgui integration.

0 Kudos

It works fine in SAP GUI Mike. But SAP GUI on Linux being Java based doesn't support 'new' ABAP editor. Hence, I would like to use ABAP on Eclipse on Linux .

The issue is definetly with Eclipse-SAPGUI integration. But I am not sure which is the correct team to handle this issue. Eclipse or ADT (ABAP Development Tools) plugin team.

pokrakam
Active Contributor
0 Kudos

Using pure SAPGUI was just a troubleshooting exercise. Have you tried updating to 7.5 GUI and the latest JVM?

Mike I did upgrade to SAP 7.5 GUI for Linux. Upgraded Eclipse (currently using Oxygen 3.a), upgraded JDK (currently JDK 10). But nothing worked.

I had read this issue was due to Eclipse not behaving properly in GTK3 environment. Hence, Marco's solution above worked for me.

Thanks for the help though 🙂

former_member249109
Active Participant

Hi Ravi,

Today I had exactly the same bug. Somehow Eclipse does not like to work with GTK3. So what I did was to include this line in the eclipse.ini file:

--launcher.GTK_version

2

That did the job! Now I can display any SAP transaction and debug from eclipse.

0 Kudos

Interesting, but if it's GTK then why only start freaking out when SAPGUI does it's thing.

I wonder if SAPGUI likes GTK2 and Eclipse GTK3. So maybe updating to SAPGUI 7.5 might also do the trick...?

0 Kudos

Thanks Marco. Will also try it out and get back to it.

HI Marco,

I forgot to try this out . In fact didn't use Eclipse all that on Linux in last 1 year. But I tried your solution today and it worked! Thanks for it 🙂

Former Member
0 Kudos

I have the same problem, so it's not just you. I am on Fedora 28 and can reproduce the issue both in xfce as well as gnome3. Former Member solution (calling `eclipse --laucher.GTK_version 2`) causes eclipse to reproducably crash when opening a report (not a class or function module!) and starting to scroll.

0 Kudos

I have just used this switch and haven't experienced any crashes. Will inform if I do get any crashes.

FYI, I am using Xubuntu 18.04 currently.

i-ivd
Explorer
0 Kudos

Hi,

unfortunately this annoying error is still there in the latest versions (on linux Debian) with Eclipse 2018.12, ADT 3.0.2, SAPGUI java 7.50 rev 5 with openjdk 11.0.2 sapmachine .

It would be nice if it gets fixed.

Best regards,

Denis