Skip to Content
avatar image
Former Member

filtering user id based on condition

I have one requirement in NWBC Tcode at the time of creating request we have to filtering user id (SAPTECH ID) based on some filtering condition. And those id which will fulfill the filtering criteria will be shown in the below screen shot .After debugging I have found class CL_GRAC_USER_REP  and method SEARCH_USER where I can do the enhancement .But at the time doing implicit enhancement when we put break-point inside ENHANCEMENT and END ENHANCEMENT the control is not going to that position. So my question is that is there any other way to do it.Any expert suggestion.

Regads,

Abhishek Bhowmik

filter.PNG (128.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 23, 2016 at 11:59 AM

    Hello Abhishek,

    You can achieve this requirement by using the BADI BADI_GRAC_REP_OBJECT to filter the users synced to the GRC repository, see SAP note 1960807 for further information. When searching users in the access request, they will be searched in the GRC repository tables in case your user search data source is a SAP system. In case of LDAP it is depending on SPRO parameter 2050. If you want to enable real-time LDAP search, you can use custom objectclass attributes to filter the search results, see example in Connecting SAP GRC AC 10.X to Microsoft Active Directory

    Best Regards,

    Zoltan

    Add comment
    10|10000 characters needed characters exceeded