Skip to Content

sapgui 7.40: How can I migrate saplogon.ini to new SAPUILandscape.xml file?

I had deleted my previous installation of sapgui 7.30. The saplogon.ini files remained in ...appdata\Roaming\SAP\Common

I now installed first 7.40 core version along with NWBC and then immediately patched SAPGUI to patch 4.

PROBLEM: When starting the new 7.40 saplogon, there are no logon entries.

many OSS notes (example 2075150 and 2075073) and this blog 'Announcing SAP GUI for Windows 7.40 by Melanie Reinwarth' http://scn.sap.com/community/gui/blog/2014/10/01/new-features-in-sap-gui-740#start=150 say that old saplogon.ini file will be migrated automatically to new landscape files SAPUILandscape.xml and SAPUILandscapeGlobal.xml upon installation of sapgui7.40.

Well, the migration from ini to xml files did not happened for me upon installation.

I then tried these steps:

1) close saplogon and deleted the 2 new landscape files in hope that when I start saplogon again it will perform the migration from ini-file to xml-files. NO help, the files were recreated but without my former saplogon.ini entries.

2) I read OSS note 2075073 where it says that when entering a command parameters /INI_FILE and /LSXML_FILE for saplogon.exe it will then create new xml files by migration the old ini-file. I used this syntax in my Windows 7 shortcut on desktop: "C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exe" /INI_FILE=C:\TEMP\saplogon.ini /LSXML_FILE=C:\TEMP\SAPUILandscape.xml. No help. It created new landscape files into C:\TEMP but they not contained the entries in old saplogon.ini and apparently saplogon was empty.

So what are my possibilities to migrate old saplogon.ini into new landscape files after the installation?

EDIT: I already read this blog http://scn.sap.com/thread/3678438 that deals with same issue, but the NWBC trick 'Redo migration by sap gui tool' did not worked. In then tried 'Redo migration by NWBW', which in fact did some migration to XLM file, but the file is not working in SAPLOGON (displays only two entries) and in NWBW although it will show the rest of folder entries, the system connections are not visible. Anyway, SAPLOGON is the one I use, not NWBC.

The migration utility would be helpful in companies where you get a fresh laptop and you need to install sapgui yourself and want to use your old saplogon.ini or get saplogon.ini from your colleague.

BTW: how can migrate my old SapLogonTree.xml as well, all my customer groupings are now lost.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 30, 2016 at 03:50 PM

    Hi All,

    I have just experienced the same issue and was able to resolve it using the guidance on this thread.

    In my case the problem was that my SapLogonTree.xml file was sitting under a different folder to where the GUI installation file was looking, and so it was not able to regenerate the entries.

    My original SapLogonTree.xml file was here:

    • C:\Users\Default\AppData\Roaming\SAP\Common

    But the SAP GUI Installer was apparently looking here:

    • C:\Users\<windows user>\AppData\Roaming\SAP\Common

    Solution

    1. I deleted the SAPUILandscape.xml and SAPUILandscapeGlobal.xml files,
    2. copied the SapLogonTree.xml file to the C:\Users\<windows user>\AppData\Roaming\SAP\Common location and then
    3. reran SAP Logon Pad ... and all my connections came alive!

    I still had issues with connectivity to systems that had a router string, but I applied note 2077230 and it worked. Note you have to change the router string in the <Routers>…</Routers> tag (for me this was at the end of the file) – I deleted the trailing /H/

    Hope this helps others who pass this way.


    Regards,

    Andrew

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2015 at 12:32 PM

    Hello Kimmo

    I can't help but we are sharing the same experience ...

    I nearly learned the same lessons, read the same notes, sapgui landscape config guide, sap setup guide. I'm lookin' on 1000s managed clients and 1000s unmanaged clients and don't want things happen 'black boxed automatically on the first run'.

    What if automatically fails - we are ending up with workers who can't work.

    And it will raise an incident storm on Monday morning or Friday afternoon...

    Going back to 7.30 is time consuming, expensive, ...

    Fallback / running 7.40 plus 'pre-7.40-saplogon.ini mode' is not possible by design.

    I want to understand and control the migration process!

    ... and if necessary redo

    ... and to proof it in advance if necessary with every single user (automatically)

    So what is really triggering the process of automatic migration?

    (1) as mentioned above ... doesn't work for me

    (2) as mentioned above doesn't work for me

    - Did I miss something to read? ... what?

    - Dear SAP can you please explain how 'automatically' really works!

    - And how can I redo / correcting things if something was going wrong?

    - What are the log entries tellling?

    - What's about the registry - any settings to trigger / redo a migration?

    For me too many unanswered questions.

    Running 7.30 forever ... will not help ... time will come ... has come

    Claus-Dieter

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Going ahead ... after setupall.exe and sapguisetup.exe from installation server

      Having a look at SapGUINWBCShared.xml is giving the answer.

      Function GetLandscapeKey()

      ....

      strRegValue = "HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPLogon\Landscapeformatenabled

      ...

      After sapguisetup the keyvalue is '0'

      After setupall the keyvalue is '1'

      running sapguisetup and setting ... \Landscapeformatenabled=1 triggers the migration from *.ini to 'landscape', that's the secret behind 'automatically'

      and the nice effect ... (re) setting ...\Landscapeformatenabled=0 puts the old *.ini in place again.

      I haven't checked for side effects and this for sure is not the SAP recommended way

      Will it be possible to have NWBC and SAPGUI installed with running NWBC on landscape.xml and SAPGUI on saplogon.ini?

      Yes it seems to work - but only news from the lab - no guarantees

      ... just (re)set ... ...\landscapeformatenabled=0

      ---------------------

      After crosschecking the information found so far on some real life systems ...

      I'm in a way disappointed ...

      No 100% solution

      some installations dont' care about the ...\landscapeformatenbled="0/1" setting, migration is taking place ending in an empty landscape.xml file ...

      Message was edited by: Claus-Dieter Henning

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2015 at 01:21 PM

    Hello Kimmo,

    I have SAPGUI 740 Patch 4 Hotfix 1 and NWBC5.0 Patch 7.

    In the folder %appdata%\SAP\Common you must have two files:

    saplogon.ini and SapLogonTree.xml. When you start saplogon.exe the SAPUILandscape.xml will

    be created. If you want to create the SAPUILandscape.xml into an other folder use the

    parameter /LSXML_FILE=<Path>\SAPUILandscape.xml . I hope that helps.

    PS: The file SAPUILandscapeGlobal.xml also will be created and depends of the content from the file "services".

    Message was edited by: Günther Heinrich

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 25, 2016 at 09:15 AM

    Dear Experts,

    After I installed GUI 740 in my laptop (wind 10 os), i went to migrate the saplogon.ini files from other system to my laptop.

    but there is no saplogon.ini files shown in the default folder,

    so how could i replace the configuration file. there is only one .xml file is showing, that which i created manually on the pad.

    is there anyway to get my old configurations back by replacing.

    i hope u guys will find a solution.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 10, 2016 at 03:14 AM

    You may also follow,

    SAPUILandscapeGlobal.xml Entries for NWBC and SAP GUI

    Thanks,

    Kaushik

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.