on 08-19-2016 3:14 PM
Regads,
Abhishek Bhowmik
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
Best Regards,
Zoltan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zoltan,
I have checked tcode se18 and se19 for BADI implementation but in our GRC system BADI_GRAC_REP_OBJECT is not available .And another thing to let you know as I have tried on to enhance method SEARCH_USER of class CL_GRAC_USER_REP to implement the filtering condition on 'SAPTECH ID' but I have failed to do. For alternative I have checked the method "SEARCH" of component "GRFN_UI_BROWSE_COLLECT" is it possible to do enhancemnt here??To write down the filtering condition ?on Iternal table LT_QUERY_DATA as it is populating all SAPTECH* related id's?? because SEARCH_USER method returnig all SAPTECH id using RT_USER internal table to component
"GRFN_UI_BROWSE_COLLECT".Please suggest.
Regards,
Abhishek Bhowmik
Hi Zoltan,
We are not doing filter users during the repository sync.We have below filtering condition for user id 'SAPTECH ID' to show in the attached screen shot :
1.requested with valid to date expired ( in past)
and requested with valid to date active but request cancelled -- should show
2.pending for approval with already past date
should show
these filtering condition we want to write for display on above screen shot list.Only those 'SAPTECH ID' which are maintain that filtering condition will be shown.These 'SAPTECH ID 'could fetch from GRC repository or LDAP .is BADI_GRAC_REP_OBJECT is ok for writing the logic?
Hi Abhishek,
The data that you are trying to modify is accessible in search method of component , GRFN_UI_BROWSE_COLLECT and hence modification of this method would serve the purpose . However you need to ensure that the enhancement is valid only when its being called from the access request component , ( you can do a where used check to see that , GRFN_UI_BROWSE_COLLECT is called from various components of access control.)
Regards, Sharad
Hi sharad,
1.Thanx for your reply.I thought of doing enhance over there in GRFN_UI_BROWSE_COLLECT there one internal table
LT_QUERY_DATA which is populating data.But if is there any badi thn the task will be easy.do you have any information is there any BADI available??
2.could you please explain wht did you mean by this line "However you need to ensure that the enhancement is valid only when its being called from the access request component"???
Regards,
Abhishek Bhowmik
Hi Abhishek,
I am not aware of a BADI that fits this requirement.
Regarding , the comment on which youre seeking the clarification --- Please make sure that the enhancement that you perform is applicable only when the calling method is the from access request webdynpro component and not other components. This would ensure that the changes don't effect the behavior of other parts of the application. Browse and collect is called from various other components as well , which you can check by doing a where used check.
Regards, Sharad
Hi Abhishek , please see this link , Enhancing the WebDynpro Component and Methods - Web Dynpro ABAP - SCN Wiki
Regards , sharad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.