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!. |
- Follow the instructions on the screen to install the SAP HANA HDB client. Go to the directory where you wish to unpack the hdbclientmac.tgz files: cd Unpack the file: sudo tar -xvzf /hdbclientmac.tgz The directory HDBCLIENTMACOS is created.
- It provides an environment for HANA Administration, HANA Information Modeling and Data Provisioning in HANA database. SAP HANA Studio can be used on following platforms −. Microsoft Windows 32 and 64 bit versions of: Windows XP, Windows Vista, Windows 7. SUSE Linux Enterprise Server SLES11: x86 64 bit. Mac OS, HANA studio client is not available.
- 64bit, 32bit, Data Link Properties, JBDC, KBA, HAN-DB-MDX, SAP HANA MDX Engine/Excel Client, How To About this page This is a preview of a SAP Knowledge Base Article.
- Extracting SAP HANA Client Software 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.
Match HANA Version with Client version. Hi, can anyone help me matching versions? HANA: CLIENT: So my guess would be that Revision 120 matches SP12?
The new archiving tool SAPCAR
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
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
In the last few years, SAP has come out with various methods to speed up the configuration process for large, complex, corporate operations. The configuration that was delivered was the mainstay for several years. It typically (but not always) involved basic customization from client 000 with SAP Solution Manager and some other products as exceptions. Then came the Best Practices methodology which allowed some configuration to be further modified in the delivery clients. Over the last several years, Best Practices content and Rapid development have evolved and increased tremendously. Recently, SAP has also introduced the model company concept where the scope of Best Practices is focused on specific industries and based on a Model Company concept. This is a pre-packaged SAP Consulting service from SAP and contains some limitations in scope and time (typically, Model Company lags the Best Practice by about a year). For a review of the differences, check out this very useful blog from SAP’s Amin Hoque.
A merged client is the next leap of this evolving standard: where a customer cannot utilize a model company and does not want to lose the delivered customization in 000 by implementing Best Practice alone, they can now implement a Merged Client—where they can get the best of both worlds: all Best Practices for full scope, multiple languages and all client 000 reference settings. The work is complex and there are numerous blogs available by experts like SAP’s Mahesh Sardesai that can be useful.
So how do all the products and offerings and the step by step guides from various SAP experts translate in real life? In this blog, we shall walk through an industrial scenario where we implemented Merged Client for an aerospace customer with five languages and 11 countries. As you can see below, the work was complex and SAP lays out scenarios where a merged client is useful. Typically, if the “scope is large and isn’t covered by Best Practices content, [we should] choose a merged client”.
This was borne out by our own experience where we have already estimated that the merged client will save us about four months’ worth of time in four scope areas, over using Best Practices alone: Project Systems, Complex Final Assembly, Grouping, Pegging & Distribution, Government Contracting
The steps that we followed to set up the Merged Client are detailed below. In our efforts, we were greatly helped and guided by SAP’s Hanuma Rupakula without whose help we could not have been successful:
- The first step is to install S4 HANA. In our case, it was S4 HANA 1909 FP3 STE on the Cloud
- Set up Languages in addition to EN and DE using transaction code SMLT Do NOT run supplementation in client 000 because it conflicts with BP Activation
- The reference note to start with was Note 2948925 and check and implement Note 2921856. (Not required in FP3)
- Next, download the latest business content for FP3, extract it and import to client 000 using STMS:
Then continue with these steps:
- Activate Business Functions in 000 per this link in the Admin Guide using txn SFW5
- Check table /FTI/T_NOCLN000 and make sure that the client number 100 and 600 don’t exist in the table.
- Create an entry for Client 100 in SCC4 with currency as blank
- Using txn SCCL only, not SCCLN, execute client copy using profile SAP_CUST (client copy from 000 to 100)
- Log in to client 100 as SAP_ALL and execute BP activation using txn /n/SMB/BBI for the Solution Builder
- Import the 11 countries one by one:
Select Canada and similarly, all other countries in our list:
You should get a successful message after a few minutes:
Click the Back key to confirm that Canada has been imported. Rename the solution for clarity as needed:
- Similarly do the 10 other countries.
- Next, do EWM pre-activation steps (recall that we have chosen the full scope for our work)
- Do the next set of pre-activations based on Note 2839315. This is a critical Note since it references attachments that must be followed. The highlighted line below shows the document that was used in our current effort:
- Now, execute the next pre-step based on Note 2839315:
For US: delete UTX2 and UTX3 in transaction code OVK1
For CA: delete CTX2 and CTX3
Nothing else should be deleted (India, for example, had four tax category entries which should be left untouched)
Similarly, delete entries for View V_TTXJ in SM30 for US and CA:
- Set User Parameters in SU01 for each user doing the activation. Enter parameter enter ERB value as A000 and ETP as 2.
Note: If you have any other existing parameters, do not delete them.
- In SPRO, navigate to the Logistics Execution –> Shipping –> Deliveries -> Proof of Delivery -> Define Reasons for Quantity Differences. Delete the two existing entries
- Now execute the Business Partners Number range adjustments:
In txn SNRO, choose Internal Editing for DEBITOR:
Click on Change Intervals:
Delete the current contents and add the entry shown below:
Repeat the same for Object KREDITOR:
- Next from SPRO, choose Financial Accounting –> Accounts Receivable and Payable –> Customer Accounts –> Master Data à Preparations for Creating Customer Master Data –> Assign Number Ranges to Customer Account Groups.
Set all values from 01, XX etc to BP:
- Similarly, for Vendors, go to SPRO and then choose Financial Accounting –> Accounts Receivable and Payable –> Vendor Accounts –> Master Data –> Preparations for Creating Vendor Master Data –> Assign Number Ranges to Vendor Account Groups. One of the original entries is shown for representative purposes only:
- In SPRO, go to Cross Application Components –> Master Data Synchronization –> Customer/Vendor Integration –> Business Partner Settings –> Settings for Vendor Integration –> Field Assignment for Vendor Integration –> Assign Keys –> Define Number Assignment for Direction BP to Vendor. For all listed records, de-select the Same Nos. checkbox.
You are now ready to start your activation!
- Check the Pre-Activation settings one more time: Prerequisite Settings for Activation – SAP Help Portal
- In txn /n/SMB/BBI, set Country US as Favorite:
- Now click on Implementation Assistant:
- Copy Solution from BP_OP_ENTPR_S4HANA1909_USV6 to OURCOMPANY_US:
- Import Installation Data separately for each country Custom solution (like OURCOMPANY_US).
- Select “Implementation Assistant” and “Activate” to start the process
- Choose Enter on the Document Lines: Display messages pop up.
- Choose Enter on the next popup coming up on the same step to continue with the activation:
- Choose Enter on the below message.
- Choose Yes on the warning dialog box to proceed with the activation.
- Choose Back button and the activation will continue with the same screen for some time.
Similarly moving on to Canada, copying the solution and adding the installation data. We then activated the following countries:
- For GB we got this error. Logged out, logged in again and repeated and then we were fine. Then activated RU:
- With Japan, we got several errors:
1UJ (JP) Activity : SIMG_CFORFBT059FBH failed for customer in 1909 FPS3
Drilling down on the magnifying glass we get the following:
- To address this error, we opened an Incident with SAP and they created specific Notes 2974114 and 2978647 for us to apply, which fixed the error:
All the countries are now done for Client 100
- Now execute a client copy done from 100 to 600 with profile SAP_ALL
- To add Demo Data in client 600 (unit test client), 0do the following:
- Log in to client 600
- Execute transaction /n/SMB/BBI
- Set a country as Favorite. Start with the US:
- Go to Solutions/Procedure/Start a Procedure:
- Select option “Keep Only Demo Data” and Enter:
Click OK:
- Add Installation Data from Reference Content:
- Select country US:
- After a few minutes of processing, you will get this message:
- Next, click on Implementation Assistant:
Sap Hana Python Client Api For Machine Learning Algorithms
- Activate:
- Ensure that With Demo Data is selected this time:
- In some EWM areas, we can get an error like this (blue circle below). The Detail Log can be accessed by clicking the icon circled in red:
- Drilling down the log, we see this. Drilling down on IMPORT, highlighted in yellow, we will see the Plant # (1710 for US):
- This process should be run again in Foreground (FG):
- Click enter to proceed, enter 1710 for Plant if needed and complete. Then set OK:
- The next error has the specific System Admin/Security fix as well so just implement it as instructed:
- Go to SPRO, search for Product Compliance –> Foundation for Product Compliance –> Specify Responsible Units and enter ALL for Authorization Group:
- The proceed to Completion:
- In several countries like Singapore, we get this error, which is purely informative: “QM1 is already available” so this can be ignored:
- Mark as Ignore and proceed similarly with other countries:
Your setup and activation of the merged client is now done! However, a few Post-Activation steps need to be completed:
- Complete Post-Activation steps as detailed in the Admin Guide for your area
- Review any manual rework that may be needed from the Admin Guide.
- Delete the Metadata Cache by going to SPRO/SAP reference IMG –> SAP NetWeaver –> SAP Gateway –> Service Enablement –> Backend OData Channel –> Support Utilities –> Clear Cache –> Execute:
Conclusion: we now have the best of both worlds: Best Practices in scope areas where they exist, and 000 configuration where they don’t.
Acknowledgements to the following, without whom we would not have been successful:
Hanuma Rupakula, Director of Development, SAP Labs
SAP CCO’s Office for their support, especially Mike Piazza and Ian McCallum
Raymond Langevin, Program Director, delaware North America
Karen Moss, Solution Architect, delaware North America
Sap Hana Client Mac Download
Raja Gopalan holds multiple SAP and technology certifications and is the Technical Architect at Delaware Consulting, a fast growing, global company that delivers advanced solutions and services to organizations striving for a sustainable, competitive advantage. With over 50 ECC to S/4 migrations, delaware is one of the most experienced SAP partners, globally.