Академический Документы
Профессиональный Документы
Культура Документы
All of the running, working, stopped and PRIV mode workprocesses can be
displayed using the t-code sm50.
Running mode means that work process is busy processing user request.
Waiting mode means that work process is ready to accept user request.
PRIV mode means that the used transaction is so large so that work process is
running with heap memory. In this case, the work process should be analyzed in
detail and cancel if required.
Status must be in Running and Waiting mode in order to have a properly worked
SAP system.
If there are no idle work processes ( i.e. all work processes are running ) then
the oncoming request have to be wait for a workprocess to be free, so the
waiting times get increased and caused the system to work slower.
If there is any PRIV mode work process, means that this workprocess is owned
by the user and will not get free.
In such cases, work processes can be required to be stopped explicitly by the
sap admin.
To cancel a work process, choose the process you want to cancel and go
with Process -> Cancel with core or Cancel without core.
The option Cancel with core cancels the workprocess with the processes
related to this process. So, prefer to cancel without core option if possible.
The transaction code sm51 lists all of the active servers. For a proper work in an
SAP system, all application servers belonging to the SAP,message server should
be in Active status.
Also, here you can see all the workprocesses ( i.e. SM50 screen ) belonging to
an instance by double-clicking to a particular instance.
All running workprocesses on all active instances across the system can be
monitored using the transaction code sm66.
Helpful Tip
The difference between the t-codes sm50 and sm66 is that the workprocesses
of a particular server can be monitored using sm50 while the workprocesses of
all active instances can be seen using sm66.
ABAP dump analysis is used to display ABAP dumps and runtime errors.
Every important process done in an SAP sytem is kept and updated in system
logs. System logs can be monitored as executing the t-code sm21. Click on
Reread system log pushbutton to see the logs. System log analysis plays an
important role to investigate the errors in the system in case of a trouble.
Logs can be seen in the following figure. To see the details double-click on a
particular log entry. In case of a trouble, the logs must be investigated via sm21
to find and resolve the problem.
In an SAP system, there is a lock mechanism such that if any user is working on
a table it is not allowed to work on the same record by another user to keep the
data consistency. Executing the t-code sm12, lock entries in a system is
monitored and can be deleted if required. Usually, the lock entries hold by a
user or process for more than 2 days should be analysed and deleted.
To see the lock entries in a system, execute sm12 and click on List after you
fill in the required blanks as shown in the following figure.
To delete a lock entry, select a particular lock or push on the button Select All in
order to delete all lock entries and then useDelete button. After deleting the lock
entry, user session which locks the deleted entry should be ended using the tcode sm04 as explained at the SM04 : User List part of this post.
T-code sm13 is used to display update requests. To monitor the update requests
in a system execute the t-code sm13 and click on Execute button after selecting
client, user, time interval, status etc. as shown below.
The update records are listed. Records can be deleted here as selecting the
wanted entry and then using the Delete button but before deleting an update
request, required analysis have to be done.
T-code sm04 lists all of the active users working on the particular instance in
which you are logged in.
DATABASE LEVEL
ST04 is a transaction for SAP performance tuning. In the st04 screen, you can
find lots of statistics and do lots of analysis. One of the most critical points here
is Buffer Pool statistics. For a properly worked SAP system, Overall Buffer
Quality must be higher than 95%.