Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SOST Tool bar button disable

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

kiran_k8
Active Contributor

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.

13 REPLIES 13

kiran_k8
Active Contributor
0 Kudos

Uamaya,

SOST is not an end user transaction.

May I know why you want to disable the Tool bar (highlighted).

K.Kiran

Former Member
0 Kudos

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

raymond_giuseppi
Active Contributor

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')

0 Kudos

hi raymod ,

i can't to find program in that name(rssoststat) . can you explain how to disable icon in su24.

thanks

0 Kudos

SU24 won't hide any function, you have to analyze the authorizations listed in this transaction and then create and affect role(s) to user so SAP will hide/grey their related icons.

I forgot some 'SO', program name is actually RSSOSOSTSTAT (RS SO SOST STAT)

kiran_k8
Active Contributor

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.

kiran_k8
Active Contributor

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.

Jelena
Active Contributor

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?

JL23
Active Contributor

I recommend to read the OSS note 2351372 - User access to transactions SOST, SOSV, SOSG and SOSB

Former Member
0 Kudos

Thanks you all for your quick help...i success fully completed that task 🙂

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.

hi sandra rossi ,

i created implicit enhancement in "RSSOSOSTSTAT" then assigned to t-code for this program.

0 Kudos

Thank you.