Creating a cascading menu button an a GUI status

I have a GUI status on a normal screen (NOT on an ALV grid).  On this status I have added 3 function buttons (SEARCH, CREATE, MANAGE).  I want to add a 4th button that appears and acts like a cascading menu button. An example of what I want the button to look like is similar to what you would see on the standard 'Change Layout' button on an ALV Grid.  I am not using an ALV grid, though - but I'm trying to get a button on the GUI status to act like that - where you click on it and you see multiple options such as Display, Edit, Copy.
I don't want to add this to my MENU bar.  I'm trying to add it to my APPLICATION bar.  If anyone has ever done this, please let me know how you did it.
Thank you for any helpful information.
-P. Foley

I think that is done with the "toolbar" control so it will be in the screen, not on the application bar... have a look at SAPTOOLBAR_DEMO1, and the CTMENU_* programs, plus
http://help.sap.com/saphelp_sm32/helpdata/en/8f/bcc23657ad0730e10000009b38f839/frameset.htm
for more info on this, if it is the style you want.
Or perhaps look at Generic Object Services to add a button between the application bar and below the menu (as in ME23N, FB03 etc)
Jonathan

Similar Messages

  • How to put separator lines in menu items in a gui status ?

    Hi,
    I have created gui status for my z transaction
    I need the separator lines in the menu items like it is seen in std transactions
    For example, in any screen , in the Help menu, we can see the following.
    Application Help
    SAP Library
    Glossary
    (line)
    Release notes
    (line)
    SAP Service Marketplace
    could you please help me how to put the lines ?
    thanks

    Hi,
    Goto Your GUI status.click on your  MENU bar.
    under the menu bar you will have your own menu items.
    where ever you want separator line  do the following way.
    you will have 2 columns under menu bar
    1) code
    2) text.
    under code dont put anything.
    but under text column you put dashes and enter or select right click there and choose separator line.
    you will get separator line.
    activate and run the ztcode.you will get .
    code                                            text
    Application Help                         
    SAP Library
    Glossary
    Release notes
    SAP Service Marketplace
    Thanks
    Parvathi

  • Hide all buttons in a GUI-STATUS ?

    I'd like to hide all functions from the toolbar of a GUI-STATUS except for one function.
    I could of course create a table with all the FCODE except for the one and then call
    SET PF-STATUS 'bla' EXCLUDING itab.
    But whenever I add a function to the GUI-Status then, I have to change that code. Is there a way to prevent this.

    Hello Daniel,
    Looking at the responses that your question has got, I wouldn't say that I had understood the question as well as
    the others have.
    I understand that you want to be able to dynamically add and delete the Functions from your toolbar. But what I did
    not quite understand is what exactly you had meant by "...I have to change that code....". If you want to perform an
    action, you would have to write some code anyways. So here's what I would do:
    1. Define a GUI-STATUS which has all the function codes you will ever need during the program.
    2. You can manipulate the Buttons on the toolbar with the EXCLUDING option.
    3. I don't believe that you need to use the FM RS_CUA_GET_STATUS_FUNCTIONS. Consider using instead the ABAP statement GET PF-STATUS. The Online Documentation has explained this statement wonderfully.
    4. I don't think that creating a database table to merely maintain the FCODEs of a program is a sensible option either.
    Instead consider using an internal table of constants, where you have all the FCODES required.
    I hope these points would clarify some of the things. If you need further assistance, please get back.
    Regards,
    Anand Mandalika.
    P.S. Two points that I would like to remind you:
    a). You can use the statement SET PF-STATUS SPACE to reset all the PF-STATUS.
    b). Once you set a PF-STATUS, it will be available till the moment you use the next SET PF-STATUS statement.

  • How to create a dropdown menu with sub buttons that link back to the labels on click.

    im trying to create a dropdown menu buttons that when you rollover to the top central button the button it opens up like a drop down menu would containg two other subsectional buttons. This makes the sub sectional buttons seperate from the main stage making it difficult to simply give them a on click,  sym.play("label") function.
    the buttons work like this in symbols or sections stage/panel/homebutton inside home button is group dev containg another group dev containg the button which I need to link back to a "label" in the /panel/ symbol or section. Thank you very much.

    pdp_1 wrote:
    Hi!
    I would like to create a DVD menu that offers two languages. So the first page gives two options: Language 1 and Language 2. Then depending on which language you choose, you go to a menu that proposes different videos and a photo slideshow.
    Regardless on which language button you click on initially, you get the same content but in different languages.
    I've been looking at Premiere's templates, which I can certainly customize, but I really don't see how to create the double menu. Does anybody have an idea?
    Put the video with the first language on the timeline followed by the video with the second language.  Use chapter markers so you can have each video as a chapter in the menu.
    I use Premiere Pro, so I can't give more specific directions. Perhaps somebody like ATR will chime in.
    Also, I have another question: can I put videos from different projects in the same DVD with Premiere or must all of the videos that go into the DVD be in the same project?
    Thank you very much!!!
    pdp1
    They must be in the same project.

  • Creating GUI status

    Hi
    I am creating gui status in a function group from se80
    I created same menu in two different gui statuses.
    I want different fields in the menu.
    I have 'goto' menu in first and second gui status.
    I want different fields in the 'goto' menu in both gui statuses
    when i change the fields of the menu in one gui status it automatically changes in the second guistatus
    kindly help me,
    thanks

    Hi,
    Try this..
    Delete the second gui status...
    Then create the second gui status by not copying...
    add the menu and function codes one by one...and then when you enter the same menu..it will ask whether do you want to copy the existing menu or create new menu....here say create new menu....It should work..
    Thanks
    Naren

  • Desactivate standard buttons in GUI Status

    We are looking to desactivate these standard buttons in the gui status.
    Button 1: Creates new session
    Button 2: Generates a shortcut on the desktop
    Button 3: Help
    Button 4: Customizing of local layout
    We thing that these buttons are set automaticaly by SAP. Is there a way to desactivate them. (SAP version 4.6C)
    Help Required,
    Best regards.

    Hello Daniel,
    It is not possible to do that. The reason is that these buttons are a part of the SAPGUI. They don't come from the application server - i.e., they don't have any function codes as such. So you wouldn't be able to disable them.
    Regards,
    Anand Mandalika.

  • GUI-status disable button?

    Hi,
    How to disable an button on my gui-status MAIN?
    tnx.

    Hi,
    You can use the following command:
    DATA: it_buttons TYPE STANDARD TABLE OF sy-ucomm,
              wa_buttons TYPE sy-ucomm.
    wa_buttons = 'SAVE'.
    APPEND wa_buttons TO it_buttons.
    SET PF-STATUS 'ABC' EXCLUDING it_buttons.
    Screen will have the button disabled having F-CODE 'SAVE'.
    Regards,
    Kunjal

  • GUI status in OOPS in ALV

    Hi Gurus,
      Am developing the ALV report in OOPS. In that report am displaying 2 grids one after the other. My problem here is am getting the tool bar separately for the 2 grids. So i disabled the tool bar for two grids in layout. And i copied the standard gui status SLVC_FULLSCREEN into that report. Now am getting the tool bar. But i did nt get the button events. The buttons are clickable but the functionality is not doing. How to get the functionalites for the ZSLVC_FULLSCREEN. Please guide me some suggestions how to copy the functionalites for those.
    Points will be awarded
    Thanks
    Ravi

    check the all function codes of the buttons in ZSLVC_FULLSCREEN GUi status
    and write u r functionality in your progrm in at user-command subroutine.
    case sy-ucomm.
         when 'xxx'
               do something.
         when 'yyy'
               do something.
    endcase.

  • Creating GUI status menu - some entries are seen in red

    hi
    while creating menus in gui status, some entries are seen in red
    why these are in red, i dont know the reason
    cud u please help ?
    thanks

    Hi,
    These are inactive functions.  You can toggle them to Active/Inactive with the menu painter function F7.
    Regards,
    Jamie

  • Creating the simplest menu similiar to multiple buttons

    Hi everybody,
    my question is easy. All I want to do is create a simple menu, which does look as a menu, and at the same time works as this exaple:
    <s:HGroup>
         <s:Button label="Start" click="somePlayer.start()"></s:Button>
         <s:Button label="Turn Around" click="car.turn()"></s:Button>
         <s:Button label="Exit" click="myHouse.exit()"></s:Button>
    </s:HGroup>
    I tried using MenuBar and I got really frustrated that every example on the net shows only setting up the labels or icons and not actually linking them in this simple manner. I don't want a dataProvider of XML where I can't set the action that is supposed to happen. I don't want to attach the action somewhere in eventHandler.
    Any straightforward solution? It will be really appreciated!

    I answered to myself by grouping buttons and disabling the button in his state.
    Thanks anyway!

  • Having trouble creating an On/Off button for the subtitles on the main menu

    Hello!
    I'm creating a DVD with one subtitle track that I'd like to be ON by default but I want users to have the ability to turn them off without the use of the remote. I was thinking of creating a Subtitle on/off button but can't seem to get this to work even though I've read several tutorials. Do I need to create a separate 'set-up' menu with a 'subtitles on' and 'subtitles off' button?
    As of right now I have a single button on the main menu that says 'Subtitles On' which I was planning to be dark blue when active (on) and light blue when inactive (off). See what I'm talking about here: http://pfti.org/wp-content/uploads/2013/07/Screen-shot-2013-07-12-at-1.26.47-PM.png
    See also: http://pfti.org/wp-content/uploads/2013/07/Screen-shot-2013-07-12-at-1.33.48-PM.png
    Any help/suggestions/advice would be much appreciated! Thanks in advance!
    N

    If I have two buttons, one for Subtitles on and one for Subtitles off, how do I make it so that the one that is chosen is highlighted?
    You set it by changing the menu's property for the default button. This is one of the reasons a separate menu is generally used. If you have a single menu with 3 buttons ("play movie," "subtitle on," and "subtitle off"), and you set the default to "Active Subtitle Track," then your "play movie" button won't ever be the default.
    To play with this and to decide how you want your disk to work, create a test EN project with 2 menus. Rename one of them "Main Menu" with 2 buttons "Play Movie" and "Subtitle Setup." Rename the second menu "Subtitle Setup" with 3 buttons, "Subtitle On," "Subtitle Off," and "Main Menu." As noted, the "Default Button" property for the menu "Subtitle Setup" will be "Active Subtitle Track." The button "Subtitle On," using specify link, will link to its own menu, default button, but will specify Subtitle 1. Same for the button "Subtitle Off," except that it will specify Subtitle Off. The Main Menu button simply links to the main menu.
    Note that in Encore preview, do not use your computer mouse to hover over the buttons. It will trick you into thinking that you have or have not set the behavior correctly. Use the little remote function in the bottom of the preview window.

  • Help with Acrobat js created menu button

    I as using a short javascript which creates a menu button. The js script is in the correct Acrobat javascripts folder. I am using Acrobat Pro 8.1.2
    var oButObjAddSigningPage =
    {cName: "AddSignPage",
    cEnable: "event.rc = (app.doc != null)",
    cExec: "AddSigningPage()",
    cLabel: "Add Signing Page",
    cTooltext: "Add signing page to the current document"
    try
        app.addToolButton(oButObjAddSigningPage);
    }catch(e){console.println(e);}
    The function AddSigningPage()" is in the same script file.
    Problem: The button loads and displays correctly (greyed out) if Acrobat is launched. If a pfd file is then loaded the button comes alive and the function works OK .
    But the button does not display at all if Acrobat is launched by clicking on a pdf file.
    Help please.

    The proper input to the "app.removeToolButton" function is the name of the toolbar button, not the object that was used to create it.  Try this:
    app.removeToolButton("AddSignPage");
    The very first thing you need to check for is the "Add-ons" toolbar.  After loading your document, and when the toolbar button doesn't show.  Right click on an empty portion of the Acrobat Toolbar to display a list of all the individual toobars.  Is there an Add-ons Toolbar Listed?  Is it checked?
    To determine if your Folder level script was loaded and run, Test the function created in that script.
    Run this from the console window
         AddSigningPage
    The code for the function will be returned if is was defined.
    To determine if your toolbar button was loaded, run this code from the console window.
    var lst = app.listToolbarButtons()
    for(var i=0;i<lst.length;i++){
      if(lst[i].cName == "JSAppToolBar")
        console.println(lst[i]);
    the "JSAppToolBar" is the internal name of the "Add-ons" toolbar.
    However, from what you have described it does look as if you've hit on a bug.  Probably a timing issue.  What are the characteristics of this file?
    Thom Parker
    WindJack Solutions
    The source for PDF Scripting Info
    http://www.pdfScripting.com
    The Acrobat JavaScript Reference,  Use it Early and Often
    http://www.adobe.com/devnet/acrobat/javascript.html

  • Create and Enable Find/Torch menu Button in Customized Form

    Hello Friends,
    I want to Create and Enable Find/Torch menu Button in Customized Form??? How can i do that? Please Help !!!
    Thanx in Advance
    Deepak Arora

    Hi,
    Please see the Application Developer guide.
    Applications Releases 11i and 12
    http://www.oracle.com/technetwork/documentation/applications-089559.html
    Thanks,
    Hussein

  • Hello  Every time I create a motion menu the play buttons have a fuzzy outl

    Hello
    Every time I create a motion menu the play buttons have a fuzzy outline. I really don't like this and would love to know how to avoid it as it looks really bad and not crisp.
    Here's how i do it:
    1) I create the motion menu in AEX and add in the button here. I have the button coming in about 5 seconds after the start to give a delayed effect and this will therefore be the loop point I set in DVDSP.
    2) I then export out a Photoshop layers file from AEX and then bring this file into Photoshop to make the overlay. I'm not sure if I'm doing this step correctly as I then go Image/adjustments/levels and make the play button black
    3) I then make the menu an .m2v and bring this and the overlay .jpg file into DVDSP.
    4) When I select the play button the edges go fuzzy. This particular PLAY button was the text PLAY in white, with a black outline. Maybe this black outline had something to do with it?? I've also had heart shaped buttons for example and this does the same thing.
    Hope you can help.
    Many thanks, Margie

    One thing that could help is not using a .jpg which is compressed. A .tif may work better (to some degree).
    Not sure if you are using text highlights or something else when you mention you make the button black. Larger text (20pt plus, Sans Serif) can often help. Part of it also may be the selection process of what you are changing. Sounds like you are sending out the highlights as a seperate layer by itself. If so you do not not to switch it to Black, depending on the color you can map it out in DVD SP.
    Another thing is that if the highlight is in the motion menu (unhighlighted) the highlighing may be slightly off of the underlying item making it a bit fuzzier. Could also be colors.
    On pt 4, not sure if you mean select as "I pressed the button for the action" or as just moving to the button. If the former, then there can be a slight shift as the DVD itself moves to different place. Feathering the black edges may also help....

  • Reference menu buttons in iTunes Store with GUI scripting

    How can I differentiate a pressed/focused state of a menu button in iTunes Store?
    iTunes > window 1 > radio group 1 > menu buttons (Music, Movies …)
    I still couldn't find an attribute or property to do so.

    Press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (85895)

Maybe you are looking for