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: 

Function module to get user AND usergroup

0 Kudos

Hi Folks,

I need a function module which returns the user and the usergroup.

BAPI_USER_GETLIST won't work as it doesn't return the usergroup.

There are some other function modules but none of them can be called remotely.

I can't write a function module myself as we are working with validated systems.

The whole approval process would take months...

Does anybody know a function module which returns the user AND the usergroup AND can be called remotely?

Hope somebody can help me.

Bastian

1 ACCEPTED SOLUTION

former_member182371
Active Contributor
0 Kudos

Hi,

why don´t you copy it am make it RFC enabled?

Best regards.

5 REPLIES 5

former_member182371
Active Contributor
0 Kudos

Hi,

1.- have a look at table USGRP and do a "where used" search.

2.- have a look at fm 'SUSR_USER_SELECT_VIA_USERGROUP'

3.- or function group 'SUUI'

Best regards.

0 Kudos

Unfortunately 'SUSR_USER_SELECT_VIA_USERGROUP' can't be called remotely.

former_member182371
Active Contributor
0 Kudos

Hi,

why don´t you copy it am make it RFC enabled?

Best regards.

0 Kudos

Because of the validated system problem.

I can't transport Z* programs into production without going through 1000 change boards, change advisory boards and so on...

0 Kudos

are you talking about usr02-CLASS values if yes

BAPI_USER_GET_DETAIL returns this in

export parameter LOGONDATA-class

Regards

Raja