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

Disabling standard menu function

Former Member
0 Likes
1,141

Hi,

We have a requirement where there is a need to disable the standard menu function in CO02 based on the user.After entering the order number,it takes to next screen. In that screen,i have to disable the menu option which is in Functions --> Restrict Processing --> Technically Completed. Can any one tell me how to acheive this.

Regards,

Krishnam Raju

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
934

Hi,

You can use transaction variant for that , thru SHD0 tcode.

but by this that menu function will get deactivated for all user, you have to check wether it can be use for perticular user or not.

Regards,

Bharat.

5 REPLIES 5
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
934

Hi,

Check this exit EXIT_SAPLCOWB_001.

Inside this, try creating the include and inside then put a condition.

if sy-uname = 'xyz'..

..

endif.

Check this include LXCOWBF01 for example.

Read only

0 Likes
934

Hi jayanti,

I have tried with that exit before and its not working.

Regards,

Krishnam Raju

Read only

Former Member
0 Likes
935

Hi,

You can use transaction variant for that , thru SHD0 tcode.

but by this that menu function will get deactivated for all user, you have to check wether it can be use for perticular user or not.

Regards,

Bharat.

Read only

0 Likes
934

Hi Bharat,

I thought of using transaction variants with variant groups as few users should be able to access that menu function.But for the remaining users there should be a provision to control the other menu functions such as 'Lock' , 'Unlock' etc based on the user.Is there any way to do this ?

Regards,

Krishnam Raju

Read only

0 Likes
934

Hi,

I am able to disable the menu function by creating the enhancement implementation for the spot 'es_saplcozf' in the function module 'CO_ZF_BUILT_FCODE_EXCL_TAB' .But i am not sure whether this is the right approach or not. Can any one give me the suggestions ?

Regards,

Krishnam Raju

Edited by: krishnam raju on Dec 30, 2008 12:01 PM