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: 

Get user ids based on Authorisation object values

sankar_bhatta
Participant
0 Kudos

HI,

In SUIM, we have an option for gettng user id based Authorisation objects and its values. Is there any FM and group of tables that I can join to fetch this data in a program. I have debugged SUIM but could not really find where the logic is.

6 REPLIES 6

Sandra_Rossi
Active Contributor
0 Kudos

To know which tables are accessed by SUIM, you may use a SQL trace, with the transaction code ST05.

sankar_bhatta
Participant
0 Kudos

I have used ST05 and there are so many tables system queries. I am lost after an hour investigating those logs. Is there any FM / class ot set of tables that you can suggest to me.

Sandra_Rossi
Active Contributor
0 Kudos

Search the web then, for instance:

table authorization site:sap.com

s1252
Participant
0 Kudos

Did you try checking AGR_USER, AGR_1250 and any in this seri

DoanManhQuynh
Active Contributor
0 Kudos

you can get object and its profile from table USR12 or UST12.

user id and profile can get from table USR04.

so, join them and you can get the result you need.

i dont know what function module can do it, but for reference you can check function group: SU_USER. otherwise, you have to debug the SUIM to find out.

raymond_giuseppi
Active Contributor
0 Kudos

Look at a report such as RSUSR002, even if you are not able (not enough time) to analyze it, it will generate an ALV and wrapping it with class CL_SALV_BS_RUNTIME_INFO, you can prevent actual display and get the data back in your program.

If you fill confident look for class CL_SUIM_AUTH_APPL or tables such as (example)

  • UST12 - UST10S - UST4
  • UST12 - UST10S - UST10C - UST4