Thursday 29 August 2024

Menu Functions - Administration of Work Processes in SM50 #SAP Basis Administrator

System Administration in SM50

The most important administration tasks are listed for reference below:

Managing Work Processes

Trace Functions / Analysis

  

Note: To use these functions, you first need to select at least one work process.

  •  Cancel a process:

Administration  Process  Cancel  With Core/Without Core

The work process is terminated at operating system level. The Dispatcher starts a new work process with a new PID (provided you have configured the system appropriately) “Start Process After Error/Termination Automatically”). You can create a core file when the process is terminated for analyzing later. You can display the core file in transaction .RZ11

  • Start Process After Error/Termination Automatically:

Administration  Process  Restart After Error   Yes/No.

If a process is terminated due to an error, it can be restarted automatically. The default is Yes.

  • Debug a running ABAP program.

Administration  Program  Debugging

This function can only be executed if you have selected a work process in which an ABAP program is currently running. You can find the report name in the Active Program column. Note that you need “debug and replace authorization”, which is controlled by authorization object S_DEVELOP together with OBJTYPE 0 DEBUG and ACTVT = 02

  • Terminate a running ABAP program:

Administration  Program  Cancel

This function can only be executed if you have selected a work process in which an ABAP program is currently running. You can find the report name in the Active Program column. If a program is terminated, a short dump is generated.

  • Deleting an ABAP session:

Administration  Delete Session

You can delete the running ABAP session without having to close the work process.

  • Display system-wide process list:

Goto  System-Wide List (or icon: System-Wide List. )

You can switch to the system-wide process list from the process overview of an individual instance.

With the icon you can also go to the system-wide process list.

  • Display details of a process:—

Goto  Process Information (or icon: Process Information.)

Here you can display detailed information on memory statistics, database statistics, SQL statements, runtime, application, and specific attributes of the process.

  • Display details of a user:

Goto  User Info

You can display information on the user here. To manage users go to the User Overview (transaction SM04).

In the process overview, you cannot be sure that a user session you want to terminate or delete is still active in the work process that you have chosen. You could therefore unintentionally affect another user's session.

  • Reset Terminations:

List  Reset  Failures.

This counter is displayed in the column overview in column Failures (Work Process Failures). It specifies how often the work process has been restarted because of an error or a manual restart.

  • Reset information area:

List  Reset  Info Area.

Resetting the info area is useful if, for example, dynamic work processes have been added or removed in the meantime.