Terminating an SQL Command/SQL Session

In the Task Manager, you can terminate an SQL command or a task.

Procedure

Select a task.

You can terminate the SQL command or session.

·        Choose Edit ® Terminate SQL Command. This terminates the SQL command currently being processed.

·        Choose Edit ® Terminate SQL Session. This terminates the task. If a work process of the SAP system was connected with the terminated task, the work process immediately logs on to a new task.

If you want the affected SQL command to still be recorded in the performance trace after the termination, use one of these options to terminate a running action. If you terminate an action by terminating the corresponding work process (transaction SM50), the SQL command is not recorded in the trace.