Remove menu entry stopping the addon

I've a problem to remove the menu entry when I disconnect my addon.
I'm using B1 2005A SP01 PL14 and I'm developing using B1DE.
In B1 2004 I managed the SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition event (see after).
Private Sub oApp_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes)
     Select Case EventType
          Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
          Case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged
          Case SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged
          Case SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition
               Call removeMenuItems("removeAddonMenu.xml")
               Unload Me
     End Select
End Sub
Now, seems that the aet_ServerTerminition event is no longer fired so my addon is stopped but the menu entry is already presents.
I'm making some mistake or something is changed from my last addon.
How can I check the addon stopping?
Ciao. Nicola

Hi Nicola,
You must be ready to remove your menus and all you need to do before you addon stops in <b>aet_ServerTerminition</b> and also in <b>aet_ShutDown</b>. You must handle both events with the same code to be sure your addon will work in all cases.
I can see with EventLogger tool (available here in SDN B1 page) that the aet_Shutdown is fired first after stopping B1.
Regards
Trinidad.

Similar Messages

  • How do I remove unwanted entries in the Profile Manager window?

    Can anyone please explain how do you remove irrelevant entries in the Profile Manager dialog? Since I have both 4.0 and 3.6 installed,each with two profiles,I use to launch secondary profiles with the Profile Manager via a command line instead of a specific shortcut,and the dialog window always shows all four options,regardless of what path I enter : is it possible to clean up the dialog window,so that only the 4.0 profiles are displayed when entering the path to 4.0 profiles,and so on for 3.6,without actually risking to delete any profiles? BTW,4.0 profile folders are stored in a different directory than 3.6,and the 3.6 profiles were accessed with the Profile Manager window (no shortcuts to specific profiles at the time) before installing 4.0

    The Profile Manager is for all versions of Firefox you have installed - every Profile that is listed in the '''profiles.ini''' file will appear there. The location of the Profile folders has no effect on what the Profile Manager dialog window shows. There is no way to set it up relative to one program installation.
    Best thing to do is to have separate desktop shortcuts for each Profile / Firefox-version you want to use.
    http://kb.mozillazine.org/Shortcut_to_a_specific_profile

  • HOWTO remove an entry from the node list...

    Hi all,
    does anybody know, howto remove an entry from the node list TAB ?
    I recentyl updated my system to 11.5.10.2 including enabling autoconfig.
    Now, concurrent processes won't start, because of two entries in the node list tab (yes, it's a single node installation!). There are two entries, one with the IP-address and one with the hostname.
    Can somebody tell me howto remove this obsolete entry?
    Thanks.

    1) Login as APPS user to SQL*Plus
    2) Issue the following:
    SQL> EXEC FND_CONC_CLONE.SETUP_CLEAN;
    SQL> COMMIT;3) Run AutoConfig
    For more details, please refer to:
    Note: 260887.1 - Steps to Clean Nonexistent Nodes or IP Addresses from FND_NODES
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=260887.1

  • How do I remove multiple entries in the "Groups" index of contacts?

    How do I remove multiple entries in the "Groups" index of Contacts on the iPad?

    The Profile Manager is for all versions of Firefox you have installed - every Profile that is listed in the '''profiles.ini''' file will appear there. The location of the Profile folders has no effect on what the Profile Manager dialog window shows. There is no way to set it up relative to one program installation.
    Best thing to do is to have separate desktop shortcuts for each Profile / Firefox-version you want to use.
    http://kb.mozillazine.org/Shortcut_to_a_specific_profile

  • How do I remove an entry from the "Store Files" drop down list in the "Import Settings" section of Aperture 3.3.2

    The dropdown list "Store Files" in the "Import Settings" section of Aperture 3.3.2 displays the history of the entries previously added to the list. Some of the entries are no longer valid and I'm trying to delete them but I can't find a way to do this. This is a screenshot. Does anyone know how to do this?

    Once again - the Jive system ate my bullet points and messed up the formatting
    Is the MacOS X version in your signature correct? Then you cannot be using Aperture 3.3.2?
    You should not be seeing duplicate entries in the "Store Files" pop-up menu. This looks like your Aperture Preferences file is corrupted and needs fixing.
    Quit Aperture (and log off and on again, if you are running MacOS X 10.7 or later)
    Then reveal your User Library (from the Finder's main menu bar, the "Go" menu. Hold down the options-key until the library apears in the drop-down menu)
    In the Library folder select the "Preferences folder and locate the file "~/Library/Preferences/com.apple.Aperture.plist"
    Now you can either
    remove the com.apple.Aperture.plist file to the Desktop, to force Aperture to create a new one, but you will have to set again your Preferences from the "Preferences" panel,
    or make a backup copy of the file and edit it, if you are an experienced programmer and have Xcode installed. To fix the drop-down list you need to edit the item "RecentReferenceFolders" and delete the redundant folder names. Enter "recent" into the search field to find it quickly. If you click an item in the list, plus/minus buttons should appear. But only try this, if you know how to edit property lists, otherwise it will be much safer to delete the faulty list and to set your preferences again from the "Preferences" panel.
    Regards
    Léonie

  • Removing menu items in the upper right corner?

    I found some *.menu files in "System > Library > Core Services" folder that allow you to add menu items near the clock in the upper right corner of the Finder. I added some by accident just to see what they are and now I can't find a way to remove them. Does anyone know how? There is an "eject" icon and a "OS9 Startup" icon that I want to remove. There is also an American flag for the keyboard type.

    Wow, that was easy, thanks!
    Thought I was going to have to do a bunch of command line stuff.

  • Removing an entry for the PLU file in the store?

    Hi there,
    Does anyone know of how we can remove a single or group of entries in the store PLU file without having to perform a reload?
    Thanks
    Lon

    Hi
    kindly make the file "plu.txn" in the below format and put the file in the folder XPS/Parm :Plu.txn along with   "newparm.trg" in the  pos server system.
    3,2050000000010,,1,HairOil25ml,7,,N,N,,Y,,,,,,,,,Y,,N,N,,,,,,08/11/19,,Y,,,,,,,,,,,,,,,,,,,,,,EA,,,N,,,,,,,,,,,,0,,N,,N,N,N,N,Y,N,N,N,N,N,N,N,,,,,,,,,,,,,,Y,N,N,,0,0,,,,,,,,,,,0000001501
    First character in the file denotes asbelow:
    1.Add
    2.Modify
    3.Delete
    Regards
    Damu

  • I cannot find the 'organize bookmarks' button AND menu entry on the new browser

    1. The 'organize book,arks' menu item in the bookmarks menu is missing.
    2. When I try place the bookmark button along with other buttons, it never appears. (in customize toolbars)
    Help !!!

    "Organize Bookmarks" has been renamed to "Show All Bookmarks" in the Bookmarks menu in Firefox 4.
    I believe the bookmarks button will appear on the main toolbar only when the bookmark toolbar is hidden.

  • Removing multiple entries in the 'Open With' menu

    When I right mouse click on a file, I get the Open With option. On selecting this I get a huge list of options - a lot of them duplicates. How do I remove them?

    You have to rebuild the LaunchServices database. You can do this in the terminal, for instructions see:
    http://www.macosxhints.com/article.php?story=20031215144430486
    or you can use a program that claims it can do it for you (never used it myself):
    http://www.titanium.free.fr/pgs2/english/maintenance.html
    Patrick

  • Removing in entries in the history?

    Hi
    I'm doing the finshing touches on my project and started polishing the navigation in my site. I started putting all these back buttons in my pages to easily move around my site. These back buttons use the following javascript: self.history.back() or self.history.go(-1)
    But I get some problems with this method. There are alot of pages that I reuse. For example I have page1.jsp and page2.jsp that go to page3.jsp (forgive me for the lack of originality here). Page3.jsp goes to page4.jsp which is a form that posts to itself. When page4.jsp is done it's post, it displays a success message and provides a link back to page3.jsp. Now when I hit back I want to go to page1.jsp or page2.jsp, whichever page I originally was from. But I end up going to the success message of page4.jsp
    I was thinking if I can remove the entry of pag4.jsp from the history, when I hit the back on page3.jsp I will go back to either page1.jsp or page2.jsp properly.So is there a method or approach to do this?
    Of course my approach could be off, and there might be a better way to do this. Just want to hear form the other people who implemented back buttons in their site.
    Thanks in advance for all the help!

    You could potentially store the value of the page you originated from, and redirect using the stored value rather than try to mess with the web history and use javascript. This isn't always ideal, but seems like it would fit your sitation fairly well.

  • I am using the "Menu Selection With Events.vi" example alongside other while loops, When I select exit from the new menu it stops the other while loops but not the menu/event while loop

    The event driven menu example works fine and I've integrated it into my application. I have built in simple local vars to link menu selections to existing GUI buttons. The problem is that I cannot get the File-Exit menu option to switch off/terminate the application. The [1] "Stop": Value Change panel of the event structure simply switches off the other while loops but leaves the event while loop running. Add a while loop to the axample using a local var from the event while loop to terminate 2nd while loop to get the effect.
    Help appreciated, Chris

    Attached you will find a modified version of your VI.
    I documented what I did on the block diagram.You were right on you just needed to add a variable with a true wired to it.
    Have fun with it.
    Joe
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    Menu_Selection_with_Events_%26_while_loop[1].vi ‏76 KB

  • How do i remove calender entries from the home scr...

    im new to nokia fones and have recently had a nokia n95. i would like to know if there was a way i could remove the 'no calender entries today' from the home screen cuz its driving me mad lol.
    any help would be much appreciated.
    thanx
    niki x

    its been a while since i have used a series60 phone but i'll try to help.
    you need to go to
    settings-general-stand by
    & then disable/deactivate/switch off the today screen feature/option.
    hope i could help.
    Video Audio Integrated Operation

  • How can I remove redundant entries it the "Open With" pull down?

    In Mountain Lion, now, when I right click on a document or image and move down to "Open With" I get a triple redundant (long) list of applications that might do the task. How can I purge the list of all the duplicates?  Part of the problem COULD be that I have three operating systems on my machine,(different spinning disk volumes) snow leopard, lion and mountain lion.  SL and Lion, are not spinning now, but they have been ot one time or another.  Is there a function that re-collects the AVAILABLE disk applications for "Open With?"
    Apple needs to update the below product list for "OS X 10.8.1"

    Go back to the editor and close the photo there.

  • How to remove duplicate entries from Settings General iTunes Wi-Fi Sync?

    On my iPhone under Settings > General > iTunes Wi-Fi Sync there is a duplicate entry for my Mac. One is active, the other one shows options greyed out, as if it can't see the Mac on the network (although it's the same name). Is there a way to manually remove that entry from the iPhone?
    I am running iOS 7.0.4, and OS X 10.9.1, iTunes 11.1.3 on the Mac.

    iPhone 3G doesn't support Wi-Fi sync or IOS 5.1.1. You have to connect to iTunes using the dock connector to sync.
    Unless you have a iPhone 3GS or jailbroken.

  • Remove all entries in sub csv list from parent csv list?

    I have two csv files, one is a complete (parent) list, the other is a sub list. I want to remove all sub-list entires from the parent list. Without manually removing each entry from the parent list one at a time, is there an effecient way to remove all sub list entries from parent list in one simple effort?
    Each list contains email addresses, I want to exclude the sub list from the parent list for the next mailing as they have already completed an action.
    Example:
    Parent list (csv1) has A, B, C, D, E
    Sub list (csv2) has B, D
    How can I remove B & D from Parent list in a concise action?
    Thanks!

    Hi smashart,
    Ian has given you a method that requires manual removal of the unwanted values from the Parent list. My preference would be for a method that constructs a new sub list that includes only the items wanted, but does not affect the original parent list data.
    Like Ian's method, this requires opening both the parent list and the existing sub list of addreses not wanted as separate tables in the same Numbers document.
    Here's an example:
    Two formulas are required.
    Parent::C2, and filled down: =IF(COUNTIF('Sub 1 (have acted)' :: $A,B2)>0,"",MAX($C$1:C1)+1)
    This creates the index shown in column C of Parent. This column may be hidden.
    Sub 2::A2, and filled down: =IF(ROW()-1>MAX(Parent :: $C),"",LOOKUP(ROW()-1,Parent :: $C,Parent :: $B))
    This uses LOOKUP to copy the indexed addresses to Sub 2.
    (Note: Close examination of the addresses in Sub 1 will show a repeated address. As can be seen, this does not affect its removal from the list in Sub 2.
    Regards,
    Barry

Maybe you are looking for