cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a SAPGUILandscape.xml for Java from a SAPUILandscape.xml for Windows?

Vlad_Ghitulescu
Participant
0 Kudos

Hey,


I'm using SAPGUI for the Java Environment 7.80rev1 on a MacBook Pro 13" (M3, 2022) running macOS Ventura Version 13.6.4.

Once in while I have to access a system which not exists in the above SAPGUI.
In such a case I contact one of my colleagues working on Windows PC, get the information about this very system and add it manually to my SAPGUI.

Due to the fact that I'm working in a project with a couple of such systems (not existent in the SAPGUI for Java but existent in SAPGUI for Windows) I wonder if there is a way to copy / import ALL systems from the SAPGUI for Windows into the SAPGUI for Java.

After googl-ing the problem I discovered that the information is stored in the files SAPGUILandscape.xml (for SAPGUI for Java) and respectively SAPUILandscape.xml (for SAPGUI for Windows) so I got the XML-file from one of my Windows colleagues and wanted to copy / import the missing informations.

However the two files are completely different:

CleanShot 2024-02-01 at 11.36.22.png

Do you have an idea how to generate a SAPGUILandscape.xml for Java from a SAPUILandscape.xml for Windows?

Thanks!


Regards,
Vlad

robert_straub
Advisor
Advisor
0 Kudos

SAP GUI for Java and SAP GUI for Windows are using the same format.

The file on the right side that the Windows machines are using have an include "file://xdc3191-9964.c-dom19.c-ssi.net/SAPLOGON/ALLSYSTEMS/SAPUILandscapeGlobal.xml" that is ponting to a share, which is normally no good idea when storing a global configuration. A better solution would be to have access to the file via a webserver. Is that possible in your group?

In that case you would enter the URL into the SAP GUI for Java preferences. See the manual for details. 

Accepted Solutions (0)

Answers (3)

Answers (3)

robert_straub
Advisor
Advisor
0 Kudos

First: SAP GUI for Java Help: https://help.sap.com/docs/sap_gui_for_java/e665f2b67dbd4328ab6bd9e029b84581/b5d5ccc16e5b4d488ab40933...

Second: The file include "file://xdc3191-9964.c-dom19.c-ssi.net/SAPLOGON/ALLSYSTEMS/SAPUILandscapeGlobal.xml" is not accessible on your Mac because it is an file share! That is the reason why I asked you if it is possible to make it available on a http server.

BR

Vlad_Ghitulescu
Participant
0 Kudos
Ah, now I understand! Thank again! I'll try to find out who can tell something about http server for the XML-file.
Vlad_Ghitulescu
Participant
0 Kudos

Sorry for the terrible delay, it took a while to find a way to put the file on a http server.

However after finally storing the file on a http server and replacing "file://" with "https://" I've got another error:

2024-03-25 Error on http server.png

With "file://" and the web server there is still the previous error:

2024-03-25 Error - file - web server.png

Vlad_Ghitulescu
Participant
0 Kudos

@robert_straub thanks for your reply! I have a couple of further questions though:

 

> SAP GUI for Java and SAP GUI for Windows are using the same format.

After replacing the content of the SAPGUI...xml with the content of SAPUI...xml I've got direct after restarting the SAP GUI for Java on the Mac this error-message:

CleanShot 2024-03-01 at 13.08.10.png

It references the same file you've also critiqued, so perhaps is this the cause - but nevertheless I couldn't straight use the content of the xml-file from a PC on the Mac.

 

> The file on the right side that the Windows machines are using have an include "file://xdc3191-9964.c-dom19.c-ssi.net/SAPLOGON/ALLSYSTEMS/SAPUILandscapeGlobal.xml" that is ponting to a share, which is normally no good idea when storing a global configuration. A better solution would be to have access to the file via a webserver. Is that possible in your group?

I don't know but I'll try to get this information - not an easy task in a decentralized SAP environment! 😞

 

> In that case you would enter the URL into the SAP GUI for Java preferences. See the manual for details.

Could you please point me to a link re manual? Thanks in advance!

mmaglis
Explorer
0 Kudos

I am successfully using the same UILandscape.xml file on both SAPGUI for Windows and Java on Mac, or Linux OS. SAPGUI for Java 7.80 rev 6.

You can either export/import to/from a local file (see screenshot) or serve it from the same server URL.

Vlad_Ghitulescu
Participant
0 Kudos

That is new for me - thanks @mmaglis!
(funny how I tried to google the solution without looking at the menu-items first! 😉

However it didn't work: I've got a SAPUILandscapeGlobal.xml-file from a PC, imported without any issues via "Import Connections…" menu (*) BUT even after restarting the SAP GUI I couldn't find a specific system (ET5) that it's actually available in the xml-file.

CleanShot 2024-02-29 at 06.10.30.pngCleanShot 2024-02-29 at 06.14.08.png

Any ideas?

You also mentioned that one can "serve it from the same server URL". How does this exactly works? (this time I searched first in the menu-items BEFORE asking 😉 but I still didn't find it! 😉

(*): At least I think so, because I didn't get any confirmation.