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

Help !!!!!!

swatantra_vijay3
Participant
0 Likes
455

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
429

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 .

2 REPLIES 2
Read only

Former Member
0 Likes
430

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 .

Read only

Former Member
0 Likes
429

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