How to deactivate menu bar option on screen in a dailog program

hi,
my requirement is there is menu bar main (having three options under it create, display and change). Now if my transaction code is zcreate then i want the create option on the menu bar to be diabled and other two to be enabled, when my transaction code is zdisplay then i want the display option on the menu bar to be diabled and other two to be enabled. pls suggest with code snippet how can i achieve it

Hi,
You can disable set of main items like given below,
TYPES: ty_status TYPE sy-ucomm.
  DATA: it_status TYPE TABLE OF ty_status WITH HEADER LINE.
  APPEND 'CHANGE' TO it_status.
  APPEND 'DISPLAY' TO it_status.
  SET PF-STATUS '0100' EXCLUDING it_status[]. "Set the menu excluding the function codes
                                                                         " appended to the int table
Regards,
Manoj Kumar P

Similar Messages

  • How to capture 'DELETE' menu bar option in VA02 application.

    Hi to all
    Please tell me how to capture 'DELETE' menu bar option in VA02 application.
    It is captured in Sy-ucomm but as the pop up message comes it is over written.
    Based on the 'DELETE' selection i need to write my own validation coding in user exit .
    Please tell me how to do that.
    Thanks & Regards
    Anubhav Gupta

    Thanks to all
    In present situation userexit_save_document_prepare
    Validation logic is fired for both VA01 and VA02 application.
    Here for checking logic is  :
    if T180-TRTYP = 'H'.
      vmbtcode = 'VA01'.
    else.
      vmbtcode = 'VA02'.
    endif.
    Now I want to skip this logic if -  In  VA02 application Delete sales order option from menu is selected.
    Please give me suggestion.
    Thanks& Regards
    Anubhav Gupta

  • Smart View menu bar option not showing in Word

    Hello,
    Recently had Smart View (11.1.2) installed on my PC. I can see the Smart View menu bar option in all office products except Word (2003). Any suggestions as to how to get this to show?
    Thanks in advance.

    You need to ensure the COM add-in is enabled. File > Options > Add-in.
    If it's not shown, you will need to manually add the add-in referencing the HsAddin.dll from the Smartview\bin directory.

  • Deactivation of Menu bar option

    Hi Friends
    Please provide any sample code for deactivating one menu bar option in IW32 transaction using Function module exit.
    I want to deactivate the option when the order status is"CRTD".

    Hi,
    I think this enahancement spots are available it may be useful to you
    you can search exit with in enhancements,  for each enhancement point is having morethan one exits
    ES_RIAFVC10
    ES_MIOLVC10
    ES_RIAUFM20
    ES_SAPCDUP3
    ES_SAPLCOAI
    ES_SAPLCOI0
    IWO1_TL_INTEGRATION
    ES_RIAFVC20
    ES_RIAUFK10
    ES_MIOLVC20
    ES_RIAUFK20
    Thanks
    Ganesh

  • Spry Menu Bar jumps off screen-right in CS6

    Frustrating little glitch I'm experiencing.  When in a NON-LIVE mode in CS6, I have a Spry Menu Bar that I've placed, customized and is functioning properly.  It is precisely in the right location in BOTH live mode and in a browser preview, however, when I am editing the site the menu bar jumps off screen right to where I have to scroll right to locate it.  The only thing that pops it back in to place is by tweaking a setting like "Float" from right to left then back to right.  But once I begin to edit the site again it will jump off the screen.  This isn't a massive deal since it remains in place in live and preview modes, it's just annoying for layout purposes while I'm editing.  It sort of screws up the aesthetic of the layout.  Has anyone found the same problem?  Below is my layout.css and my Spry Menu css.
    @charset "utf-8";
    /* Simple fluid media
       Note: Fluid media requires that you remove the media's height and width attributes from the HTML
       http://www.alistapart.com/articles/fluid-images/
    img, object, embed, video {
        max-width: 100%;
    /* IE 6 does not support max-width so default to width 100% */
    .ie6 img {
        width:100%;
        Dreamweaver Fluid Grid Properties
        dw-num-cols-mobile:        6;
        dw-num-cols-tablet:        8;
        dw-num-cols-desktop:    12;
        dw-gutter-percentage:    15;
        Inspiration from "Responsive Web Design" by Ethan Marcotte
        http://www.alistapart.com/articles/responsive-web-design
        and Golden Grid System by Joni Korpi
        http://goldengridsystem.com/
    /* Mobile Layout: 480px and below. */
    .gridContainer {
        margin-left: auto;
        margin-right: auto;
        width: 95.8695%;
        padding-left: 1.0652%;
        padding-right: 1.0652%;
    #LayoutDiv1 {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #header {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #maincontent {
        clear: none;
        float: left;
        margin-left: 2.6785%;
        width: 100%;
        display: block;
    #navigation {
        clear: none;
        float: left;
        margin-left: auto;
        width: 100%;
        display: block;
        margin-top: 20px;
        margin-bottom: 20px;
        background-color: #300;
        height: 16px;
        top: 5px;
    #footer {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
        color: #FFF;
        background-attachment: fixed;
        background-image: url(../bkgdContent.png);
        background-repeat: repeat;
        margin-top: 20px;
    /* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
    @media only screen and (min-width: 481px) {
    .gridContainer {
        width: 91.4836%;
        padding-left: 0.7581%;
        padding-right: 0.7581%;
    #LayoutDiv1 {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #header {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
        text-align: center;
    #maincontent {
        clear: none;
        float: left;
        margin-left: 1.6574%;
        width: 100%;
        display: block;
    #navigation {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
        height: 16px;
    #whf-content {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #donatecontent {
        clear: none;
        float: left;
        margin-left: 1.6574%;
        width: 100%;
        display: block;
    #theride-content {
        clear: both;
        float: left;
        margin-left: 0;
        width: 49.1712%;
        display: block;
    #donate-content {
        clear: none;
        float: left;
        margin-left: 1.6574%;
        width: 49.1712%;
        display: block;
    #footer {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    /* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
    @media only screen and (min-width: 769px) {
    .gridContainer {
        width: 89.0217%;
        max-width: 1232px;
        padding-left: 0.4891%;
        padding-right: 0.4891%;
        margin: auto;
    #LayoutDiv1 {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #header {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
        color: #FFF;
    #maincontent {
        clear: both;
        float: left;
        margin-left: 0;
        width: 32.6007%;
        display: block;
    #navigation {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #whf-content {
        clear: both;
        float: left;
        margin-left: 0;
        width: 32.6007%;
        display: block;
    #donatecontent {
        clear: none;
        float: left;
        margin-left: 1.0989%;
        width: 100%;
        display: block;
    #donate-content {
        clear: none;
        float: left;
        margin-left: 1.0989%;
        width: 32.6007%;
        display: block;
    #footer {
        clear: both;
        float: left;
        margin-left: 0;
        width: 100%;
        display: block;
    #theride-content {
        clear: none;
        float: left;
        margin-left: 1.0989%;
        width: 32.6007%;
        display: block;
    #whf-content {
        font-family: Georgia, "Times New Roman", Times, serif;
    SPRY CSS
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: auto;
        float: right;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 4.3em;
        float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 4.3em;
        position: relative;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: relative;
        margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #300;
        color: #FFF;
        text-decoration: none;
        font-size: 12px;
        font-family: Georgia, "Times New Roman", Times, serif;
        text-align: center;
        height: 16px;
        padding: 0px;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #003;
        color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #003;
        color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;

    Design view is not reliable.  Learn to work in Code View or Split View with Live View to check your layout.
    Spry menus are not responsive so they will not work well in a Fluid Grid Layout.  Find a better menu system.
    Project Seven Responsive Tabs
    http://www.projectseven.com/products/tools/tpm2/tutorials/responsive/index.htm
    10 Responsive Menus
    http://speckyboy.com/2012/08/29/10-responsive-navigation-solutions-and-tutorials/
    In the meantime,
    It's often easier to work with an unstyled HTML page. 
    To disable CSS, go to  View > Style Rendering > untick Display Styles. 
    Or, use a Design-Time Style Sheet.
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7e17a.h tml
    Nancy O.

  • Adobe premiere elements 12 - how to create menu bar action for my inserted image button

    adobe premiere elements 12 - how to create menu bar action for my inserted image button without using their movie menu theme

    forbemag
    I do not think that I am completely focused into this completely, so let us see if the following is going to help.
    You are going to need a base for your button. When you mention "image" button, I am assuming that you are using that term to differentiate between a text button and a thumbnail type button.
    The menus (main and scene) take their origin in .psd files on the hard drive and strict nomenclature and structure for Layers Palatte. And, the buttons on the menus trace back to the menu markers on the Timeline, main menu marker and order of placement of scene markers. The scene thumbnail will only appear when there is a scene marker on the Timeline to which it.
    In view of all that
    Where have you already inserted this "image (button)"...into the Layers Palette of a Photoshop document or other? Is this "image (button)" in a structured Layer Group in the Layers Palette with sublayer groups, text layers, graphic/background layer"?
    Let me give you an example
    If you have a button (with thumbnail) on the main menu and you want that to open to a specific scene in your movie, then you use a main menu marker on the Timeline at the spot that you want that button to target.
    If I am getting closer to what you seek, then please further clarify the DVD navigational envisioned scheme.
    Thanks.
    ATR
    Add On...I did not see the exchanges between us and SG until after I had posted mine. I thought that your discussions were concluded. Please excuse the interruption.

  • Translucent Menu Bar option

    Hello,
    I updated to 10.5.2 on my Imac 2.8 and my Ibook G4 1.5. The Translucent Menu Bar option is available on my Imac but no where to be found on my ibook. I havent changed or hacked either OS. any suggestions....wierd right...
    -KG

    The latest Leopard update, Mac OS X 10.5.2 Combo Update , fixes that and you can now toggle between opaque and translucent in the System Preference/Desktop pane.
    OT

  • Another absent Translucent Menu Bar option

    I read a few of the last threads regarding the inability to turn on or off the translucent menu bar option afforded by the 10.5.2 update... sort of.
    I still am not comprehending the graphic specifications that either allow or disallow the ability to select or deselect the option. I liked the translucency of the menu bar. On my G5 iMac, the option is not here after installing the operating system and graphic updates, nor is the short-lived translucent menu bar.

    Some people are noting that the checkbox isn't present but that after downloading and installing the combo update, that it appears. Worth a try if you don't mind another reboot.

  • How to disable menu bar and dock when playing a full screen game? Like sims 4

    i play sims 4 on my MacBook pro and if I go to close to the bottom of the screen or the top the menu bar or dock pops up I was wondering if there is A program or a setting I can use to disable that while in something full screen or gaming

    The game itself should already have the option for full screen. But you can go to system preferences dock and check the hid dock option. Then you would have to go to the very edge of the screen to get the dock to reappear.

  • HT2490 menu bar at top screen mountain lion is on pop up mode, I want it to stay visible but can't find where to do that on the system preferences

    I hate the mountain lion upgrade and have had more problems with it than good things!
    Its reset a lot of things on my computer, one of them being that the menu bar at the top with the apple logo on the right etc pops in and out of view whereas I would like it to stay visible but admittedly I'm no computer genius but I can't find where to change this setting. Any help???
    And mountain lion with safari blocks plug-ins so I installed google chrome which works fine so I can watch you tube, why can't I watch you tube with safari??? totally annoying!!!! I have the most up to date adobe flash player also but it always tells me its not up to date. No idea how to fix this but I hope apple fixes it soon. Really disappointed with the "upgrade"
    I would appreciate anyone that could lead me in the right direction so I can function normally again.

    If you can't see the menu bar using Safari, it sounds like you're using full screen mode.
    Try  Control + Command + F to reveal or hide the menu bar.
    For the blocked plugin issue try here > safari 6.0 flash problem (blocked plug...: Apple Support Communities

  • How to hide menu bar in SAP EP 7.4

    Dear all,
    We are upgrading our system from EHP4 to EHP7.
    How to hide the menu bar (Back, forward,history, favorites, etc..) in the SAP Enterprise portal  7.4 version ?
    Please help me to resolve the issue. Thanks in advance.

    Hi,
    This can be achieved in Framework Page Configuration.
    Navigate to Content Administration -->Portal Display -->Framework Page Configuration.
    Then choose the Frame work Page which is configured .
    In Menu area uncheck the options which you want to hide it in the Framework Page.
    Regards,
    Srinivasan V

  • Office applications how to connect Menu Bar?

    I have taken a job and the whole place is on Mac. I am ready to hammer my machine to pieces and shoot myself.
    How to I attach the Menu Bar to the open Excel, Word document I am working on instead of the top of the screen? I need to on both Excel and Word at the same time.
    How do I make them open with the same basics every time I open a document? I am wasting so much time every time I open anything setting the font, font size, alignment, etc.

    In as much as these are third party applications you might be better off posting at the Microsoft web site forum areas:
    http://www.microsoft.com/mac/help.mspx

  • Menu bar on wrong screen

    my menu bar keeps coming up on the right screen. i have 2 monitors.
    I move it to the left in sys prefs but it stays on the right side even when switching cables. it's weird.
    need some help.
    i just updated to yosemite 10.10.3 from mavericks

    Hi,
    For a try you can use URI scheme for the specified desktop screen or full screen and check the result. You can refer the following article for information.
    Remote Desktop Client URI Scheme Support
    https://technet.microsoft.com/en-us/library/dn690096.aspx
    Apart if you have RD Gateway setup then you can try the option for RD Gateway to uncheck “Bypass RD Gateway for Local address” and verify result.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to change menu bar in Korean to English in InDesigh CC

    Hi,
    I just installed free trial version of InDesign CC on my Mac.
    I don't know what I selected, but the menu bar shows in Korean which I can read it.
    However, I prefer to have menu bar in English.
    Does anybody know how to change it?
    Do I have to reinstall it?
    I don't want to try it because I am afraid of losing 30 days of trial change by playing around.
    Thank you in advance.

    If you have the Firefox user interface (menu bar) in the wrong language or want to change the current language then you can get Firefox in the language of your choice here:
    http://www.mozilla.com/firefox/all.html
    Uninstall the current Firefox version, but make sure that you do not remove your personal data.
    Install the new Firefox version of the wanted language.
    See also http://kb.mozillazine.org/Profile_backup and [[Backing up your information]]
    You may need to (re)set the pref "general.useragent.locale" to the preferred language (e.g. "en-US" or "en-GB") on the about:config page.<br />
    You can open the about:config page via the location bar, like you open a web site.<br />
    Use the Filter bar at the top of that page to quickly locate the pref.
    See also http://kb.mozillazine.org/about%3Aconfig

  • How to degin a  select-option in screen painter?

    Help me !
    How can i create an object  like select-option  in screen painter.
    I want to input a range ,but there are no button or text   in screen painter  like  select-option?

    hai u can create select options on screen but in little differernt way..
    1st way : if u want to give only 1 interval then declare on screen as two different variables in same line
    and after that append the value in ranges.
    2nd way: here u can define as asingle input vriable  beside that variable u can give a icon as extension in select option and give give some function code to that.if we click on that in user command write following code :
      IF V_OKCODE = 'EXT'.
        CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
            EXPORTING
                 TITLE             = 'Title'
                 TEXT              = 'Text'
                 SIGNED            = 'X'
            LOWER_CASE        = ' '
            NO_INTERVAL_CHECK = ' '
            JUST_DISPLAY      = ' '
            JUST_INCL         = ' '
            EXCLUDED_OPTIONS  =
            DESCRIPTION       =
                 HELP_FIELD        = 'T001W-WERKS'
            SEARCH_HELP       =
             TABLES
                  RANGE             = R_WERKS
            EXCEPTIONS
                 NO_RANGE_TAB      = 1
                 CANCELLED         = 2
                 INTERNAL_ERROR    = 3
                 OTHERS            = 4
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    help field the field reference wich u want to declare and range is where values will be stored atomatically as in select options.
    once we click the icon if we execute the function module a window will open as in selection option in reports.there user can enter the values.once the user enters the values it will stored automatically in ranges declared like r_werks in above example.
    try it..

Maybe you are looking for