on 11-19-2010 5:54 AM
Hi Experts,
There is field on SRM Portal in Shopping Cart Screen. We need to restrict access for this field. For this we need to create an authorization object so that it can be used in a role. Later that role will be used in UI_CONTROL_BADI to enable / disable access of that field.
Can anybody guide me how this can be achieved?
Thanks
Siddarth
I think you have given solution steps yourself..
Please elaborate more on your exact issue...
Thanks
Edited by: Vipin Bhardwaj on Nov 19, 2010 4:28 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vipin,
I agree with you that I provided the steps but my question is how to achieve this?
How to create an authorization object which can be used to limit access of just one field that also on portal -> Shopping cart screen? Because as I said once authorization object is created we can use that in role and further role in BADI to restrict access. I need help on first part basically.
Any pointers for that will be quite helpful.
Thanks
Siddarth
Hi siddharth,
Please go through following link for reference. it is very useful as a starter: (click on "view article" button)
[http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c]
and you can use this as well for better understanding:
[http://help.sap.com/saphelp_nw04s/helpdata/en/08/e44ae047ff4f518c84dcf768b9c141/frameset.htm]
~vipin
Edited by: Vipin Bhardwaj on Nov 19, 2010 5:42 PM
Hi,
Instead checking into portal roles you can use below.
to hide this field you can write code in UI CONTROL BADI for a condition (i.e. role based).
for authrorization check, use FM "Authority_check" with passing your auth. object as input.
step 1. use FM for authority check
step 2 . check if sy-subrc = 0. then set 'X' to fields visible and enabled as 'X' (plesae refer signature)
~Regards
Vipin
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.