‎2011 Feb 28 12:41 PM
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
‎2011 Feb 28 1:12 PM
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
‎2011 Feb 28 1:12 PM
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
‎2011 Feb 28 2:34 PM
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.
‎2011 Mar 01 9:11 AM