Skip to Content

For those of you who have chosen to advance your SAP skills by
having your own personal SAP server on your home PC or laptop, here are
a couple of tips that might make the ride a little smoother for you…

I am going to focus on Netweaver 7.01 ABAP Trial installed on
Windows Vista Ultimate – My PC has a dual core 3Ghz processor with 2Gb
RAM.


Virtual Memory


The first thing I did was increase my virtual memory allocation to
between 3 and 4Gb – This will make sure that if you happen to run out
of physical memory, the OS will overflow to the page file and use your
hard drive as a virtual source for memory. If this happens, it will
drastically reduce the performance of your system, but at least it
doesn’t have to stop working.

  • Right click on “Computer”
  • Click on Properties
  • Click on “Advanced System Settings” on the left
  • Click on the “Advanced” tab
  • Under the “Performance” section, click the “Settings…” button
  • Click the “Advanced” tab
  • Under the “Virtual Memory” section click the “Change…” button
  • Make sure to deselect “Aromatically manage paging file size for all drives”
  • Select the volume that SAP is or will be installed on
  • Select the “Custom Size” option
  • Set the “Initial Size” as 3000Mb or bigger
  • Set the “Maximum Size” to at least 4000Mb
  • Save your changes and restart your machine for the changes to take affect.


Profile Parameters


Profile parameters are technical settings to do with how the SAP
system runs. By default you cannot change these profile parameters from
within SAP – You actually have to use a text editor to edit the profile
parameter files directly. This can get a bit tedious, especially when
you are playing around with the parameter values.

  1. Go to transaction RZ10
  2. Click on Utilities->Import Profiles->Of Active Users
  3. You will see a lot of red – Don’t worry about this. Even though
    this is a Netweaver Trial, the parameter checks are for large scale
    enterprise servers, so we can just ignore most of these errors.
  4. Click back button.
  5. Click the save button
  6. If asked to activate the profile, say yes.


Increase Number of Dialog & Background Processes


Compile Programs


Every program in SAP needs to be compiled before it can be run for
the first time – After first installing Netweaver, it can become quite
a headache watching every transaction you go into compile first. As
pointed out by Mike ,
it would be a great idea to have these programs all compiled for you in
a batch job which is run while you are sleeping one night… Remember
that when executing a mass compile action, you ill need sufficient disk
space for the operation – Do not do this if you are already short on
disk space!

  1. Go to transaction SGEN
  2. Select the option to “Generate All Objects of Selected Software Components”
  3. Select the continue button
  4. Now select the software components that you want to generate – If you have enough disk space, I would suggest selecting them all
  5. Click the continue button
  6. Now there is the option for parallel processing, but you will only have one application server, so just click Continue
  7. After a while you will be shown options to schedule a background
    job to do all the work – Either start immediately, or schedule for a
    convenient time
  8. In my system, there were 62340 objects that needed to be generated.
    Note that the background job seems to use multiple dialog processes to
    carry out the work – Because of this, it would be a good idea to
    increase the number of dialog work processes before starting this.

If anything goes wrong, you have the option to regenerate the
previous loads in transaction SGEN. Remember that this will take some
time, so let it run overnight while you don’t need the machine… [Edit
– My system is set up with 2 background processes and 4 dialog
processes. I ran SGEN for all software components and it took a total
of 2 days 2 hours and 40 minutes to complete, and used about 5.2Gb of
hard disk space]


Create a New Client


I like to create my own new client for development – some people may
want to have multiple clients. For example, you may want client 100 for
development and client 200 for customizing.

When you create a new client is SAP, there are obviously no user
accounts set up in that client. The only way to log into the client for
the first time is to use the SAP* username. By default in version 7.01
of the Netweaver Trial, this option is disabled, so this will not work.
You have to edit the profile parameters to enable this – Without making
this change you will not be able to create a new client.

You need to first create a new client, then do a client copy so that
the client becomes usable. Finally you will either copy user accounts
into the client, or create new user accounts.


SAP* Login


Logical System


Create Client


Now we need to create a new client. You can log in as BCUSER or DDIC on client 001.

  1. Go to transaction SCC4
  2. Click the ‘Change” icon
  3. Information popup appears telling you that this is a cross client table. Click the tick.
  4. Click the New Entries button
  5. Enter a client number and description
  6. Enter the city
  7. Select the logical system
  8. Choose your currency
  9. Select the client role – This would only really need to be “test” or “Customizing”
  10. Make sure to choose “Automatic Recording of Changes” if you want to use the transport system
  11. Select “Changes to repository and cross client Customizing Allowed”
  12. Select “Protection level 0:No restriction”
  13. Save your changes.


Client Copy


Now that you have created a new client, we need to do a client copy
from client 000 – This will copy all basic data that is required to use
the client.

  1. Log into the new client with username SAP* and password PASS
  2. Go to transaction SCCL
  3. You will notice that the target client is set to the client that you are logged into – You can’t change this.
  4. It is recommended by SAP to use the SAP_CUST profile. You should
    not use other profiles like SAP_ALL, since there is a lot of default
    config in client 000 which is only accessed if it does not already
    exist in the client that you are in. What this means, is that if you
    have not set up configuration for something important int the client
    that you are in, SAP will fetch default values from client 000. You can
    then override the default values by simply maintaining in the said
    client. If you copy all the default stuff to your new client, you will
    prevent yourself from benefiting from any change in default config in
    the future which is introduced by an upgrade or support pack.
  5. Select source client 000
  6. You may want to run a test first to see that it will work – This should only take a few minutes.
  7. Once ready, run without test mode selected, and make sure to “Schedule as Background Job”
  8. Select the “immediately” option and then select Schedule Job
  9. You can then view the status and result logs of the client copy by going into transaction SCC3.
  10. Once the copy is complete, you may want to copy user profiles from
    client 001 by starting a new client copy, but with profile SAP_USER,
    source client 001.


Disable FQDN Check


(This was taken from entmike.com )

This disables the system from caring what domain name your web
applications were accessed from.  In other words, since the trial
version installs on localhost, trying to share a link to a web app to
your friend using your internet IP address does not necessarily fly. 
If you have your own domain name mapped to your IP address, then maybe
this is not necessary, but let’s just remove the check altogether.  (Do
not do this in an actual workplace environment!)

  1. Go to transaction SE24 and enter CX_FQDN for Object type and click Display.
  2. Double-click on the CHECK method under the Methods tab.
  3. Click Method -> Enhance.
  4. Click Edit -> Enhancement Operations -> Show Implicit Enhancement Options
  5. Position your cursor on line 2 which should have a long line of ” marks.
  6. Click Edit -> Enhancement Operations -> Create Enhancement
  7. Click the Code button in the ‘Choose Enhancement Mode’ dialog box.
  8. You will be prompted to ‘Select or Create Enhancement Implementation’.  Click the Create Implementation button at the bottom.
  9. Enter Z_CHANGE_CX_FQDN as the name of the Enhancement
    Implementation.  (You can name it whatever you want, but it has to
    start with the letter ‘Z’).
  10. Give a meaningful name for this enhancement (e.g. ‘I don’t know what I’m doing’, etc)
  11. For the ‘Composite Enhancement Implementation’, enter Z_CEI (or
    anything else you want that starts with a ‘Z’).  Then click the
    Checkmark.
  12. You will be prompted to ‘Create Object Directory Entry’.  Just click ‘Local Object’.
  13. Highlight your new Enhancement Implementation you just made in the dialog window and click the checkmark.
  14. You will notice in your editor window a section similar to below:

    METHOD check.
    """"""""""""""$"$SE:(1) Class CX_FQDN, Method CHECK, Start       A

$$-Start:   9999–


$$<br /><br />ENHANCEMENT 1 ZMIKE_ENHANCE.    “inactive version<br /><br />ENDENHANCEMENT.<br />$*$-End:   9999


$$

    1. We will be adding one line of code (line 5).  Delete the * and type the word EXIT.  (Include the period).
    2. Click the activate button.  (7th button on the toolbar, looks like a flashlight/matchstick).
    3. Click the checkmark in the dialog pop-up you get.
    4. h3. Series

[Part 1 | Part 1 – Netweaver 7.01 ABAP Trial Tips] gives general tips for running SAP Netweaver Trial

[Part 2 | Part 2 – Netweaver Trial Remote Access] tells you how to access your Netweaver trial at home from anywhere

[Part 3 | Part 3 – Enable Transport System on Netweaver 7.01 Trial] talks about how to enable the transport system in Netweaver 7.01

[Part 4 | Part 4 – Configure the Workflow Engine in Netweaver Trial 7.01] shows how to set up the workflow engine

To report this post you need to login first.

21 Comments

You must be Logged on to comment or reply to a post.

  1. Former Member
    Hi David,
    Thanks for these tips. These are very helpful. I feel 1st(Virtual Memory), 3rd(Dialog&Background processing) and 4th(Compile programs) tips must be followed.

    Thanks,
    Praveen Jakka.

    (0) 
  2. Former Member
    Hello There,

    While trying to install this trial software, I got stuck at step 2: “Define parameters”. The install manager promted me to enter JRE directory. I’ve tried to suppy directory name many times but it kept rejecting.

    David, Would you please she some light on this for me ? Your help is greatly appreaciated.

    Best regard.

    Amy639

    (0) 
    1. Former Member Post author
      Amy, if you haven’t already, you need to install Java Runtime Environment 1.4.2 – Do not use a newer version. Note that you can have multiple versions on your computer – You just need to point the installation to the correct one. Go to http://java.sun.com/j2se/1.4.2/download.html to get version 1.4.2

      When installing, take note of the location it gets installed (probably something like C:\Program Files\Java\j2re1.4.2_19\) – Then once done, you can start the SAP installation again and point to that location.

      Hope that helps…

      (0) 
      1. Former Member
        Hi David,

        Sorry to get back to you late. Actually, I was on vacation – Saigon.

        I’ll follow your advice. It makes a whole lot of sense, pretty likely it’ll work.

        Best regard,

        Amy639

        (0) 
      2. Former Member
        Hello David,

        I went to //java.sun.com/j2se/1.4.2/download and tried to download the correct version 1.4.2 But after installing the software, apparently I got the wrong version since it created the directory  c:\program files \java\jre1.6.0_01.

        I came back to the sun website and check again. Only one (among the listed softwares) that sounds the right version is : Java SE for Business – JRE or JDK 6, 5.0, or 1.4.2.

        But this one for business use, I’m thinking about a single-user software just for a trial.

        Please shed some light on this issue for me. Thanks so much for your time.

        Best regard,

        Amy639

        (0) 
          1. Former Member
            David,

            After a long and bumpy ride, finally I nailed it down: successfully installed on PC.

            But then another issue arises: How can I log into the stuff ?  I’ve tried many ways, but none worked. I know I’ve already asked you too much  ! But just hope that you don’t mind. This is my last chance, promise !

            Please tell me how I can log in ? Am  I missing something ?

            Thanks for your good heart to help people around here. The world needs more like you ( less like me ! ๐Ÿ™‚ )

            Amy639

            (0) 
          2. Former Member
            Hi David,

            I already installed  the little logon popup. Please help me how can I know the application server name of the system ? Since I typed in some values but it kept rejecting !

            Best regards. Amy639.

            (0) 
            1. Former Member Post author
              Hi Amy,

              I don’t mind questions at all… Your application server should be ‘localhost’, system number 00, system ID NSP. Don’t worry about anything else. There is a readme file in the root directory of the installation folder which explains everything you need to do including how to set up the logon pad. Give it a try and let me know – Let me know exactly what problem.error you are getting so that I have a better idea of what is going on.

              (0) 
              1. Former Member
                David,

                I looks for the readme everywhere in the folder/subfolders, but all 3 of them are either for registry cleanup or MaxDB stuffs. None talks about  setting up or installation.

                I’ve tried again the values that you recommend, it always gives  me errors, please see below.

                —————————
                Sapgui 710
                —————————
                partner ‘127.0.0.1:sapdp00’ not reached

                Time          Sat Jul 18 17:47:51 2009
                Component     NI (network interface)
                Release          710
                Version          39
                Module          nixxi.cpp
                Line          3139
                Method          NiPConnect2: 127.0.0.1:3200
                Return Code     -10
                System Call     connect
                Error     No     10061
                Error     Text     WSAECONNREFUSED: Connection refused
                Counter          1

                —————————
                OK  
                —————————

                Thanks for your time. Amy639.

                (0) 
                1. Former Member Post author
                  Under the SAPNWABAP701SR1_TRIAL folder, go to DOC\html\index.htm -> This what will guide you through the process. Make sure to read everything, and click the small “next” link at the bottom to move to the next section – you will go through “Welcome”, “What to expect”, “System Requirements”, “License”, “Installation/ Uninstallation”, and “Getting Started”.

                  Make sure to read system requirements, especially the part about DHCP server or MS Loopback adapter.

                  Then is that is all right, read point 9 under “Installation/ Uninstallation”.

                  The “Getting Started” section will explain exactly how to set up the SAPGui.

                  Have you been able to start your SAP server using the MMC console? Are all the nodes green? (As opposed to red or yellow)

                  (0) 
                  1. Former Member
                    Digging inch by inch, some have been done : loopback adapter, db manager. I’m now focusing on the  MMC console, a little confusion: neither colour green nor red, but instead I see blue & grey.

                    I’ve tried to start  the  SAP server as you advised . But there’s a roadblock: from the context menu to when I try to start (or logon), it bombed out since  invalid user/password. I’ve used several combinations:

                    1-  the master user/password when installing
                    2-  bcuser/minisap
                    3-  SAP*/PASS

                    Is there anyway to reset the password or something ? David ! Please throw me a line or two to clear off this issue. Your dedication is great. Thanks.

                    (0) 
  3. Former Member
    Thank you very much.. SGEN Tcode was really useful. After running the job for 12hrs with 2 dialog process. Now i am able to do the work faster in the trial version.
    (0) 
  4. Former Member
    Dont know what I did … but all turn green and I loged into to the stuff smoothly.

    Just want to say thanks for everything. You’re the best.

    AMY639

    (0) 
      1. Former Member
        I exited the MM console taking a break. Only to come back to see the  problem:

        1-   Start  à  Invalid Credentials    or
        2-   Logon  à  connection refused

        You have any idea what’s the point that I’m NOT in total understanding about  MMC ?
        Please shed some light for me. Appreciate that.

        (0) 
  5. Former Member
    Hello Everyone, 

    I had tried to install the 7.00 SP 10 ABAP Trial on Windows 2003 Standard Server with SP2.  I could not get the database to load. 

    Indeed, I saw where the install would ‘size’ itself at 1,800+ GB on the system with SP2.
    On Win2003 and no service packs/no updates — the size was reported as 2,100+ GB. 
    The database was indeed loaded.

    The install is occurring now on the ‘pristine’ win2003 install.  Looks like things have installed successfully.

    I think now I can add the updates and service packs to the Win2003 install.  Now that the SAP software is installed.  Hopefully, this will not ‘foul’ things.

    I just thought I would say that a Win2003 install is possible.  Just that at SP2, I could not get the database to load.
    I did not test service pack 1.

    I will follow Dave’s tips (they are really much more than ‘tips’ —- Than(x) Dave!!!

    (0) 
  6. Hi everyone,

    The system prompts me to enter the passwords for account superdba  and  account control. I did some research and used all suggested values (like admin/dba/control/dbm …). None has worked.

    The system keeps rejecting & displays  “the check of the control user password failed. Check logfile xcmdout.log”.

    Any guy out there knows how to get  around this problem ? Thanks.

    (0) 

Leave a Reply