|
Blogs
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.
- Click the Wind0ws or "Start" button
- 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.
- 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
By default, the trial is set up to allow only 2 dialog work
processes, and 1 background process. If you have more than one person
logging into the system at once, you may want to increase these values.
Just remember that with each new work process, comes increased resource
requirements.
Please never change the number of dialog processes to only 1 - If
you do this, and then try to use something like F4 field input help,
the system will hang because it requires at least 2 dialog processes.
It is also useful to increase the background processed to about 2 or
3, so that when you are running batch jobs you don't constantly have to
wait for other jobs to complete first.
- Go to transaction RZ10
- Select your instance profile - Eg NSP_DVEBMGS00_<servername>
- Select "Extended Maintenance"
- Click the change button
- Change the value of rdisp/wp_no_dia to set the desired number of dialog processes. (Make this 4/5)
- Change the value of rdisp/wp_no_btc to set the desired number of background processes. (Make this 2/3)
- Click the back button
- Say yes when asked to save changes
- I know this seems repetitive, but now you need to click the save button
- Say no when it tells you that incorrect parameter values were detected
- Say yes when it asks to activate the profile
- For these changes to take affect, you will need to restart the application server
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!
- 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
convenient time
- 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
- Go to transaction RZ10
- Select the instance profile, named something like NSP_DVEBMGS00_<servername>
- Select the "Extended Maintenance" option
- Click on the "Change" button
- Click on the "New Parameter" button, or press F5
- Parameter name is "login/no_automatic_user_sapstar" (without the quotation marks)
- Parameter value is "0" (zero)
- Click the back button - Say yes to save.
- Click back button again - Click yes to save.
- Click the save button - Say no when it tells you there are errors.
- Click yes to activate when it prompts you.
- Restart the server using MMC.
Now
you can log into ANY client with the username SAP*, and password PASS
(uppercase). Make sure to set this profile parameter value to 1 when
this is no longer needed! Otherwise anyone can have SAP_ALL access if
they try this login!!
Logical System
Make sure that you have created a logical system for each client in
transaction BD54 - You will need this before you create a new client.
- Go to transaction BD54
- Information popup appears telling you that this is a cross client table. Click the tick.
- Add a new entry for each client that you will use. Create one for client 001, and one for the new client you want to create.
- I suggest that you name the logical system in the format of
<System ID><SystemNumber><Client>, so for the preview
installation, this would be NSP00001for client 001, and NSP00100 for
client 100 etc.
- Give the logical system a description - Like "Development Client", or "Test Client" or "Configuration Client"
Create Client
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.
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.
- 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
Checkmark.
- 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:
METHOD check. """"""""""""""$"$SE:(1) Class CX_FQDN, Method CHECK, Start A *$*$-Start: 9999-------------------$*$*
ENHANCEMENT 1 ZMIKE_ENHANCE. "inactive version * ENDENHANCEMENT. *$*$-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.
SeriesPart 1 gives general tips for running SAP Netweaver Trial Part 2 tells you how to access your Netweaver trial at home from anywhere Part 3 talks about how to enable the transport system in Netweaver 7.01 Part 4 shows how to set up the workflow engine
David Bann is a Technical SAP Consultant and founder of K5 ERP Solutions.
Add to:
del.icio.us | Digg | Reddit
Please feel free to suggest new tips for Part Two.
Comment on this weblog
Very useful tips
2009-06-11 15:39:35 Praveen Jakka
Business Card
[Reply]
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.
SAP Netweaver 7.01 ABAP SR1 SP3 edition
2009-06-13 13:49:37 Amy Nguyen
Business Card
[Reply]
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
SAP Netweaver 7.01 ABAP SR1 SP3 edition
2009-06-14 12:21:40 David Bann
Business Card
[Reply]
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...
SAP Netweaver 7.01 ABAP SR1 SP3 edition
2009-07-10 18:48:58 Amy Nguyen
Business Card
[Reply]
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
-
SAP Netweaver 7.01 ABAP SR1 SP3 edition
2009-07-17 15:25:02 Amy Nguyen
Business Card
[Reply]
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
SAP Netweaver 7.01 ABAP SR1 SP3 edition
2009-07-17 21:53:09 Amy Nguyen
Business Card
[Reply]
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.
SAP Netweaver 7.01 ABAP SR1 SP3 edition
2009-07-17 22:44:51 David Bann
Business Card
[Reply]
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.
SAP Netweaver 7.01 ABAP SR1 SP3 edition
2009-07-18 14:54:02 Amy Nguyen
Business Card
[Reply]
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.
SAP Netweaver 7.01 ABAP SR1 SP3 edition
2009-07-18 15:27:31 David Bann
Business Card
[Reply]
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)
SAP Netweaver 7.01 ABAP SR1 SP3 edition
2009-07-19 07:54:20 Amy Nguyen
Business Card
[Reply]
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.
Wow...SGEN ...
2009-06-15 21:11:21 Ranganathan T
Business Card
[Reply]
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.
Up and Running ...
2009-07-19 13:01:51 Amy Nguyen
Business Card
[Reply]
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
-
Up and Running ...
2009-07-19 15:35:29 Amy Nguyen
Business Card
[Reply]
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.
-
Run like ... a pony
2009-07-29 04:21:37 David Bann
Business Card
[Reply]
Hi Amy,
You can only develop with BCUSER, and not any other user. The developer key should already be entered, but if it is not, you can use 29671482393151224771. (From https://forums.sdn.sap.com/message.jspa?messageID=2787936)
Go to http://www.sap.com/platform/netweaver/minisap.epx to get an evaluation license when your expires.
|
Showing messages 1 through 19 of 19.
|
|