cancel
Showing results for 
Search instead for 
Did you mean: 

Does SAP GUI for Mac 7.50 rev 8 support network location for SAPUILandscape file?

prsng9
Discoverer
0 Kudos

We have the SAPUILandscape file available for our windows clients on a network share which teh GUI accesses using a path //abc.com/aabbbcc/SAPUILandscape.xml

However, for the mac users, we have been unable to configure it using smb://abc.com/aabbbcc/SAPUILandscape.xml

Macs in question can access network shares using smb without the need to input passwords, so, SSO is working for sure, however, network access of that file does not work on Macs.

Any help in this regard will be appreciated.

gavin2
Discoverer
0 Kudos

Hi Gupta,

I'm with SAP GUI for Java 7.50 rev9, when I use local file (file:///Users/username/Downloads/SAPUI4SNCLandscape.xml), I got below error.

There has been an uncaught AccessControlException: access denied ("java.io.FilePermission" "/Users/username/Downloads/SAPUI4SNCLandscape.xml" "read")

=============================================================

Request environment

=============================================================

CS: /Applications/SAP%20Clients/SAPGUI%207.50rev9/SAPGUI%207.50rev9.app/Contents/Resources/Java/platincore9S.jar

PL: com.sap.platin.base.security.SAPGUIPolicy

PR: permission java.io.FilePermission "/Users/username/Downloads/SAPUI4SNCLandscape.xml", "read";

PR: canonical file name: /Users/username/Downloads/SAPUI4SNCLandscape.xml

=============================================================

Temporary permissions

=============================================================

java.security.AccessControlException: access denied ("java.io.FilePermission" "/Users/username/Library/SAPUI4SNCLandscape.xml" "read")

at: java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)

at: java.base/java.security.AccessController.checkPermission(AccessController.java:897)

at: java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)

at: java.base/java.lang.SecurityManager.checkRead(SecurityManager.java:661)

at: java.base/java.io.File.exists(File.java:817)

do you have issue when using local file?

Best Regards

Gavin

Accepted Solutions (0)

Answers (5)

Answers (5)

RMW
Product and Topic Expert
Product and Topic Expert

Hello Prasoon,

according to chapter "3.4.1 Providing Connection" of the manual:

Depending on the location of the configuration file, you can enter either a full pathname (for a local file) or an URL (for a file located on an intranet web server).

Latter means http or https URL.

smb:// is not supported. What might work is to have the share already mounted and use something like file:/Volumes/whereitismounted/configfile.txt

But this assumes it is already mounted and is expected to be not really reliable.

Best regards

Rolf-Martin

prsng9
Discoverer
0 Kudos

Thank you Rolf for your reply.
We have tried http and that works. With https, that is authenticated over kerberos like a sharepoint site, we have had trouble with Java client performing the authentication. Is there a work around to get Java client here to use the SAP Secure Client tokens and authenticate to the https URL as well?

andresc2
Explorer
0 Kudos

i was never able to make it work via smb to connect to a network drive.The only way that i was able to make it work was to use an IIS server with no authentication, that is the only way to get around the authentication.

sanju_ms
Active Contributor
0 Kudos

Hi experts,

me too getting the same error.

permission java.io.FilePermission "/Applications/SAP Clients/SAPGUI 7.50rev3/"/Users/sanjusivan/Downloads%f" %SCRIPT%", "read,write"; permission java.io.FilePermission "/Applications/SAP Clients/SAPGUI 7.50rev3/"/Users/sanjusivan/Downloads%f" %SCRIPT%/*", "read,write,delete"; permission java.io.FilePermission "/Applications/SAP Clients/SAPGUI 7.50rev3/"/Users/sanjusivan/Downloads%f" %SCRIPT%/-", "read,write,delete";

regards,

Sanju

gavin2
Discoverer
0 Kudos

For https access to the SAP landscape file, there is a workaround. Now SAP GUI has its own JRE, you can use keytool command(SAPGUI 7.50rev9/Contents/Resources/jre/Contents/Home/bin/keytool) to import the https related certificate as JRE trusted certificate.

It looks like the GUI local JRE cause authority/certificate issues.

Sriram2009
Active Contributor
0 Kudos

Hi Gupta.

I thing MAC supported SAPGUI 7.50 for Java on Mac. I am not sure have you tried coping the xml file in local mac and then try for GUI?

Regards

Sriram

prsng9
Discoverer
0 Kudos

Copying the xml file locally works but I am looking for a solution involving network share for that file because that is how SAP BASIS teams update systems and publish that file currently for use by Windows machines.