‎2017 Aug 02 9:28 AM
hi friends ,
i want to disable sost tool bar buttons is it possible to do.if its possible ,can you let me know.

Thanks & Regards,
umayaraj.B
‎2017 Aug 02 12:29 PM
Umaya,
RSSOSOSTF01>>form init_1000>>perform set_fcodes.
In this subroutine you can append all those ICONS ( into Internal table gt_exclude_sosb ) that you see in that toolbar,to be excluded based on some authorisation check.Because as far as I see before adding any icon they are checking this internal table whether a icon needs to be excluded or not.Hence,if those ICONS in that tool bar are included in gt_exclude_sosb, it won't show up for the end user.
In the debugging you can get the names of those ICONS which you want to be excluded,from the internal table mt_toolbar.
To be sure,in debugging you can append one ICON in gt_exclude_sosb and see if it is showing up or not.If it is not showing up,then you are good to go with this approach by creating an IMPLICIT ENHANCEMENT, at an appropriate place.
K.Kiran.
‎2017 Aug 02 10:10 AM
Uamaya,
SOST is not an end user transaction.
May I know why you want to disable the Tool bar (highlighted).
K.Kiran
‎2017 Aug 02 10:19 AM
Hi kiran,
in my company some end user i have authorization to use,but now we decide to disable that tool bar button(delete) for some user,that's why i'm asking is it possible? any BADI or user exit there ?
Thanks & Regards,
umayaraj.B
‎2017 Aug 02 10:50 AM
None I'm aware, but you could (should) manage the user authorizations to disable some icons (check with transaction SU24 at authorization objects managed in the transaction)
For an Abap solution, perform some debug/source analyzis to change content of excluded function (Look for internal table 'gt_toolbar_excluding' of program 'rssoststat')
‎2017 Aug 02 11:07 AM
hi raymod ,
i can't to find program in that name(rssoststat) . can you explain how to disable icon in su24.
thanks
‎2017 Aug 02 12:12 PM
‎2017 Aug 02 12:29 PM
Umaya,
RSSOSOSTF01>>form init_1000>>perform set_fcodes.
In this subroutine you can append all those ICONS ( into Internal table gt_exclude_sosb ) that you see in that toolbar,to be excluded based on some authorisation check.Because as far as I see before adding any icon they are checking this internal table whether a icon needs to be excluded or not.Hence,if those ICONS in that tool bar are included in gt_exclude_sosb, it won't show up for the end user.
In the debugging you can get the names of those ICONS which you want to be excluded,from the internal table mt_toolbar.
To be sure,in debugging you can append one ICON in gt_exclude_sosb and see if it is showing up or not.If it is not showing up,then you are good to go with this approach by creating an IMPLICIT ENHANCEMENT, at an appropriate place.
K.Kiran.
‎2017 Aug 03 5:51 AM
Umaya,
Did you get to check OSS note 2351372 mentioned by Jurgen L and trace of Authorisation checks as suggested by Jelena.
Don't have the access to SAP Service Market place,may be the OSS Note suggests a more refined option to achieve this.
Rather than simply saying "Completed the task" it would be nice if you can share your approach.
K.Kiran.
‎2017 Aug 02 8:44 PM
Why do you need to do this? And why not just run authorization trace and see if there are any standard authorization checks in place already for some actions?
‎2017 Aug 02 9:07 PM
I recommend to read the OSS note 2351372 - User access to transactions SOST, SOSV, SOSG and SOSB
‎2017 Aug 03 5:36 AM
Thanks you all for your quick help...i success fully completed that task 🙂
‎2017 Aug 19 11:04 AM
That would be nice to know how you did it, just a way for thanking people who tried to help you, and for people in the next years who will search for the same question.
‎2017 Sep 16 9:31 AM
hi sandra rossi ,
i created implicit enhancement in "RSSOSOSTSTAT" then assigned to t-code for this program.
‎2017 Sep 16 9:52 AM