ABAP log

November 3, 2008

SAP NetWeaver in the comfort of your home

Filed under: ABAP, SAP — abaplog @ 6:41 pm

I always wanted to try running SAP at home, but my PC was too old to try. I could probably run the very first SAP for Linux (4.6), but I did’t even have disk space to install appropriate Linux version. It needed some very old SuSe version, while I had Ubuntu as my primary OS. Now that’s changed. After getting one of the cheap Toshiba Satellite laptops, I am able to run the latest SAP Basis on this $600 machine.

First I planned to try installing real OpenSuSe and even downloaded almost everything. Strangely, SAP requires a special JDK and the link to it can be found only through SAP OSS system – obviously not 100% free for enthusiasts to try. But there’s much better way.

One of the first things to install on my new laptop was VMware Player, to be able to run Linux inside of a virtual machine, to surf Web sites without risking my primary OS. It’s amazing technology, and it was even more amazing to find that SAP, together with Novell, is offering the latest NetWeaver trial version to be run inside a VM!

It took some time to download everything over my 6 Mbit DSL line, and a couple of hours more to extract the RAR archives. When ready, I started the VM and in less than an hour I had everything running. In short, the steps are: download, unpack, start the OS, start the SAP, request the license and install it – ready. The details are described at SDN:



It definitely helps if you have some experience to Linux or UNIX, but it’s really easy for everyone. My own impressions so far:

I have dual core 1.86 Mhz Intel with 3 GB RAM. I guess that CPU speed is important, but RAM and disk speed are the key. Linux and SAP itself need about 1.5 GB. The VM comes with 1.5 GB preconfigured. This way you can run SAP but with SAPGUI added (it needs about 400 MB RAM), your VM doesn’t run well. I tried to increase VM memory to 2 GB. With no noticeable improvement in performance, my host OS – Vista – was half dead. I believe that having 4 or 6 GM memory will be nice, but disk speed limitations will remain. Guest OS disks, unlike CPU and RAM, are emulated as files in your Windows system and that seems to be a bottleneck. Even if you increase VM memory to 2.5 GB (I think it’s maximum allowed by VM Player), it won’t be enough to cache all SAP data in memory minimizing disk access. Perhaps running with VM Server, which is also free now, can help, but you will never get the best of your hardware, as you would if you ran “real” Linux.

Note: 32-bit Vista supports only 4 GB, and even with 4 GB Windows doesn’t always use all 4. See Microsoft KB 929605.

To improve the performance I tried to put the number of SAP processes down, but it was not successful – I am not a Basis specialist. It has to be pretty easy but those RZ04 and RZ10 transactions didn’t work for me. The good thing, however, is that if anything happens, you can always restore your virtual system by copying or unpacking the original files.

What I decided to do was running SAPGUI on my host OS. You can only get Java version for free (not as OSS download) and it’s really memory hungry. Running it on VM is a waste of resources if I can do that “directly” in Windows. The only problem was to configure the connection to virtual machine. The above mentioned Web log gives some hints at how to do that, but the key for me was peeking at SAPGUI configuration in the VM. Normally you won’t have SAP Logon configuration files that will have SAP gateway information, but luckily, I tried to look at the extended configuration tab in SAP Logon, and the mysterious connection string that I found there worked for me.



  1. Just a quick question and apologies if I missed this, but how long does the trial version last? 30, 60, etc?

    Comment by Nate — November 3, 2008 @ 8:29 pm

  2. The trial is initially for 90 days. They say that some components work only during first 30 days, but offer no details on this. I assume that you can renew the trial license, or get a new one through another SDN account (created with another e-mail).

    Comment by abaplog — November 8, 2008 @ 1:47 am

  3. For what it’s worth, there is also a non-VMWare version. It comes with the basic components and I’ve had no problems tweaking settings, adding work processes, and even getting TMS working! 🙂 I’m in the process of documenting step-by-step on my website on how to tweak the system from start to finish since I decided to start from scratch again, but figured it would be helpful for those without a SAP Basis background so they can get a fully functional system going.

    Comment by entmike — November 17, 2008 @ 3:57 pm

  4. Hi Mike,

    That would be great! The reasons I did not want to try it are:

    – Officially you either need Win2003 or real SUSE Linux. Those are available as trials, of course. Using non-approved version like OpenSUSE or, worse Ubuntu, would be more difficult. I was on Linux for pretty long time and know what effort is involved to get it running as you need.

    – I’d need to repartition my hard drive. I’m not sure if external drive (and booting from it) would work well.

    – Instructions that I found on SDN were very fuzzy about Java runtime that you need. First, you need a special one from IBM. Then, there was some confusion I think that JRE was for 64-bit only and then there were some other tricks mentioned regarding JRE. It seemed to me that you are never sure if it’s going to work in the end.

    – And finally, the main point of VM-based trial is simplicity. You get it in a couple of hours, not days. Guaranteed.

    Comment by abaplog — November 18, 2008 @ 5:05 pm

  5. abaplog,

    I’ve posted a very lazy how-to at my blog ( http://entmike.com/?p=19 ). It has a link referring to the ABAP Netweaver 7.01 trial. Drop me a comment/question if you need any help or have questions, will be glad to answer them. Also the version I am using is ABAP only, and reading back over your post makes it sound like you are more interested in the Java stack, which may not be very much help. Either way, let me know if I can help in any way.

    Comment by entmike — November 20, 2008 @ 2:19 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: