In this blog, we explain how to extract the SAP HANA client on macOS. Files on SAP Software Downloads have the SAR extension. This provides a few challenges on the latest macOS versions but nothing we can’t handle. Any good? Post a comment, share on social media, and/or give a like. That’s how the community works. Thanks!. |
The new archiving tool SAPCAR
Installation Guide - GUI 7.50 Compatible operating systems: Windows and MAC OS 1 Page Contents Introduction:. Study Resources. Main Menu; by School; by Textbook; by Literature Title. Study Guides Infographics. Expert Tutors Contributing. 6 SAP GUI 7.50 for MAC OS. Configure Sap Gui For Mac. Before you can configure and use the SAP GUI, you need to download the software from the SAP Marketplace as per steps below. Step 6) Choose SAP GUI for your OS. In this demo, we will select Windows-Step 7) Choose SAP GUI 7.30 Core which is the latest one. Download SAPGUI for Mac - Cross-platform and easy to use GUI client for the SAP R/3 server designed to enable its users to effortlessly access SAP functionality within SAP based apps. SAP Secure Client has to start prior SAP Gui for Java. If not, completely close SAP Gui for Java and reopen in after SAP Secure Client is already running Known Issues: additional SAP notes on the JAVA Gui 2511185 - SAP GUI for Java: Requirements for Release 7.
Older readers might remember when SAP introduced a new archiving tool to replace the previous CAR (Compressed ARchive) utility some two decades ago. The tools were not compatible, so for SAPCAR the extension SAR was chosen.
- 212876 – The new archiving tool SAPCAR (2000)
SAPCAR only exists as command line tool, there is no graphical version, and the syntax resembles that of the UNIX TAR utility with -x for extract, -v for verbose (show me), and -f for file, to list a few common ones.
Tar was developed to bundle a number of files into a single Tape ARchive file (but works on disk too). Tar does not compress files and so it is often used together with zip to create a zipped tarball, which somewhat resembles our SAR files.
As Linux and macOS are UNIX descendants, we find tar on these operating systems as well.
SAP Service Marketplace is being retired
To download SAP software, we need to navigate to Software Downloads on the SAP ONE Support Launchpad. This used to be the Software Download Center (SWDC) on the SAP Service Marketplace (SMP) but that was decommissioned in 2018. You might still find references to SWDC or SMP as not everybody read the blog post yet
- SAP Service Marketplace is being retired (2018)
Or maybe because the shortcut still works
IMDB_CLIENT20
From Software Downloads, we can download the in-memory database SAP HANA client 2.0. There is one for Linux, UNIX (several versions), Microsoft Windows, and macOS.
- File type: SAR
- Operating system: MACOS X 64-BIT
What version do you need? Always pick the latest as there is a “single public release” strategy which “removes ambiguity about which version to install, brings the benefits of new performance or stability improvements to all customers”.
SAPCAR 7.21
There is a SAPCAR utility for most operating systems and this includes (as of 7.21) macOS.
- File type: EXE
- Operating system: MACOS X 64-BIT
Because Microsoft Windows applications are not supported on macOS
From the Windows world we have learned that we can double-click executable files (EXE) to execute. Doing so, will return a friendly message that Microsoft Windows applications are not supported on macOS.
The developer cannot be verified
Because of the EXE extension, macOS assumes it is a Windows binary. When we open Terminal and do a file check with the file command, this confirms it is a Mach-O 64-bit executable: perfectly fine.
Executing the file however returns permission denied because the download comes with only RW permissions for the current user. This is easy to fix with a chmod u+x.
At this stage, macOS protection kicks in to as the file is unsigned and might as well be malware. Move to Bin? No. Cancel.
Allow Anyway
Sap Gui For Java Mac Os
If you agree that SAP software can be trusted, open System Preferences > Security & Privacy and select Allow Anyway
Are you sure you want to open it?
Run the SAPCAR command again and select Open to allow.
Usage
Just running the command returns usage. To extract files from an archive:
As the version number and the .EXE file extension serve no particular purpose, let’s rename the file and, while at it, move it to the bin directory so we do not have to specify current directory when not in the path (./). As we move the file to a protected directory this requires superuser (su) permission:
Long Story, Short Story
For those that prefer a shortcut, here are the commands that rename the file, set the execution bit, the proper group, and remove the quarantine property. Thanks to Witalij Rudnicki for the last one.
Install the SAP HANA Client
Tools On-Demand
If you prefer, you can also download the SAP HANA client from the SAP Development Tools website: tools.hana.ondemand.com (for the story behind the URL, see At Your Service: SAP HANA in the Cloud).
For macOS, this download comes as a zipped tarball (.tar,gz).
To extract, run the command
Or in case you have configured macOS to automatically extract zipped files, with
Common Crypto Lib
However, although the release number is the same (2.4), only the client from Software Downloads contains the SAP cryptography library Common Crypto Lib (CCL).
You will need this to connect with your client to the SAP HANA Service, for example. See
Post a comment, Share on Social Media, Like
Any good? Post a comment, share on social media, and/or give a like. That’s how the community works. Thanks.
If you would like to receive updates, connect with me on
- LinkedIn > linkedin.com/in/dvankempen
- Twitter > @dvankempen
Best,
Denys van Kempen
Hello Anton,
did you find any documentation saying that these transactions need TEMP set in order to make opening downloaded files work?
Sap Gui For Mac Os 10.13
Neither on Linux nor on OS X, TEMP can be expected to be set. To request a temp directory, CL_GUI_FRONTEND_SERVICES provides GET_TEMP_DIRECTORY() and the SAP GUIs can return an existing path.
Sap Gui For Mac Os
To me, it looks like it should not be the user’s task to make this work, but the ABAP code should be changed to make this work out of the box. You might want to consider opening a support message requesting to fix this in the ABAP code of those transactions.
Best regards
Sap Gui For Mac Os 10.7
Rolf-Martin