Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

process list

Former Member
0 Likes
654

Hi all,

I have a process which sleeps for one second and then executes some Select.

I am trying to find out about the process running under the SAP GUI. I tried SM66.

It is shown openly.

But how do I access this list from within my program?

I think there MUST be some kind of list for the processes but I cannot find it.

I tried to trace SM66 with ST05 but still can´t find it.

All I need is a list of the current running processes. I only need to read if there is a process for my REPORT.

So a table with USER and REPORT would be great. Is there such a table in SAP?

Thanks for your help,

Regards,

H Prokoph

1 ACCEPTED SOLUTION
Read only

Pawan_Kesari
Active Contributor
0 Likes
595

try function module TH_WPINFO.

However I feel this should be done using Locks.

Edited by: Pawan Kesari on Oct 28, 2009 7:04 PM

3 REPLIES 3
Read only

ThomasZloch
Active Contributor
0 Likes
595

Try function module TH_SYSTEMWIDE_WPINFO.

Thomas

Read only

Pawan_Kesari
Active Contributor
0 Likes
596

try function module TH_WPINFO.

However I feel this should be done using Locks.

Edited by: Pawan Kesari on Oct 28, 2009 7:04 PM

Read only

0 Likes
595

SOrry, I don´t know what Locks are.

However, Thomas, your solution works.

I will try using the Field wp_status to test if my process from USER

WP_BNAME is running.

Thank you for your rapid answer