on 04-29-2021 8:23 AM
hi ppl,
I need to get the RED work processes on to a report program.
Help me out.
Answers appreciated and rewarded.
Hello harishankar7145_9
SM66 builds the list of work processes in BUILD_SYSTEM_LIST routine of RSMON000_ALV_NEW. First it gets the list of servers with
server_list = cl_system_info=>get_server_list( only_active_server = 0 ).
Then it loops through the list of servers and it gets work processes for each server in BUILD_LIST_OF_SERVER routine with
worker_list = server_info->get_worker_list( with_application_info = 1
with_cpu = 1 "with_cpu
only_active_worker = only_active_worker ).
Finally it converts the list of work processes to the output format with
worker_list_disp =
worker_list_handler=>conv_list_for_display( EXPORTING worker_list = worker_list
restricted_view = restricted_view ).
It shouldn't be that difficult to replicate this logic in your custom report.
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried debugging the transaction to see where/how the data is collected?
I think there is a class CL_SERVER_INFO that can be used to find the active processes for a server. And once you have the data, you'd just have to limit it to the records that are relevant for your case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.