Skip to Content
author's profile photo Former Member
Former Member

How to deactivate the menu bar

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2008 at 02:05 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.