Application Development 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: 

SM04 Problem

Former Member
0 Kudos

Hi,

We are developing a program in order to log out the users using SM04, but this transaction do not shows all users connected, let me explain, in SAP ara connected 67 users, if we review table USR41 are 67 users, but in SM04 only shows 23 users.

strange, isn't it?

SM04

table usr41

Thanks,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

I believe the SM04 shows the users running on the server where you run

Try to use trx AL08 instead of SM04

Max

3 REPLIES 3

Former Member
0 Kudos

Hi

I believe the SM04 shows the users running on the server where you run

Try to use trx AL08 instead of SM04

Max

0 Kudos

Thanks

raymond_giuseppi
Active Contributor
0 Kudos

For a more programmatic solution use foillowing RFC enabled FMs (with adequate LOOPs)

  • TH_SERVER_LIST to get list of server
  • TH_USER_LIST to get list of users per server
  • TH_DELETE_USER  to log out user

Regards,

Raymond