Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check status of a running program

Tags:

abap

sap-basis

I assume that I have an ABAP program that takes long time on running. So I want to check what the program is doing at the moment, which line of code is executing or what tables the program is writing to at that exact moment.

I think there is a transaction to check the running programs. Am I right ? If I'm what is that ?

like image 811
Mtok Avatar asked May 23 '13 12:05

Mtok


People also ask

How do you look at what programs are running?

You can start Task Manager by pressing the key combination Ctrl + Shift + Esc. You can also reach it by right-clicking on the task bar and choosing Task Manager. Under Processes>Apps you see the software that is currently open.

How do I know if a program is running in SAP?

The transaction SM66 is used to see all the active processes on the current system. You can choose a particular process you want to monitor by clicking on “process” and then click the “debugging” button. The Transaction SM50 shows only the process running on a current application server in which you are logged.

How do I see what Processes are running on Windows 10?

Task Manager can be opened in a number of ways, but the simplest is to select Ctrl+Alt+Delete, and then select Task Manager. In Windows, first click More details to expand the information displayed. From the Processes tab, select Details to see the process ID listed in the PID column. Click on any column name to sort.

How do you see what programs are running on Windows 7?

To open it, right-click the taskbar and selecting Task Manager or Start >Task Manager, depending on your version of Windows. In the Windows 7 version, the Applications tab displays currently-running applications.


1 Answers

What you want to do is go to the process overview.

Transaction SM66 shows you all active processes of the current system. This is especially helpful if you have more than one application server.

SM50 will show you all processes of the current application server where you are logged on. To view the available application servers, go to SM51.

From the process overview (in SM66) you can click on the process and click the "Debugging" button.

Similarly, from SM50, you can choose Administration -> Program -> Debugging from the menu to debug the program.

You can identify the process in which your program is executing from the detail on the item in the process overview.

Another thing you might want to do, if you are able to test your program with a limited set of data, is run it through runtime analysis (transaction SE30, or SAT in newer systems). This will allow you to identify bottlenecks in processing more easily.

like image 178
mydoghasworms Avatar answered Sep 29 '22 18:09

mydoghasworms