Application Development and Automation 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: 
Read only

Make changes in SBWP menu bar

Former Member
0 Likes
733

Hello,

I have an assigment to remove some of the links in the menu bar in transaction SBWP.

The users should not be able to maintain substitutes from their workplace, so these links should be removed or not choosable.

Does anyone have a good solution for this ?

After investigation I have found two solutions:

1. Remove links from menu bar USRROOT in Function Group SINWP.

2. Add codes for maintaining substitiutes SBWF, SEWF, SMWF to internal table lt_exclude in PBO STATUS_1000 in Function Group SINWP.

Both these solutions requires changes in SAP object, is there any other way to make this possible ?

Best Regards

Andreas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
560

Hello

Can you please try the option of transaction variant (tcode : SHD0) to de-activates these ok codes. Other option might be to check the possibility of having explicit enhancement spot to exclude the okcodes mentioned.

The other approach i can think of is to have implicit enhancement spots in the FM SIN_GRID_EXECUTE_WF and sub routine handle_other_commands at the beginning to handle the okcodes mentioned by raising a message to user.

Regards

Ranganath

3 REPLIES 3
Read only

Former Member
0 Likes
561

Hello

Can you please try the option of transaction variant (tcode : SHD0) to de-activates these ok codes. Other option might be to check the possibility of having explicit enhancement spot to exclude the okcodes mentioned.

The other approach i can think of is to have implicit enhancement spots in the FM SIN_GRID_EXECUTE_WF and sub routine handle_other_commands at the beginning to handle the okcodes mentioned by raising a message to user.

Regards

Ranganath

Read only

Former Member
0 Likes
560

SHD0 is a good option to go with if its Menu bar function codes. just create a transaction variant for this TCODe and you are done.

Read only

Former Member
0 Likes
560

Thanks, SHD0 worked fine.

Points awarded!

Br

Andreas