cancel
Showing results for 
Search instead for 
Did you mean: 

How to deactivate the menu bar

Former Member
0 Kudos

Hi,

Please let me know how to deactivate the menu bar or some tabs in menu bar for a particular t-code assigned to a specific user.

Regards,

Manu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

You have to do this using ABAP program. take help of ABAP resource here.

Please go through this ->

A GUI status is made up of a menu bar, a standard toolbar, an application toolbar, and of function key settings. Each screen can have one or more GUI statuses. For example, an editor program might have two statuses - one for display mode and one for change mode.

An application toolbar can contain up to 35 pushbuttons. A menu can contain up to 15 entries.

Use SET PF-STATUS SPACE to deactivate previously entered statuses and activate the default list status. You can deactivate functions at runtime with the EXCLUDING addition. If you want to deactivate several function codes at the same time, you must first transfer these to the system using an internal table.

The EXCLUDING option allows you to change the appearance and available functions of a status from within the program. This is useful if the individual user interfaces for a range of list levels are very similar. You can define a single global status, and then just deactivate the functions you do not need using EXCLUDING. Specify <f> to deactivate the function code stored in field <f>. Specify <itab> to deactivate all function codes stored in the internal table <itab>. Field <f> and the lines of table <itab> should be defined with reference to the system field SY-UCOMM.

Related links ->

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba34635c111d1829f0000e829fbfe/content.htm

http://www.sts.tu-harburg.de/teaching/sapr3/ABAP4/set_pf_s.htm_

http://abapprogramming.blogspot.com/2007/07/lesson-36-program-interface.html

http://www.saptechies.com/suppress-print-options-from-system-menu-bar/

Hope this will definitely help. Do let me know.

Regards

- Atul