// ]]>

Tuesday, 4 February 2014

SM50




·        Type: Work process types:
¡        DIA work process for executing dialog steps in user transactions
¡        UPD: Update process for making U1 (time-critical) database changes
¡        UP2: Update process for executing U2 (not time-critical) database changes
¡        ENQ for setting and releasing locks on SAP lock objects
¡        BTC for executing background jobs
¡        SPO for spool formatting processes
·        PID:  Process ID of the work process (on the operating system)
·        Status: Current status of the work process Possible statuses are:
¡        Running (executing a request).
¡        Waiting (idle and waiting for a request)
¡        Hold (held for one user) is not an abnormal state, but a work process can only serve a single user.
If too many processes are in Hold, then system performance suffers. You can then use the Reason field to identify holds that perhaps can be released.
¡        Stopped (aborted; Restart set to No).

·      ReasonIf a work process is in Hold status, the reason is displayed. Typical reasons are: Debugging, CPIC activity, locks, updates, GUI (system waits for response from the SAPGUI front-end program, for example, for a remote function call (RFC)). 
You may also see PRIV (PRIVate use) as a reason for holding a work process. PRIV indicates that a work process is reserved for a single user for memory management use. The work process has exceeded the limit of the SAP memory that is used by other processes. 

If more than a certain percentage of work processes are in PRIV hold state, then PRIV transactions are automatically terminated if the user is not active in the transaction for a set period of time. You can set this time span in the SAP system profile.

·      Start:Indicates whether the process should be automatically restarted if a process ends prematurely. You can change the restart status of a process by choosing Process  Restart after error  Yes/No. Normally, leave Restart set to Yes.

If a work process aborts during its startup, the system automatically sets Restart to No. This measure protects against endless attempts to restart a process if a database system is not available, or another serious problem is affecting the system. After correcting the problem, you can change Restart to Yes so that the system starts the work processes.

·        Err: Indicates how many times a work process has aborted
·        SemIndicates the number of the semaphore for which a work process is waiting.
Normally, this field should be empty. If one or more semaphore numbers frequently appears, evaluate the performance of your system using the Performance Monitor.
·        CPU:Cumulative CPU time since the start of a work process. The time units are seconds and hundredths of seconds.
Calculating CPU time is onerous. Therefore, you must request this information using the CPU function.
·        Time:Indicates the elapsed time used by a work process for the dialog step that it is currently processing
·        Report: ABAP program or report that is currently being executed
·        Cl.: Client for the session that is currently being executed
·        UserUser whose request is currently being processed
·        ActionAction that is being executed by the current program. The actions that are displayed are those that are recorded by the SAP performance monitor. The Performance Monitor must be active (SAP profile parameter stat/level = 1 (default)) for actions or database table accesses to be displayed.
·        TableIf the database is being accessed, this column shows the name of the table being accessed.

         Cancels the work process - A core file is created, which you can view in transaction ST11.
Control the ABAP Program
Program  Debugging (You can debug the ABAP program.)

Program  Cancel   (You can cancel the ABAP program)