Removing add-on menu from the Main menu in SAP B1

Hi ALl
I developed an ADD-ON for SAP B1. It starts and stops properly.
But When I stop Add-On it still appear in the main menu as a menu which not desirable, I want to remove that menu also when I stop it.Pls help me on that matter
Thanks
Padma

Hi Padma,
You have to catch the Application event and in the aet_ShutDown event put the michel's code
public static void Init()
oApplication.AppEvent += new SAPbouiCOM._IApplicationEvents_AppEventEventHandler(OnApplicationEvent);
static void OnApplicationEvent(SAPbouiCOM.BoAppEventTypes EventType)
            if (EventType == SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition)
                //Remove the menu
SAPbouiCOM.Menus oMenus;
oMenus = SBO_Application.Menus;
oMenus.RemoveEx("MenuUID");
                Application.Exit();
            else if (EventType == SAPbouiCOM.BoAppEventTypes.aet_ShutDown)
                //Remove the menu
SAPbouiCOM.Menus oMenus;
oMenus = SBO_Application.Menus;
oMenus.RemoveEx("MenuUID");
                Application.Exit();
Best regards,
Jesús Medina

Similar Messages

  • How to add a privacy page and exclude it from the main menu, but include in links at the base

    adding a privacy statement page and excluding it from the main menu, but including in links at the base of site

    Right click on the page in Plan view and choose to exclude from menus. This will take it off your main nav.
    For your bottom nav, change the menu to manual and add the privacy page manually.

  • How can I make an external link (to a different folder) from the main menu?

    How can I make an external link (to a different folder) from the main menu?

    If the folder is outside the Muse page, you will have to insert manual HTML to define a more complex URL like e.g. ../_stuff for going one level up and then into a folder called "_stuff" The deeper you are in the hierarchy, the more ../ you will have to add to climb up.
    Mylenium

  • Shuffle songs from the main menu includes audio books

    When I choose Shuffle Songs from the main menu - audio books seems to be included in the shuffle list. Is that how it's suppose to be?
    Yes, the audio books are tagged as such and do not appear in the song list when i browse it manually.

    Hello there,
    Not sure if that is the way it supposed to be or just one of those little quirks that hasn't been worked out yet by Apple.
    This may be the case, but you can set these tracks to "skip when shuffling" in iTunes so that the next time you hit Shuffle on your iPod, these tracks will not be played. To do this, locate the songs in iTunes, right->click on them and choose "Get Info" from the shortcut menu. From there head over to the Options tab and make sure there is a tick mark next to "Skip when shuffling." Then hit OK and sync the updated changes to your iPod.
    Sort of a work around for now, but I hope it helps.
    B-rock

  • From the Apple TV, I chose netflix from the main menu. I then chose the show Prison Break.  Only 22 episodes from Season 1 are displayed.  When chosing NetFlix from my Blue Ray player I see all the episodes.

    From the Apple TV, I chose netflix from the main menu. I then chose the show Prison Break.  Only 22 episodes from Season 1 are displayed.  When chosing NetFlix from my Blue Ray player I see all the episodes.

    Those are all the episodes for that season, if you want to view another season you need to select it

  • Can't find the Slideshow option under Photo from the main menu

    I have downloaded pics to my Ipod Nano and successfully viewed them in the past.
    Accessing the Photo Option from the Main Menu, the only option I see is for Slideshow Settings. The option for actually playing a Slideshow seems to have disappeared.
    Any ideas?

    Have you tried
    Settings >Main Menu
    make sure Photo is set to ON

  • IDVD 7.1.2: I am making music instrument instructional DVDs, and I want to include several audio loops in that the viewer access from the main menu to play along with

    iDVD 7.1.2: I am making music instrument instructional DVDs, and I want to include several audio loops that the viewer access from the main menu to play along with

    Export the slideshow out of iMovie via the File  ➙  Share ➙ File menu option as a 480p Quicktime movie.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best quality video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    OT

  • Adding/Removing items from the main menu

    I don't know why my iPod won't let me add or remove items from my main menu.
    I go
    Settings > Main Menu > (check what I want on the main menu) > Reset Main Menu > Reset
    When I go out to the main menu again, nothing has changed.
    Anyone else having this problem? Thank you for help!

    If you do a reset then you're resetting it to default. If you want to change anything ya just change it to on/and or off, then hit the menu button to go back. Don't go all the way to reset. Hope this helps.

  • Remote Menu button: to the chapter menu or the main menu?

    Using DVD Pro (version 4.2.1) for the first time, and I've discovered a lot of fun elements. Here is a question about the remote control settings.
    I want people to be able to return to the +main menu+ if they want while playing the track, by pressing 'menu' (and I've found the resume feature, too). However, the track has chapters, which are assigned to 3 chapter menus. So, when they are playing a particular chapter, i want them to be able to return from it to the +chapter menu+ it came from, by pressing the 'menu' button.
    However, this doesn't work: when playing the video track, pressing the 'menu' button takes me to the chapter menu assigned to that particular chapter, not the main menu that I assigned to the track.
    Well, I see in the handbook that the marker remote setting takes precedence over the track setting ... so which would you find preferable:
    1. when the viewer is playing the video, the menu button: goes back to the main menu.... then when the viewer is watching a particular chapter, pressing 'menu' also goes back to the main menu, instead of the chapter menu, so viewer has to navigate back into the 'scenes' menu
    or
    2 when watching the whole video, pressing 'menu' takes the viewer to the chapter menu and then has to 'up' to the Main menu.... and therefore when watching a chapter only, 'menu' button returns to the particular chapter's menu, which is fine.
    I thought I would have the 'menu' button return to the chapter menu:: up button for faster/easier access to the main menu, for viewers just watching the video, and convenience for viewers watching a chapter.
    What is the more experienced opinion?
    thank you
    Elizabeth

    Hal MacLean wrote:... 'Stories'. If you are playing the track from your main menu, then the menu call for the track should take you back to the main menu. If you are on a chapter menu and start playback then instead of going to the chapter marker, go to a story that contains the chapter marker instead. The story can also have a menu call and end jump set.
    Ahh!
    The thing is, if you start a chapter playing, do you want the footage to continue to the end of the track, ....
    Yes, that's exactly what i want, and as above, for the chapter in the chapter menu to return to that chapter menu
    If the former, put all of your markers into a single story and set the menu call to go back to the chapter menu.
    Thank you!
    I had already created stories from the second track on the dvd, with each one having an end jump back to the story menu and as no one had replied to this post, i had decided to make the chapters in the main track into stories too, but wanted them to continue into the next chapter. In fact i'd already created these 11 stories, some with 2 chapters in them, when I read your post.
    So i did as you said and put all the chapter markers into one story, with no end jump for the chapters, but a menu call from the story to the 'chapter' menu instead of the main menu. Much cleaner than the way i had started to do.
    And it works just the way i want it to : track's menu call is to the main menu, 'chapter' menu calls are to the chapter menu. Thank you so much!
    Elizabeth

  • How do I remove "Recent Items" Documents from the apple menu?

    I've been searching for an answer to this question for the better part of 3 hours now.  W
    Several iterations of osx ago, there was the ability to separately limit how many recent items were shown for Applications, Documents and Servers.  Over the years, I simply installed a newer version of osx on top, and surprisingly my recent items always eliminated the Documents from the list. 
    I've since done a clean install of mavericks after installing an SSD, and i've lost this small but important part of my work flow.  No matter what I've tried to remove the documents from Recent Items, it always shows up.  I can still boot into my old HDD (which is now installed as a supplementary drive and also updated and running mavericks 10.9.2), and see from clicking on the Apple Menu > Recent Items that it only displays Applications and Servers.
    Try as hard as I can, I can't simply figure out how to remove the documents from the recent items menu.  I've tried editing the com.apple.recentitems.plist file, to show 0 items for documnets, but this never seems to work.  (I've since read that this file is simply rewritten on logout.) Strangely, if I go into the old setup System Preferences, Recent Items:  it is showing as None.  I also suspect that maybe I used Tinker Tools or some other utility to change some command line preference (using the gui) several years back.  Not sure how I could investigate what would need to be done to compare files or otherwise figure out how to remove the documents section from the recent items menu.
    It's starting to drive me crazy.  Anyone?

    The Apple menu is at the top left hand corner of your screen, click on it and about this Mac is the first choice.
    Click twice on Version to get serial number.

  • How to find out the Menu UID from the main menu

    You can easily Find the Menuuid for menuitem that open a form, but how can you find out the menu uid for f.e. Modules.
    I want to add a submenu under modules.

    Hi Francis,
    You have access to the complete list of menus UIDs into the UI Help File.
    You only have to search for "Menu Items IDs" in the UI Help file.
    Regards,
    Trinidad.

  • I want to make a video where the user can select a film from the main menu and it plays over and over.

    How can I do that? Segmentation Markers? Thanks in advance for answering my noob question.

    The function of looping a media file (i.e. movie) is typically a function of the media player software, it can not be embedded into a movie file.
    As an alternative a video DVD can be programmed during authoring to loop any file (i.e. at end, jump to, start of file)

  • You can't access your own content from the top menu anymore?

    Apple made a monumental FAIL decision for me regarding the new Apple TV.
    They really want to force feed their iTunes store to us so badly that they have now stripped all of your own content from the main menu.
    No longer can you go to TV Shows and watch... well, YOUR TV shows. Apple buried all of your personal content a couple of menus deep. In fact, the entire Music category is Now gone! Unbelievable!
    And I can't use album covers for a screen saver anymore? That was a great feature! i guess they don't want music associated with a TV device. Very bad decision in my opinion.
    This unit is a step BACK, not forward.
    Am is missing something? is there a way to get this content back to the front so I can easily access my stuff?

    Frozo wrote:
    Apple made a monumental FAIL decision for me regarding the new Apple TV.
    agreed
    They really want to force feed their iTunes store to us so badly that they have now stripped all of your own content from the main menu.
    agreed. the appletv is now an itunes store device (with your own content as a side issue).
    No longer can you go to TV Shows and watch... well, YOUR TV shows. Apple buried all of your personal content a couple of menus deep. In fact, the entire Music category is Now gone! Unbelievable!
    agreed
    And I can't use album covers for a screen saver anymore? That was a great feature! i guess they don't want music associated with a TV device. Very bad decision in my opinion.
    agreed
    This unit is a step BACK, not forward.
    agreed
    Am is missing something? is there a way to get this content back to the front so I can easily access my stuff?
    you're not missing anything unfortunately.

  • Can you create folders/menues in the playlist menu?

    Was wondering if it's possible to created menus/folders (not sure that the correct lingo is) in the playlist menu in your iPod. I know you can do this on the iTunes program on your PC but it would be really helpful if it was possible to do this on the iPod itself.
    For example:
    From the main menu click on Music then Playlist and instead of having a list of playlists, have additional folders like say 80's and click in that and have are your different 80s playlist in that folder.
    Hope that makes sense. Thanks in advance for any help.
    jla

    You can create a playlist on the go. Just browse through your Artists, Songs, or Albums, and when you get to the one that you want to create a playlist for, just hold down the center button until the title of the song flashes quickly twice.
    Once you are done creating your playlist, you can go to iPod > Music > Playlists >On The Go > and click play!
    Hope this helps,
    Cory

  • With Firefox 5.0 I am not able to access my mail page at Google Mail: from the main page my personal page do not open, writing "Redirecting" but nothing happens. Thanks for help.

    After I have prunted my username and passworg Firefox is going to a https page, writing "redirectin" but nothin happens. With Internet Explorer everything works properly. How can I solve this problem. I like Firefox very much!

    It is possible to reset the zoom size.Have you tried [[Font size and zoom - increase the size of web pages|Firefox's zoom feature]]? This will help increase the size of web pages.
    * To make things bigger, press '''Ctrl''' and '''&#43''' at the same time.
    * To make things smaller, press '''Ctrl''' and '''-''' at the same time.
    * To reset the size back to normal, press '''Ctrl''' and '''0''' at the same time.
    You can also use the [https://addons.mozilla.org/en-US/firefox/addon/2592/ NoSquint]. add-on to change the default zoom level for all websites at once. After setting your global zoom level, you can still fine-tune the zoom on individual sites.
    '''Using NoSquint:'''
    #After installing NoSquint, make sure you have the Add-on Bar displayed:
    #*Right-click the new tab button ("+") or a blank area of the tab bar to the right of it and choose Add-on Bar from the shortcut menu.
    #Click the % on the Add-on Bar to call up site preferences, then click the Global Settings button, then the Zooming tab.
    #*You can experiment with sizes larger than 125%, but it's not recommended that you go higher than 150% unless you have a large high-resolution monitor.
    If there are particular sites that still present a problem, feel free to post their URLs.
    Please let us know if this helped you!
    Thank you.

Maybe you are looking for

  • Oracle iSales - iPad application

    Hello, Below is my story: Environment : iPad3 - 16GB with iOS 6 Background : I have created a html page in which I have added images, texts, jquery plugin(slider control (reveal.js) - which is mainly used to show each section as a slide). Now I have

  • Bringing photos in at a higher dpi

    I use Photoshop Elements 2.0 with a 6.2mp camera and the photos come into PSE at 180dpi and 11x17. I'm thinking about a new 8.5mp camera and shot some test shots. They came into PSE at 72dpi at 24x35. If I convert the photo to 300dpi it becomes a 4x6

  • Corrupt bc Templates folder

    Hi, My templates folder appears to be corrupt. The templates files were all created in muse on another machine, I'm trying to use dreamweaver to edit them. I can see the templates folder on the server but not any of its contents. However it does cont

  • Strange thing with ExternalInterface when profiling

    Hello. I use Scout for analyze application and found out strange thing with ExternalInterface: I regularly get some overheads with ExternalInterface._evalJS. But I don't any explicit calls of ExternalInterface.call during this overheads. Does it mean

  • Skype in violation of California's gift card law

    I've received an email informing me that my Skype credit will "become inactive" (be taken from me by Microsoft) if I don't use some of it before a specific interval elapses. This is in violation of California state law which states that any purchased