Skip to Content
Technical Articles

Using KeePass to logon to a ABAP Project in ABAP in Eclipse

Dear ABAP in Eclipse Team,

many systems with many clients means many passwords to me. And if I do want to make things right, I need to use a password manager (and generator) for this task. To manage my logons I am using KeePass, from which I can directly access the systems via SAPGUI.

For to be able to use KeePass also for to logon in ABAP in Eclipse, I would appreciate very much, if you could change the title of the Logon Window from “Logon to System” to “Logon to System for ABAP Project <name of the project>” or any other title which at least contains the name of the ABAP project.

 

Thank you ABAP in Eclipse Team for following my suggestion. From Version ADT 2.19 on you can use Keepass now very easily with ABAP in Eclipse:

For to be able to use Keepass for to logon to an ABAP project the Name of the entry in Keepass must be the project name.

Furthermore the autotype sequence must be changed to {PASSWORD}{ENTER}:

If Keepass is started and the user is logged into it and if you are then in the password field of the ABAP project logon you can type Ctrl+Alt+A and Keepass will do a global auto-type.

That means that it will search for entries, where the entry name is part of the text in the window title. If it finds exactly one entry, auto-type will be performed. If it finds more than one entry, a popup with the entries is shown and the user must choose one.

What is necessary for the Logon Screen is also valid when you create a new  Project.

New ABAP Project.png

After filling in all fields but the password, the project name should be shown in the window title like this: “New ABAP Project – <name of the project>”.

And finally also for the Change Password Dialog:

Change Password.png

In the window title it should say “Change Password – <name of the project>“.

Thank you in advance for your support,

Peter

12 Comments
You must be Logged on to comment or reply to a post.
  • Hello,

    in our company KeePass is very popular. I’m faced with the same problem for using KeePass in the Eclipse ABAP enviroment. It will be helpful if you extend the title of the system logon window in Eclipse.

    Regards,

    Christian

  • Hi Peter,

    the new version of ADT (2.19), contains also the change that shows the title in the logon dialog.

    Unfortunately, the change for the dialog “new ABAP project” is more difficult, because the project name is not known yet. The user would be able to change the project name on the next page.

    Please let me know whether this helps.

    Thanks,

    Michael

  • It is about 7 years since this blog was written – and today I wondered whether someone had already thought about this before. This blog is exactly what I was seeking to do.

    Once again, Seek and you shall find in the SAP Community!

  • It used to work very well with Eclipse 2019-06. I just installed 2020-03 and it doesn’t work anymore. I didn’t change anything. I then tried by doing some changes in keepass (latest: 2.45) and nothing works. The only change I can see is that when I compare the Logon popup via the tool Window Walker of Microsoft PowerToys, for 2019-06 I have “Logon for Project NPL_001_developer_en (eclipse.exe)” and for 2020-03 I have “Logon for Project NPL_001_developer_en ()”. I can’t say what it means but that’s the only difference I see. Maybe keepass doesn’t look at windows which don’t have an application assigned…

    Update 1: by using keepass option “Always show global auto-type entry selection dialog”, I see that the right entry is found in keepass, but it’s the “sending” of the password which doesn’t work.

    Update 2: I saw in this discussion “You can’t Auto-type into process which run with rights elevation […] One solution is running KeePass with higher rights”, so I restarted keepass with “run as administrator”, and that worked. Now I wonder how to start keepass automatically at Windows startup with “run as administrator”…

    Update 3: to run it as administrator, I marked the option “run as administrator” of the Compatibility properties of KeePass program (C:\Program Files (x86)\KeePass Password Safe 2\KeePass.exe). Now it works. NB: strangely, at startup, I saw that KeePass was starting twice; I went to the Task Manager, and saw two occurrences in the Startup tab, one with impact low and one with impact high; I disabled one.

    • Hello Sandra,

      first of all thank you very much for sharing you experience with the community. Cloud you please let us know, which keepath version your are using?

      Thank you in advance,

      Peter