4 weeks ago
Hi everyone
I have a requirement in which i have to restrict CR types based on Authorization groups
For ex - If a CR type is for Hungary then when doing the change from edit button in UI only HU change requrest should be visible rest others should be deleted.
I am trying to create an implicit enhancement in get_data method of cl_mdg_bs_cr_types_feeder class to put a condition like
If data model EQ 'BP'.
then will check for authorization and based on that i will implement a conditional statement to delete unwanted CR's but in the above method i debugged a lot but i'm not able to find the field in which authorization group is stored.
Can someone help me out?
Request clarification before answering.
Hi @Adi21 ,
You can implement the BADI USMD_CREQUEST_INTEGRATION to filter CR Types. In the method FILTER_CREQUEST_TYPE, you can read the Authorization Group using MDG API and, based on that, filter the CR Types that need to be displayed.
Best Regards,
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The Best solution for this would be to design the roles with the restriction on the Change Request Type. This will be a clean solution without dependency on any enhancement. The Auth Object USMD_CREQ is provided for this purpose.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
56 | |
10 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.