‎2005 Sep 03 8:58 AM
Hi all gurus
Can we activate / deavtivate the standard menu options in a transaction. If yes can u tell me how to do it...if no can u tell me the reason why it cant be done.
This is so that in the transaction IW32, we want to deactivate one menu option for a particular set of employees.
Thanks in advance
‎2005 Sep 03 10:49 AM
You can deactivate the standard menu options by using the command
SET PF-STATUS 'PF-XXX' EXCLUDING <ITAB>.
Here <Itab> will have the function codes which needs to be deactivated.
Sometimes SAP offeres this table in user exits so that you can fill the function codes which needs to be deactivated.
Check the function module EXIT_SAPLCOIH_006 for your requirement .
‎2005 Sep 03 10:49 AM
You can deactivate the standard menu options by using the command
SET PF-STATUS 'PF-XXX' EXCLUDING <ITAB>.
Here <Itab> will have the function codes which needs to be deactivated.
Sometimes SAP offeres this table in user exits so that you can fill the function codes which needs to be deactivated.
Check the function module EXIT_SAPLCOIH_006 for your requirement .
‎2005 Sep 03 1:05 PM
You can use a transaction variant to hide menu options of a transaction. This links describes how it can be done:
http://www.sap-basis-abap.com/sapbs010.htm
Cheers,
John