how to monitor sap systems
TRANSCRIPT
-
7/28/2019 How to Monitor Sap Systems
1/19
HOW TO MONITOR SAP SYSTEMS
Monitoring of all Production systems should be done once in each shift, othernon-production system should be monitored once in a day.
1. ACTIVITY: Check SAP Process OverviewTCODE: SM51/ SM50 What to Monitor: Transaction SM50/ SM51 is used to check the status of
the SAP instance and the status of all work processes in that SAP Instance.
As shown in the fig above most of the work processes should be in Status waitingand all the work processes should be in Start mode Yes.
Also if there is any job running in any work process in DIALOG mode for a longtime we have to check with the user (under whom the job is running) whether we cankill that job.
Look for any work process where the status column is in Stopped Look for any Dialog/ Update/ Spool work process where the Time column
is 7200 (2 hours), contact the user for terminating the process
-
7/28/2019 How to Monitor Sap Systems
2/19
2. ACTIVITY: System Wide Work Process OverviewTCODE: SM66 What to Monitor: Transaction SM66 is used to check the status of the
status of all work processes across all the Application Servers and CI in a SAPInstance.
This transaction is useful to check the status of all the jobs running in all thework process of all the Application Servers including CI and can be used sameway as SM50.
So this transaction will be used in PRD systems only.3. ACTIVITY: Users Logged On
TCODE: AL08/ SM04 What to Monitor: Transaction AL08 is used to check for the number of
users logged into the system (Directly/ RFC)
Monitor the logon interactive users, load should be distributed across alldialog instances, e.g. it should not be like that one dialog instance there are170 users and on other there are only 10 users.
-
7/28/2019 How to Monitor Sap Systems
3/19
4. ACTIVITY: Spool RequestsTCODE: SP01 What to Monitor: Transaction SP01 is used to check the status of spool jobs. On the initial screen the userid should be blank and the date should be
yesterday and client should be the productive client in that system as below:
Click on Execute button. Then check that there should not be much Spool requests Ended with Errors
(more than 20). If it is then we have to find the cause of the problem, whichcould be the connection to the Print Server etc.
-
7/28/2019 How to Monitor Sap Systems
4/19
5. ACTIVITY: Check SAP LocksTCODE: SM12 What to Monitor: Transaction SM12 is used tocheck all the SAP locks in
the system make sure all the fields in the initial screen of SM12 are blank asbelow
Then in the next screen check that there should not be locks more than 1 day old, ifthere are locks more than 1 day old, check if there is any job running by that user idfor that table, if it is not delete that lock entry.
And also there should not be more than 800 locks at a time, keep on refreshing forsome time and if still locks are at the higher side, check the user id and the job (inSM50) containing most of the locks and discuss with the user to delete that particularjob and ask the user to schedule this kind of job to run in the night time so that otheruser will not be impacted with these locks.
-
7/28/2019 How to Monitor Sap Systems
5/19
6. ACTIVITY: Check for UpdatesTCODE: SM13 What to Monitor: Transaction SM13 is used to check the status of the
updates in SAP instance.
First of all on the initial screen ensure that the Update is active as shownbelow:
Then click execute button and check that there should not be more than 10 updatespending or in process at a time and also check if there are multiple occurrences of thefailed updates with different user ids, if it is then we have to diagnose the problem.
-
7/28/2019 How to Monitor Sap Systems
6/19
7. ACTIVITY: Check Background JobsTCODE: SM37 What to Monitor: Transaction SM37 is used to check the status of
Background Jobs.
First check for the cancelled jobs for today and the previous day with theselection criteria as below:
If there are cancelled jobs we have to check the logs of the job and find out thecause of the job failure and then take the corrective action accordingly.
Also we have to check the jobs with status release which has not run and arejust there in the release status. Then we have to find out the cause why thosehas not run till now and fix that.
-
7/28/2019 How to Monitor Sap Systems
7/19
8. ACTIVITY: SAP BuffersTCODE: ST02 What to Monitor: Transaction ST02 is used to check the status of SAP
Buffers.
Look at the following information at the main screen.
In the above screen the value of the Current useshould not be neat to thevalue ofIn Memoryfor any of the above SAP Memory variables.
9. ACTIVITY: Workload AnalysisTCODE: ST03 What to Monitor: Transaction ST03 is used to check the workload analysis
of a particular Application Server or all Application Servers of SAP Instance.
In the initial screen click on the drop down button on the right side ofAdministrator and choose Expert Mode as shown below:
-
7/28/2019 How to Monitor Sap Systems
8/19
Then expand your system name e.g. fsphsapqcos_QCO_00 and then click onToday or the previous day date as below:
-
7/28/2019 How to Monitor Sap Systems
9/19
Then check the DIALOG response time and it should not exceed 1000 ms, if itis higher than 1000 ms then we have to check the transactions/ programsimpacting the response time.
-
7/28/2019 How to Monitor Sap Systems
10/19
10.ACTIVITY: Operating System MonitorTCODE: ST06 What to Monitor: Transaction ST06 is used to check the Operating System
status e.g. CPU utilization, Memory utilization, Disk utilization, Status of
SAP OS Collector, to Stop/ Start SAP OS Collector, to check the EventViewer Logs of the Windows System, to check the connectivity with anyapplication server or any user front end system etc.
If the CPU utilization is higher than 60% please look into it and find theprogram/ transaction impacting the CPU utilization.
11.ACTIVITY: Display Developer TracesTCODE: ST11 What to Monitor: Transaction ST11 is used to check the Developer Trace
Files and if you find any abnormal trend in the trace files, we have to look intoit.
-
7/28/2019 How to Monitor Sap Systems
11/19
12.ACTIVITY: ABAP Dump AnalysisTCODE: ST22 What to Monitor: Transaction ST22 is used to check the Short Dumps in
the system, if there are high numbers of repetitive short dumps especially with
the Standard SAP Systems we have to look into those error. Go into the detailof those short dumps and check the details, there you will find the programcausing the short dump, statement causing the short dump and also How tosolve the problem. Find the OSS note with the programs or other key wordscausing the short dump.
Below is the useful information that you can find for the short dumps in ST22.
-
7/28/2019 How to Monitor Sap Systems
12/19
-
7/28/2019 How to Monitor Sap Systems
13/19
13.ACTIVITY: Database AnalysisTCODE: ST04 What to Monitor: Transaction ST04 is used to monitor Database
Performance Analysis, Database Error Logs, Database Backup (Full/ Log)Status, and Missing Indexes at the Database Level etc.
Here are some screen shots of these monitors:
-
7/28/2019 How to Monitor Sap Systems
14/19
Check
Databa
Error L
Check
Database
Backup S
tabase
rformance
tus
Mis
Ind
-
7/28/2019 How to Monitor Sap Systems
15/19
14.ACTIVITY: Check Database PerformanceTCODE: DB02 What to Monitor: Transaction DB02 is used to monitor Database
Performance, Database Space utilization (Data files/ Log files), Detailed
Analysis of Database Objects (Tables/ Indexes).
-
7/28/2019 How to Monitor Sap Systems
16/19
15.ACTIVITY: Client Settings (Weekly)
TCODE: SCC4 What to Monitor: Transaction SCC4 is used to check the Client Settings.
The current client setting for all P1 systems/ clients is shown below, if any
system/ client setting is different from listed below, please inform TEAMLEAD/PROJECT MANAGER.
SID/CLNT
Changes andTransport of ClientSpecific Objects
Cross-Client Object Changes Protection: ClientCopier andComparison Tool
DCO/010
Automatic Recordingof Changes
Changes to Repository andcross-client CustomizingAllowed
No Overwriting
DCO/020
DCO/200
No Changes Allowed No Changes to Repository andcross-client Customizing objs
No Restriction
DCO/100
No Changes Allowed No Changes to cross-clientCustomizing objs
No Restriction
DSC/ 010 Automatic Recordingof Changes
Changes to Repository andcross-client CustomizingAllowed
No Overwriting
DXI/ 100 Automatic Recordingof Changes
Changes to Repository andcross-client CustomizingAllowed
No Overwriting
QCO/020QCO/100QCO/200
No Changes Allowed No Changes to Repository andcross-client Customizing objs
No Restriction
QCO/101
Changes w/oautomatic recording,no transportsallowed
No Changes to Repository andcross-client Customizing objs
No Restriction
-
7/28/2019 How to Monitor Sap Systems
17/19
QSC/ 100 No Changes Allowed No Changes to Repository andcross-client Customizing objs
No Restriction
QXI/ 100 No Changes Allowed No Changes to Repository andcross-client Customizing objs
No Restriction
PCO/ 100 No Changes Allowed No Changes to Repository and
cross-client Customizing objs
No Restriction
PSC/ 100 No Changes Allowed No Changes to Repository andcross-client Customizing objs
No Restriction
PXI/ 100 No Changes Allowed No Changes to Repository andcross-client Customizing objs
No Restriction
CUA/ 010 Changes w/oautomatic recording,no transportsallowed
Changes to Repository andcross-client CustomizingAllowed
No Restriction
CUA/ 100 Automatic Recording
of Changes
Changes to Repository and
cross-client CustomizingAllowed
No Overwriting
CUA/ 110 Automatic Recordingof Changes
Changes to Repository andcross-client CustomizingAllowed
No Overwriting
PSM/ 100 Automatic Recordingof Changes
Changes to Repository andcross-client CustomizingAllowed
No Restriction
16.ACTIVITY: Check System LogTCODE: SM21 What to Monitor: Transaction SM21 is used to the SAP System locks of
either CI or any particular SAP Application Server or all Application Serverof the SAP Instance.
Define the time either as the time when you did the last monitoring or start ofthat date. Check the logs of CI and all application servers and if you find anyabnormal trend in the log or multiple entries of same kind of error, then try tofind out the corresponding short dump and check the details of the error andtry to analyze the error or if required check the OSS notes with the key wordseither from the system error or from short dump, otherwise raise an issue inthe issue tracker.
-
7/28/2019 How to Monitor Sap Systems
18/19
17.ACTIVITY: Check E-Mail and Fax MessagesTCODE: SOSTWhat to Monitor: Transaction SOST is used to check if there are any failed e-mailsor faxes that did not go out from SAP. By default thePeriodwill be the current dayplus the previous and the Sent Status will include Waiting, Errors, and Sent. The
main item of concern is Errors. When you encounter an error please review and ifpossible attempt to resend. Selecting the failed item and selecting Repeat Sendwillattempt to resend the message. If this fails, please alert other Basis personnel forfurther troubleshooting.
-
7/28/2019 How to Monitor Sap Systems
19/19
18.ACTIVITY: Check for failed IDOCsTCODE: WE02/ WE05 What to Monitor: Transaction WE02 is used to check all of the IDOCs in
the system over a given time period. There are both Inbound and OutboundIDOCs. We are looking for IDOCs that did not process properly and these
usually have a status of 51. When you see an IDOC with a status of 51 you can double -click the IDOC to
get the details of what failed. Please forward this information to theappropriate team for further investigation.