SAP Gui AddOn

avatar

I have added the SAP Gui AddOn.

This is a Session Addon, a Session Tool Addon and a not yet working Import Addon.

This Sesssion AddOn can start sessions selected from your saplogon.ini files located anywhere on your PC client. (e.g. if you work for more then one customer)
+ possiblility to copy/create saplogon.ini independent sessions. If you're working in a not editable saplogon.ini environment (or daily refreshed due GroupPolicies from your Client-Team)
+also the feature to automatic logon and execute Transaction/Reports if you wish.
Limitations:
- only external Sessions are possible.
- connections over saprouter not testet.
- SNC connections not testet.

The Session Tool AddOn uses SAPNiPing on Sessions, to evaluate the correct Hostnames/Servicenames. (Check in Switch over Clusterenvironments)

The Import AddOn will import a bunch of sessions from a saplogon.ini and also create Sessions for OS Acces / Web Access to the importing sessions.
Limitations: is not working jet due some limitations (e.g. http://forum.devolutions.net/topic750-isessionimportaddon-on-session-addon-possible.aspx )

hope you like it and helps,
oki

SAPGuiAddOn.zip

All Comments (41)

avatar

Hi,
This is a great news, do you want me to add it to our web site with your name? For the limitation, you can use the workaround until we release the new SDK version (due in the next after the current beta).

David Hervieux

avatar

Hi David,
sure, you can add this to your website.

Tomorrow, I'll investigate your workaround. Do you know a way to acess the template sessions from an AddOn assembly? As far as I can see, you've implemented a proxy for RDM in the addonService. This Proxy is implements the IRemoteDesktopManagerProxy , but is a static class. With overloading your AddOn Assembly it'll not possible to extend an new IRemoteDesktopManagerProxy Interface.

avatar

sapguiaddon Version 1.0.0.2 added.

Changelog from 1.0.0.0 to 1.0.0.2:
+ saplogon.ini importer enabled. (without OS and J2EE sub-Sessions)
+ Property: SAPConnectionInternalName added to identify changes on saplogon.ini
+ Low Speed Connection Property added.
+ Fix for localized Windows Version
+ cosmetic fixes on session edit and import forms.
+ fix for description
+ added: default system language.

hope you like it and helps,
olaf
edited by oki on 11/11/2010

SAPGuiAddOn[1].zip

avatar

SAP GUI AddOn Version 1.0.0.3 added.

Two screenshots are attached of the saplogon.ini importer new features.

Changelog from 1.0.0.2 to 1.0.0.3:
+ saplogon.ini importer can now create OS (Putty and RDP) Connections and also SAP J2EE Instance (assume J2EE-AddIn Installations) Connections to the selected Imports in one step.
+ fix for Session Descriptions due importing Sessions.
Limitations:
- creating RDP/Putty/http(s) SubSessions in RDM Enterprise Mode don't work jet. (it's on my todo list)

hope you like it and helps,
olaf

SAPGuiAddOn 1.0.0.3.zip

import-J2EE Instance.jpg

import-OS Access.jpg

avatar

here they are...

sapgu16x16-32.bmp

sapgui32x32-32.bmp

avatar

Is this where i can report bugs? First off we love this add on but did notice some small bugs that could use some attention. I am using RDM version 5.9.0.21 with the sapgui add on and I noticed when i had many sessions built in RDM connections tree and then went back to the sapgui logon 7.10 and added a new connection. Afterwards going back to RDM to find that the sap connection settings were all wrong. It seems when i added a new connection to the sapgui logon 7.10 it pushed sessions down on the list to put in alfhabetical order and i believe RDM sap addon uses the item number from saplogon.ini file so when the new session got added it changed the order of the connections in the saplogon.ini file. The sap addon has to tie to the session description and not the item number so that it does not get jumbled up. I worked around this by splitting up my saplogon.ini into seperate .ini files sorted by customer names. Thank you.
edited by Spooner on 2/17/2011

avatar

Another small bug i noticed is that the last sap connection listed in the saplogon.ini file is not selectable in the drop down sessions when it looks at the saplogon.ini file. I worked around this issue by adding a junk session to the end of the saplogon.ini file so that i could select from all my sessions in the drop down list.
edited by Spooner on 2/17/2011

avatar

Last request or suggestion is could the user name and password be drawn from a credential repository. I have grown fond of the credential repository when maintaining credentials but sap add on only supports session specific credentials. I can live with session specific credentials but some of our sap environments use CUA (central user account) so the name and password will work across many sap systems and if we change the password on one account we would have to got to each sap session and adjust where as credential repository would only have to be changed in one place. Thank you for your time and work I do appreciate it.

avatar

@spooner:
the best way reporting bugs is in this forum. If u need more/faster support, send a PM.

The addon-Version 1.0.0.3 attached in a previous post is really buggy.

Please use attached Version 1.0.1.0, which contains a lot of fixes. (e.g. session selection in combo box, identification of saplogon.ini changes, case sensitive ini-parser, tested SNC sessions, default Logon Language handling, ...)

for your feature request I've to aks david, because addons in the 5.9 SDK can't access different credential repositories. Addon-Sessions can't view the protected credential repository property of class session. I've to adapt SAP Gui Addon to the SDK Version 2.0 delivered with RDM 6.0.
edited by oki on 2/25/2011

SAPGuiAddOn 1.0.1.0.zip

avatar

oki,
I have installed the lastest version sapgui add on and now when i go back to some of my previous sap connections i am getting a new error.

Saplogon.ini differs to stored Session entry
Name in saplogon.ini position: GRD(10.148.1.53)
Name is RDM Session
Ignore Update Cancel

If i click ignore it will connect but this is doing this all the time. The Update button does nothing.
I split up the saplogon.ini file into seperate company names and it was working fine before but now it seems to be looking for saplogon.ini even though i am pointing to

C:\Windows\Saplogon - customername.ini

It appears that after updating to RDM 6.0 and the new SAPgui addon all of my passwords for the sapgui sessions are deleted. ugh!

Update: The fix to this prompt is to click the "..." button next to the connection field in the connection tab. I had to do this on all the SAP sessions to stop the prompting.

edited by Spooner on 2/25/2011
edited by Spooner on 2/25/2011
edited by Spooner on 3/6/2011

avatar

oops,
I've to check... (outside this customer environment)

avatar

How are the passwords stored for the sapgui connections? I have set up a large collection of SAP connections on RDM 6.0 Enterprise connected to a MSSQL server and when i connect other users to the database to share the connections all the sapgui connection passwords are gone. I presume the passwords are not stored in the database with the sessions. How can i fix this? Can i copy the passwords if they are stored somewhere else locally. It took me literally days to collect the passwords from different resources to build and i cannot afford the time reentering passwords for aall sapgui connections for all users. And what if a session password is changed on one will it sync with the database to share with other users. Thank you in advance.

avatar

@Spooner:
sapgui 1.0.1.0 addon was build, whith all restrictions, agains RDM 5.9 SDK. The Sessionpasswords are stored together with the session-parameters (or link to .ini-File with session numer within) in the RDM repository.
Due SNC bugfixing was the case sensitive ini-parser nessessary. All previous stored sessions were imported from .ini files in uppercase RDM Sessions. That's the cause that all Sessions marked as changed/invalid.
There is no migrationpath from sapgui addon 1.0.0.3 to 1.0.1.0 for stored sapgui sessions avail. You've to delete and reimport them. For security reasons, i'll not provide a session export for plaintext passwords.

I can confirm the problem with the different saplogon.ini files outside the defaultstorage (c:\windows\saplogon.ini)

br,
oki

avatar

Oki,
I have read you reply several times and i am still trying to understand. I am using SAP addon 1.0.1.0. I did use SAP addon 1.0.0.3 so you are telling me to delete and reimport (sessions or saplogon.ini?) so that it will then save the passwords. My situation is that i have created a SAP connection list that works fine on my connection list in MSSQL but when i add other users to acces the connections through MSSSQL data source all the sapgui connection passwords are gone. Sorry for not understanding you more clearly but i am new and still learning the basics. I will test some of your suggestions to see if i can figure it out but if you could provide clearer instructions i would appreciate it.

For your reference also i am using sapgui 7.10 patch level 12. We store the systems connection information in the sapgui but we never set up shortcuts with user credentails if that is what you are talking about. In my sapgui version the shortcut option has the password field greyed out and says Not recommended to use. I also tried deleting a session and then recreating it to see if it would transfer the password to the new users through the database but no luck.
edited by Spooner on 3/28/2011

avatar

SAP Gui Addon 1.0.2.0 released and can be downloaded here: http://www.trianet.de/de/service/tipps-a-tricks/67-sapguiaddon1020remotedesktopmanager.html

Changelog from 1.0.1.0:
+ Implemented SAP Note 1031740 for correct handling of saplogon.ini location under Windows Vista, Win 7, Windows Server 2008
+ fix: multiple saplogon.ini handling
+ cosmetic update on popupwindow after identifiing saplogon.ini changes due opening session.
+ Copy button to copy a saplogon.ini Link-entry to custom session within SAPGui Addon sessions.

avatar

Hello oki,
i just tried your add-on and I am running in the "name differ" popup spooner has already reported earlier in this thread.
I am using sag gui addon 1.0.2.0 with RDM 6.5.1.0. I configured a connection to our productive machine just to logon without using other options like shortcuts or such.
I already clicked the ... Button to no avail
Could you please look into it again?
Update: I know now what I am getting wrong - or the addon implements incorrectly ... you choose ;)
What I was trying is:
Configure in RDM a custom connection and use it as a template.
Then build the connections from the template and add the user-specific logon credentials.
The addon though expects this configuration is pre-configured in saplogon.ini (which is NOT - and for my purpose MUST NOT).
I already tried to do the way backwards (configure sessions in saplogon.ini and import it in RDM).
But I am still getting the name mismatch prompt!
Looking for the saplogon.ini position is the wrong way since some employees have additional systems in their saplogon.ini and as SAP Logon sorts the ini alphabetically the position would point to the wrong entry.
On import I am asked for credentials to add to the RDM sessions. But when I import 5 sessions I get 5 sessions with the same credentials.
This would be great if I import my own sessions. But as an admin I configure 95% of the time for other people.
edited by stevecharon on 11/9/2011
Additional: when a custom connection is configured in RDM it still uses the saplogon.ini entry
omitting the saplogon.ini is not possible so the custom connection (which I would appreciate) is completely unused!
edited by stevecharon on 11/9/2011

RDM 10.5.2.0 Enterprise
RDMS 2.2.7.0

avatar

Hello oki,
I finally found the error:
the option "IsCustomConnection" is not implemented in the gui.
So I exported the session with creds and set this to true.
After importing it (dont forget to click on Overwrite) the custom connection is finally used by RDM.
Don't know if this has to be fixed in RDM or in the addon, but I recommend to fix this because I would call this a bug.
Best regards and thank you for this addon!
Steve

RDM 10.5.2.0 Enterprise
RDMS 2.2.7.0

avatar

hi steve,
I've to check this.
Oops, seems to be a interface problem: I've defined Property "IsCustomConnection" as a Property of a SAPGuiSession.

Maybe this is also used internally by RDM. I've to start reflector...
edited by oki on 11/15/2011
double oops, read your previous post. thank you for your exact analsysis. Have to roll up the old sources.
edited by oki on 11/15/2011

avatar

Hello olaf,
as sapgui command like "sapgui.exe /H/saprouter/H/saphost/S/3200" works fine, i've two short questions to the AddOn:
is on custom connection really the need of specifying SID (hostname and systemnumber should be sufficient)?
when specifying no client on custom connection i get an error message like "unknown client" - because client field is empty. why isn't it possible to use the default client?

thanks and best regards
Roman

avatar

oki,
I am in the process of adding all credentials using Keepass2 to all sessions in RDM but the sap gui addon still does not accept Credential repository accounts. Where are you at on this option? I am building a large rollout with a couple hundred connections to a multi user environment. It would be nice to include SAP connections. Thank you for your effort and where can we donate?

avatar

Hi Oki,

have you had the opportunity to fix this?
Would be really great to get this working as expected.

best regards
Steve

RDM 10.5.2.0 Enterprise
RDMS 2.2.7.0

avatar

@Oki,
You only need to implements this:


public override bool SupportCredentialRepository
{
get
{
return true;
}
}

public override bool SupportCredentials
{
get
{
return true;
}
}

public override string GetPassword(string parameters)
{
SQLServerConfiguration configuration = SQLServerConfiguration.FromXml(parameters);
return configuration.Password;
}

public override string GetUserName(string parameters)
{
SQLServerConfiguration configuration = SQLServerConfiguration.FromXml(parameters);
return configuration.Username;
}

public override string SetHost(string parameters, string host)
{
SQLServerConfiguration configuration = SQLServerConfiguration.FromXml(parameters);
configuration.Server = host;
return configuration.ToXml();
}

public override string SetPassword(string parameters, string password)
{
SQLServerConfiguration configuration = SQLServerConfiguration.FromXml(parameters);

if (configuration.IntegratedSecurity)
{
return parameters;
}

configuration.Password = password;
return configuration.ToXml();
}

public override string SetUserName(string parameters, string userName)
{
SQLServerConfiguration configuration = SQLServerConfiguration.FromXml(parameters);

if (configuration.IntegratedSecurity)
{
return parameters;
}

configuration.Username = userName;
return configuration.ToXml();
}

David Hervieux

avatar

Have we lost Oki? David i see you gave instructions but is there a way to get the SAgui Addon to adopt the new password controls that i see you have in RDP sessions in RDM version 7.1. The SAPgui addon still does not allow the ability to view using Ctrl+Alt+Enter or copy the password to clipboard option let alone use credential repository. If Oki does not come back to the project could the new password standards be implemented in the SAPgui addon through other means?

avatar

Hi,
If he does not respond, we would take care of it and add this.

David Hervieux

avatar

Thank you David this would be great as my company has become more dependant on RDM and to have some password control consistentency through all connection methods would make the RDM application easier to use.

avatar

André is currently in vacation. I will ask him to verify this add-on when he's back

David Hervieux

avatar

Thanks David,
To add to the request could the sap addon enable the "allow copy credentails to clipboard" option, maybe use credential repository and of course the original request is to be able to view the password with the little eyeball icon like other sessions. These options would be greatly appreciated as our company has been doing tedious workarounds like duplicating credentials in DataEntry and trying to maintain consistency between the two but it is creating many arguments with all the users because it requires so many steps to maintain. I will continue to add to this thread so it is not forgotten not to be rudebut i can see how busy you guys must be and it is easy to forget. Thanks in advance.

avatar

Hi,
Sorry for the delay.
Here a new version of the SAP Gui Add-on.
I tried to adapt the previous one of Oki.

Could you do some test and give feedback please.
Thanks!

André Sanscartier

SAPGuiAddOn.zip

avatar

asanscartier,
Thank you i have looked at your update and it looks good how i can now reveal the password with the new button you have added but i did notice also that the Allow copy credentials to clipboard option still does not work. I absolutely love the ability to reveal password in edit session mode but to deploy to the rest of the team it would be better to have the Copy to clipboard features working also so i do not have to allow all users to edit the session to view password and user. Sorry for being so demanding but you spoiled me with all other session abilities i have become accustomed. I hope me replying quickly will allow you to adjust well it is freash in your head. Thank you again for your work.

avatar

Hi,
I fixed the "Allow copy credentials to clipboard" option. :)
Could you try it please ?
Regards

André Sanscartier

SAPGuiAddOn[1].zip

avatar

asanscartier,
You the Man! Initial tests look good and i am exited to roll out. Should i wait and you will add into the official updated release of the SAPGui addon? Nice Job and do you guys have a donation link I really do appreciate your attention and service.
Thanks again,
Spooner

avatar

Hi,
The Add-on should be released soon.
Regards

André Sanscartier

avatar

asanscartier,
I noticed another issue after upgrading to SAPgui Add on 2.0 on RDM Enterprise version 7.03 using MSSQL. After adding new SAPgui add on update i noticed in all the SAP sessions the user name was blanked out on all sessions. Is there a way to prevent this as that would cause a lot of work to replace all the user names in the sessions. Thanks.
Another note is it only effects the user that hs applied the new SAPgui Addon and it does not effect the others that use the same database so it is not deleting the user name from the database it is just not being passed properly from the database to the SAP session. Let me see if i can revert back to old sapgui add on and the user names come back.
edited by Spooner on 9/7/2012
Yep i reverted back to version 1.02 SAPgui Addon and the user names loaded properly from the database so something is not allowing the username stored in the database pass to the username field in the sap sessions when using version 2.0. I got nervous and thought all the usernames were deleted but that is not the case it just cannot load properly from the database.
edited by Spooner on 9/7/2012

avatar

Hi,
A new version (2.0.1.0) of SAP Gui AddOn is now available.
Sorry for any inconvenience.

André Sanscartier

avatar

asanscartier,
Sorry for the run around but it appears that the behavior in Enterprise RDM 7.03 environment all the testing results are different. I tested locally on my pc before introducing to the MSSQL environment and everything worked fine. You have fixed the username missing with update 2.01 in MSSQL environment but now the option to copy to clipboard does not work in MSSQL environment but it worked with local database on my PC. Thank you for helping me through this. I will continue testing to see if there is anything else not working in MSSQL version of RDM.

avatar

Hi,
With SQL Server, I think that it might only be related to the rights. Does it work with an RDP session?

David Hervieux

avatar

Yes it works for RDP sessions but when i try SAP sessions "copy credentials to clibboard" in enterprise it says copied nothing to clipboard.

avatar

Quick question, do you have the version 7.6.1? I know that I have fixed a bug that might (not sure) be related.

David Hervieux

avatar

dhervieux,
No i was using Enterprise RDM 7.03 but i just upgraded to Enterprise 7.6.1 as you suggested and it did fix the issue and now the "Allow copy credentials to clipboard" option works.
Well on the subject is there a way to batch edit this option "Allow to copy credentials to clipboard" ? or should i post that request in another thread and which one. Thank you for your help again.
edited by Spooner on 9/11/2012
I guess i should look before i talk, i found the batch edit to turn on "Allow to copy credentials to clipboard" for multiple sessions.
edited by Spooner on 9/11/2012

avatar

Hello,

Since SAP Logon 730, saplogon.ini file is no longer used, now the entries are in SAPUILandscape.xml file.
Can you adapt this addon to be used with this type of file?

Thank you

avatar

Hello,

This is already on our todo list. We'll push up the priority. If you have an example SAPUILandscape.xml file you can send us (remove all sensitive information beforehand), this could help us test it.

Regards,

Hubert Mireault