SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and Learning Tutorials
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and Learning Tutorials
com/site/saparchives/SAP-basis-operation-3-unix--linux
BASIS FAQs
BASIS Transactions
SAP Forum
Database Tasks
Creating Database Statistics, Index Rebuilds, and Log Backup
Jobs – MS SQL Server
1 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
===================================================================
See also :-
http://sites.google.com/site/saparchives/Home-SAP-BASIS
http://sites.google.com/site/saparchives/sap-basis-transactions
http://sites.google.com/site/saparchives/Home-SAP-BASIS/SAP-BASIS--unknown-
sap-tricks
http://sites.google.com/site/saparchives/SAP-BASIS-everything-about-sap-clients
http://sites.google.com/site/saparchives/frequently-used-procedures
http://sites.google.com/site/saparchives/SAP-BASIS-BASICS
http://sites.google.com/site/saparchives/SAP-BASIS-what-is-asap
http://sites.google.com/site/saparchives/SAP-BASIS-configuration
http://sites.google.com/site/saparchives/SAP-basis-operation---unix--linux
http://sites.google.com/site/saparchives/SAP-basis-operation-2---unix--linux
http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
http://sites.google.com/site/saparchives/SAP-basis-operation-1---windows
http://sites.google.com/site/saparchives/SAP-basis-operation-2---windows
http://sites.google.com/site/saparchives/SAP-basis-operation-3---windows
http://sites.google.com/site/saparchives/SAP-basis-interview-questions
http://sites.google.com/site/saparchives/sap-training-courses-ecc-60
http://sites.google.com/site/saparchives/sap-basis-refference-steps-1
http://sites.google.com/site/saparchives/SAP-basis-transactions
==============================================================================
Jobs, Job Logs, and the Job Queue
2 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
1. Log on to the appropriate SAP instance and client as either the user ID owning the
job or an administrator ID.
2. Go to transaction SM37.
3. On the Simple Job Selection screen, fill in the Job name field or use any of the
screens filtering options to produce a list from which you can see the job to be
changed. In order for a job to be changed, it has to have a status of Schedule or
Released so turn those statuses “on” and turn the rest “off”. Click on the Execute
button.
4. On the Job Overview screen, click “on” the line containing the job to be changed
and then click Job → Change.
5. On the Change Job screen, make your changes and then click Save. If you have
more than one occurance of the same job in your list, you must change each job
scheduled to run earlier than that job you just changed. Once the job you changed
runs, all occurences of the jobs running after that date will be changed as well.
Deleting a Released of Scheduled Job
1. Log on to the appropriate SAP instance and client as either the user ID owning the
job or an administrator ID.
2. Go to transaction SM37.
3. On the Simple Job Selection screen, fill in the Job name field or use any of the
screens filtering options to produce a list from which you can see the job to be
deleted. In order for all occurances of a job to be deleted, all statuses of the job
should be checked “on”. And enter an all-encompassing date like 01-01-1990 through
12-31-2010. Click on the Execute button.
4. On the Job Overview screen, click “on” all the perpetent line containing the job(s)
to be deleted and then click on the Delete job from database button.
5. On the Delete Scheduled Jobs? popup, confirm the deletion.
1. Log on to the appropriate SAP instance and client as either the user ID owning the
job or an administrator ID.
2. Go to transaction SM37.
3. On the Simple Job Selection screen, fill in the Job name field or use any of the
screens filtering options to produce a list from which you can see the job you want to
view. In order for all occurances of a job to be viewed, all statuses of the job should
be checked “on”. Click on the Execute button.
3 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
In order to apply new support packages and kernel patches to a SAP system,
several preparation steps are required:
· Checking for new SPAM updates, support packages and kernel patches
· Downloading the new SPAM updates, support packages, and kernel
patches
· Preparing the new SPAM updates, support packages, and kernel patches
for application
· Applying the new SPAM updates, support packages, and kernel patches
· Mass recompiling all programs used in patched components
Be aware that SPAM/SAINT update and support package application occurs within
the SAP system using the SPAM transaction. These corrections are changes to
ABAP program code and must be handled in a special way by SAP. Kernel patches,
on the other hand, are fixes to SAP executables found on the SAP server. Kernel
patches must be applied when the SAP instance is down.
Please refer to the Check for New SPAM Updates, Support Packages and Kernel
Patches.
Checking for New SPAM Updates, Support Packages and Kernel
Patches
To check if SAP has released any new software fixes for your release of SAP, you
need to know your current support package and kernel release levels.
Method One:
Method Two:
Method One:
Method Two:
1. Log on to the SAP instance sever using a Telnet session as user <sid>adm.
2. Change the Telnet windows properties to use a Screen Buffer Size of 9999.
3. At the Linux prompt, type:
4 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
disp+work –v
3. Scroll down the Download screen until you find your current package
level. Any support packages after your current level will need to be applied to
your SAP System.
4. You may now leave the SAP Marketplace.
3. Scroll down the Download screen until under the File Name column
you find SAPEXEDB*.SAR files. Unless SAP has instructer you to use a
different kernel, the most recent SAPEXEDB*.SAR is the one you need to
download. You may leave the SAP Marketplace.
4. Now go to the @Database independent section in the same list as
5 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
ORACLE was displayed. Scroll down the page until you find the
SAPEXE*.SAR that matches the same number as the SAPEXEDB*.SAR you
found in the previous step. These two files will give you a complete kernel
replace.
5. You may leave the SAP Marketplace.
Download SPAM/SAINT Updates
6 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
Once you have downloaded your SPAM/SAINT Update and/or support package(s),
they must be moved to the appropriate transport directory and uncompressed.
cd /usr/sap/trans ¬
SAPCAR.EXE -xvf “tmp\*.?AR” ¬
This will unCAR all CAR and SAR files in the \usr\sap\trans\tmp directory to the
/usr/sap/trans/EPS/in.
4. Log off the server.
5. Log on client 000 of the appropriate SAP system.
6. Go to transaction SPAM.
7. From the menu bar of the Support Package Manager screen, click
Support Package → Load Packages → From application server.
8. On the SPAM: Confirm upload popup, click the green √
picture-icon. The progress of the support package loads will show in the
status bar at the bottom of the screen.
9. Scroll down the SPAM: Uploading Packages from the file system
screen to make sure your SPAM/SAINT update is listed. Use the Go Back
icon to return to the previous screen.
10. You may now leave the SPAM transaction.
Kernel patches must be applied on the SAP server. The SAP instance must be down
before a kernel patch can be applied.
7 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
Before you apply the most current SPAM/SAINT, please pull the
OSS Note 484219 - Known problems with transaction SAINT in
Basis Release 6.20 or for whatever version you are using and
review any problems you may have adding the SPAM/SAINT patch.
Once you have loaded the latest SPAM/SAINT update into your support Package
manager buffer, you need to apply the update to your SAP system.
Before you apply the most current SPAM/SAINT, please pull the
OSS Note 782140 - OCS: Known problems with Support Packages in
Basis Rel.6.20 or for whatever version you are using and
review any problems you may have adding the SPAM/SAINT patch.
Once you have loaded the latest support packages into your support
Package manager buffer, you need to apply the packages to your SAP
system.
8 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
5. After the successful completion of the kernel patch, you may bring
the instance back up and log off the server.
3. Places to look:
9 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
Performance Standards:
Database Standards:
Whether you are trying to start a brand new SAP instance, or an old one, there are
some very specific places to look for information.
If this is a brand new SAP instance, and the installation completed 100% successfully,
you know that the instance itself must be viable. If your installaion was never able to
complete due to the instance not being able to start up, the issue is probably due to
lack of resources. Use the sapinst directory to search the installation logs and find
your problem. Sort them with “ls – ltr” is see the list sorted in descending order for
the ease of viewing.
If you have a test searching tool, look for “error” in all files with the suffix “.log”.
If your SAP instance has been up and running fine for a good while, then something
has probably changed that makes it not come up.
10 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
How often have you seen a posted message saying "I have searched through SAP
Notes and can find nothing related to this matter."? And how often have you gone to
SAP Marketplace and done a search yourself and found a hit? If we only had a had a
nickle...
Searching SAP Notes (formerly known as OSS notes) is a science as well as an art.
Lets use this error message as an example:
First, you should search the specific error message "BR602W No valid SAP license
found". If you get at least one hit, you should read the SAP Note even if it didn't look
as if it pertained 100%. Why? Because it might contain information leading to other
notes that did pertain, or give you new ideas for more search terms to help narrow
the scope of my query.
If you didn't find a note that matched the problem, you could make your next search a
little less specifc, like "brbackup No valid SAP license found". First you could search
for the phrase, and if you had no luck, you could search for all words. And if that
produced nothing tangible, you could make it even less specific as in "brbackup SAP
license error" or "SAP license error".
Normally a very specific query will get you the results you need. But sometimes things
get lost in translation. For example, you are applying support packages and get an
import error with the following message "Panic! Panic! Panic! there's no object
header". Since we speak English and we realize that the SAP product was designed
and implemented in Germany, we have to guess that the English word "Panic!"
somehow was translated from the German word "Warning!" and that we can
temporarily delay a panick attack until we can research the error. Moral of the story?
Realize that some things just don't translate correctly from language to language,
and search accordingly. If you searched for "Panic! Panic! Panic!" and got no hits,
you could try "warning message no object header".
Last, and not least, read and become familiar with your SAP Notes. There are certain
notes that you pull over and over again due to some task that needs fresh, current
and precise information. These are mostly lists of supported printer devices, known
problems with applying patches, etc.
SAPGui Troubleshooting
11 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
Most SAPGui problems can be solved by either a) deleting and reinstalling SAPGui
on the workstation, or b) deleting and installing a newer version of SAPGui.
Make sure that these lines were added to the services file on the user’s workstation:
After you have successfully configured your SAPGui, add these three lines to the
bottom of your \Windows\system32\drivers\etc\services file:
sapdp00 3200/tcp
sapmsR3I 3600/tcp
#
If you have SAP Instances using System Numbers other than 00, you will have to add
their equivalents to the services file as well. Also, check if you are having connection
problems due to firewall restrictions. And, be sure that your Insert Key is set so that
you can type your password in properly – you can delete whatever is in the password
field in order to enter your password.
If you have never tested connectivity to a SAP instance on the workstation having the
connection problem, first you need to make sure that the workstation can connect to
the SAP server in some non-SAPGui way. Let’s say your user us trying to connect to
System ID (SID) DEV, System Number 00, and IP address 10.1.10.11. Open a
DOS-Windows and type this:
If the screen rolls and goes totally blank then your dispatcher is reachable. You can
close the DOS session. If your window never goes completely blank and you set a
"Connecting To 10.1.10.11... Could not open connection to the host, on port 3200:
Connect failed" error message right under the command you entered, the dispatcher
is not reachable. Also, make sure the \Windows\system32\drivers\etc\hosts file on
the workstation is correct.
For information regarding operating system, resource, and hardware requirements for
running SAPGui, see SAP Note 26417 - SAP GUI Resources: Hardware and
software.
Central User Administration is Not Transferring Change from
the CUA Parent Client
If CUA stops sending changes from DEV to QAS or PRD, something in the RFC
setup has changed. Either the password or the user type for RFC_USER was
changed, or the SM59 RFC connection to was changed and is no longer working.
Use SCUL in DEV in your DEV CUA parent to list the errors that are occurring. Look
for the user you tried to transport but could not. You might see “You are not
authorized to change users in group” or “No authorization for group users in role”.
This does not mean that YOU are not authorized, it means that the RFC_USER doing
the ALE communication between the SAP systems is not authorized.
First, reset the RFC_USER password in DEV, QAS, and PRD. And make sure that
the user type is Communication and not dialog. Now go to sm59 and do remote
logins using the QAS RFC connections. If they work (ie nothing seems to happen
after you click the remote logon button) everything should now be fixed. If you get a
logon screen for QAS, change the password in the sm59 screen to the same
password you changed RFC_USER to in DEV and QAS.
Retry your user change. If it still doesn’t go to QAS, maybe the QAS system is
hosed and down.
12 of 13 04/15/11 10:14 AM
SAP BASIS Tutorial 3 Unix & Linux - SAP BASIS Administration and ... http://sites.google.com/site/saparchives/SAP-basis-operation-3-unix--linux
with SAP
QuickLinks Page http://service.sap.com/quicklinks An index of
SAP links
Oracle DBA Page http://service.sap.com/dbaora Page
for Oracle DBA Material
OSS Notes http://service.sap.com/notes Search
the SAP Notes Database
Patches http://service.sap.com/patches
Download SAP software patches
Remote Connection http://service.sap.com/remoteconnection Learn about
the OSS connection and
order it from
SAP
Service Connection http://service.sap.com/serviceconnection Open a
Service Connection for SAP
to access
your SAP landscape
Software Distribution http://service.sap.com/swdc
Download new images of
Installation
CDs & DVDs
SSCR http://service.sap.com/sscr Register
Developers and Changes
made against
SAP objects
User Administration http://service.sap.com/user-admin Add/Change
OSS ID user information
Sign in Recent Site Activity Terms Report Abuse Print page | Powered by Google Sites
13 of 13 04/15/11 10:14 AM