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
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 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.
- Go to transaction RZ10
- Click on Utilities->Import Profiles->Of Active Users
- 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.
- Click back button.
- Click the save button
- If asked to activate the profile, say yes.
Increase Number of Dialog & Background Processes
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
- Go to transaction SGEN
- Select the option to “Generate All Objects of Selected Software Components”
- Select the continue button
- Now select the software components that you want to generate – If you have enough disk space, I would suggest selecting them all
- Click the continue button
- Now there is the option for parallel processing, but you will only have one application server, so just click Continue
- 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
- 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.
Now we need to create a new client. You can log in as BCUSER or DDIC on client 001.
- Go to transaction SCC4
- Click the ‘Change” icon
- Information popup appears telling you that this is a cross client table. Click the tick.
- Click the New Entries button
- Enter a client number and description
- Enter the city
- Select the logical system
- Choose your currency
- Select the client role – This would only really need to be “test” or “Customizing”
- Make sure to choose “Automatic Recording of Changes” if you want to use the transport system
- Select “Changes to repository and cross client Customizing Allowed”
- Select “Protection level 0:No restriction”
- Save your changes.
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
- Log into the new client with username SAP* and password PASS
- Go to transaction SCCL
- You will notice that the target client is set to the client that you are logged into – You can’t change this.
- 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.
- Select source client 000
- You may want to run a test first to see that it will work – This should only take a few minutes.
- Once ready, run without test mode selected, and make sure to “Schedule as Background Job”
- Select the “immediately” option and then select Schedule Job
- You can then view the status and result logs of the client copy by going into transaction SCC3.
- 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!)
- Go to transaction SE24 and enter CX_FQDN for Object type and click Display.
- Double-click on the CHECK method under the Methods tab.
- Click Method -> Enhance.
- Click Edit -> Enhancement Operations -> Show Implicit Enhancement Options
- Position your cursor on line 2 which should have a long line of ” marks.
- Click Edit -> Enhancement Operations -> Create Enhancement
- Click the Code button in the ‘Choose Enhancement Mode’ dialog box.
- You will be prompted to ‘Select or Create Enhancement Implementation’. Click the Create Implementation button at the bottom.
- 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’).
- Give a meaningful name for this enhancement (e.g. ‘I don’t know what I’m doing’, etc)
- For the ‘Composite Enhancement Implementation’, enter Z_CEI (or
anything else you want that starts with a ‘Z’). Then click the
- You will be prompted to ‘Create Object Directory Entry’. Just click ‘Local Object’.
- Highlight your new Enhancement Implementation you just made in the dialog window and click the checkmark.
- You will notice in your editor window a section similar to below:
""""""""""""""$"$SE:(1) Class CX_FQDN, Method CHECK, Start A
$$<br /><br />ENHANCEMENT 1 ZMIKE_ENHANCE. “inactive version<br /><br />ENDENHANCEMENT.<br />$*$-End: 9999—
- We will be adding one line of code (line 5). Delete the * and type the word EXIT. (Include the period).
- Click the activate button. (7th button on the toolbar, looks like a flashlight/matchstick).
- Click the checkmark in the dialog pop-up you get.
- 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