Main Menu in SAP gets flickering when i starts my Addon

Hi All,
My Problem is ,When i starts my addon by using addon-Manager,the Main Menu gets flickered....It will occur till the menu's in my addon get loaded...
Can anyone please help me to find a solution for the Problem? in order to avoid this flickering?
Thanking you in advance...
Anand

Hi Anand,
This is the kind of Main function that i use for my add-ons. The code is in VB.NET.
Sub Main()
        Try
            'Compiling for Add-on then use this string
            ApplicationRunPath = Application.StartupPath.ToString
            'Debugging then use this
            'ApplicationRunPath = IO.Directory.GetParent(Application.StartupPath).ToString
            ConnectAddon()
            InitializeTablesFields()
            AddUDOs()
            Dim oCommandCenterForm As SAPbouiCOM.Form
            ' Get reference to the Command Center form
            oCommandCenterForm = SBO_Application.Forms.GetFormByTypeAndCount(169, 1)
            ' Freeze it
            oCommandCenterForm.Freeze(True)
            ' Adding menu items here
            AddMenuItems()
            ' Unfreeze and update the Command Center form
            oCommandCenterForm.Freeze(False)
            oCommandCenterForm.Update()
            Destroy(oCommandCenterForm)
            System.Windows.Forms.Application.Run()
        Catch ex As Exception
            MessageBox.Show(ex.Message)
        End Try
    End Sub
BR,
Siju Dasan

Similar Messages

  • Add query to Main menu in SAP 2007

    Hi all!
    Can i add query to main menu in SAP 2007. Now, i only add done query to My menu.
    Thank you!

    Hi Tien,
    You cannot add the Query to the main menu.you can try the other way round. Paste the query in the crystal report and then check the report is comming OK. Then add it to the main menu via crystal Reports.
    Regards,
    Raj

  • I got macbook pro 13" i bought in 2011 but its now getting slow when i start up or when shutting down .and apps takes time to open like just bouncing????????

    i got macbook pro 13" i bought in 2011 but its now getting slow when i start up or when shutting down .and apps takes time to open like just bouncing????????

    See the Mac OS X Speed FAQ.

  • 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

  • Itunes main menu doesn't come up when I plug in ipad to computer. It is stuck on the music menu

    i recently plugged in my old ipad into my pc in order to transfer info from my old ipad to my new ipad. the itunes menu is stuck in the music menu, I can not get to the main menu in order to do anything with my ipad. I ended up syncing the 2 ipads thru icloud, but still, I can't get out of the music menu of itunes.

    That's the most current version, and rather what I suspected. Many people haven't yet figured out the new default interface in iTunes 11. To get to the iPad information so you can sync, click the iPad button in the header bar at the upper-right:
    Or go to the View menu and select "Show Sidebar" and the interface will then look substantially like it did in earlier versions. If you don't see the menus, go to the small icon with the arrow at the extreme upper left and select "Show Menu Bar":
    Regards.

  • I get error102 when i start to download osx 10.8.5?

    how do i fix this thanks

    You may not have much success with slow Internet speeds. These are all pretty large files.
    Before you start your update be sure you do these things:
    Repair your hard drive and permissions.
    Repair the Hard Drive and Permissions - Mavericks, Lion/Mountain Lion
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Make a full backup of your current system.

  • SOA_INFRA application not getting initialized when I start the soa_server

    Hi,
    I have created a Weblogic Domain, with SOA server and BAM server. After starting the Admin Server, when I start the Managed Server (soa_server). I get the following exception in the console:
    <Jan 21, 2011 8:38:09 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initia
    ize the application 'soa-infra' due to error java.lang.ClassNotFoundException:
    avax.wsdl.WSDLException.
    java.lang.ClassNotFoundException: javax.wsdl.WSDLException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.wsdl.WSDLException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    Truncated. see log file for complete stacktrace
    >
    Though the soa_server is up and running I do not see the SOA tree structure of Farm_<domain_name> from the EM.
    Please advice as to what can be done to get the library having WSDLException class or is it someother problem ?

    Make sure that you have installed SOA 11.1.1.3.0 on Weblogic 10.3.3
    Post the version of softwares you have installed, here?
    Regards,
    Anuj

  • IPod gets stuck when it starts play mostly after deep sleep

    Hi,
    I have a problem with my 60G Video iPod:
    Most of the times it gets stuck completely when I start use it after deep sleep (it hasn't been used for night etc.).
    The problem is very consistent:
    1. I turn it on.
    2. Start playing some song.
    3. See the 'normal' play screen (song timer is 0:0)
    4. Hear spinning and clicks of hard drive and ....
    5. It just freezes: doesn't response to any key (including Hold)
    Only Reset helps now and when I generally get Folder icon with exclamation point and
    it needs at least another reset to be able use it.
    I updated iPod to the last version (1.1) - doesn't help.
    It passed through Restore - same results: Every second turning on it gets stuck.
    Does anybody have/know about similar behavior?
    I think I have to ask Yeda for help?
    Any ideas?
    Thanks
    vov

    Welcome to Apple Discussions!
    Have you tried this, even though the folder isn't always there?
    iPod Displays A Folder With An Exclamation Point
    btabz

  • Back navigation arrow doesn't work anymore, also not getting suggestoins when I start typing a URL... how can these be fixed?

    So after I deleted a bunch of files/applications today (computer was threatening to crash), Firefox started to do a couple weird things. Navigating backward is no longer possible; the back navigation arrow is greyed out. Also, when I start typing a URL, it no longer suggests the rest of it, either in the URL bar itself or in a drop down menu (it used to do both). 16.0.2 is the current version, right? That's the one I kept, I deleted the others. Recently, I got the announcement that Apple isn't supporting my operating system, Mac OS X 10.5.8 anymore, I don't know if that is relevant. How can these things be fixed?

    I use Windows but I can suggest you a couple of things that you can try out.
    1. Right click on your toolbar, click Customize. Click on the "'''Restore Default Set'''" button.
    2. Go to Firefox menu > Help menu > Troubleshooting information. In the tab that opens afterwards click "'''Reset Firefox'''".

  • MY NOMAD JUKEBOX GETS FROZEN WHEN I START

    Can anyone help me? This is my second jukebox with the same problem. When I start it the display shows the EAX logo and stays like this forever! I tried reseting but does not help. I will realy apreciate your help.

    phylgene wrote:
    My Nomad Jukebox gets frozen at the EAX logo screen after getting past the Creative logo screen. I have tried resetting, taking the battery out for 5 to 30 seconds and restarting. Can someone give me some advise as what to do tp remedy the situation
    Is it an original JB? The Rescue Mode instructions are in the Recovery
    Mode sticky thread - follow the instructions for your player and do a Cleanup. If that doesn't work do a format but note that you'll lose all of the music on your player. PB

  • Get error when add start:body tag, ERROR: oracle.apps.xdo.template.fo.area.NoAvailableAreaException: Not enough rendering area

    I'm using "Oracle BI Publisher Template Builder for Word"
    Version: 10.1.3.2.1  Build 87
    When I try to add <?start:body?> and <?end body?> tags get error in preview to pdf
    My structure is:
    for-each G_INVOICE
    [TABLE WITH HEADER INFORMATION]
    <?start:body?>
    [for-each G_DISTRIBUTION_LINE
    TABLE WITH DISTRIBUTION LINES INFO
    end G_DISTRIBUTION_LINE]
    <?end body?>
    "text for special instructions"
    end G_INVOICE
    The log generated is:
    Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: Z:\projects\AEROSTAR\reports\AERO - AP - Disbursal Request\AEROAPDISREQ.xml
    FOProcessor setLocale: en-us
    oracle.apps.xdo.template.fo.area.NoAvailableAreaException: Not enough rendering area. Please look into the incomplete output file for cause.
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.checkInfiniteLoop(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.createNewPage(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.startLayout(Unknown Source)
      at oracle.apps.xdo.template.fo.elements.FormattingEngine.run(Unknown Source)
      at oracle.apps.xdo.template.fo.FOHandler.endElement(Unknown Source)
      at oracle.apps.xdo.common.xml.XSLTHandler$EEEntry.sendEvent(Unknown Source)
      at oracle.apps.xdo.common.xml.XSLTMerger.startElement(Unknown Source)
      at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:167)
      at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1182)
      at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
      at oracle.apps.xdo.template.fo.FOProcessingEngine.process(Unknown Source)
      at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
      at RTF2PDF.runRTFto(RTF2PDF.java:632)
      at RTF2PDF.runXDO(RTF2PDF.java:466)
      at RTF2PDF.main(RTF2PDF.java:254)
    Please, Need help.
    Thanks in advance.

    The cause for this seems to be that a row in a table is larger than a page, and there is no place left for the Header row.
    Check the bellow action plan:
    1. Edit the template in MS Word.
    2. Click on the table.
    3. Right click on the little crossed square in the upper right corner of the table.
    4. Click on 'Table Properties' / tab 'ROW'.
    5. Look at all rows by using the button 'Next Row'.
    6. If 'Repeat as Header at the top of each page' is checked, please uncheck it.
    7. Save the template and retry.
    BR,
    Alex

  • Why do I no longer get "suggestions" when I start typing a word? Yes, "Show Suggestions" is checked.

    I used to get "suggestions" until the other day. Now I get nothing. "Show Suggestions" is checked. I still have all the same search engines as before (Google, Yahoo, etc). Did the most recent update screw something up?

    Hello jkk2400, start firefox in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#os=win7&browser=fx17 Safe Mode] and check it again, in '''Safe Mode''' window select '''''"Start in Safe Mode"''''' and see if this happen again,''''' if not '''''see: [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems#os=win7&browser=fx17 Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Wifi gets disabled when I start iTunes radio

    hi,
    evefytime me I try to use iTunes radio the phone switches off wifi and goes to cellular data mode.
    It's strange since at home I prefer using wifi data.
    THe same feature wworks perfectly fine on my iPad 4.
    PHone: iPhone 5s iOS 8.1.3
    cheers,
    chetkul

    See this -> iTunes creates an empty library file in Windows
    "Symptoms
    Some file scanning software products that are not made by Apple, such as the Sony VAIO Entertainment Platform, may damage your iTunes library. If the library becomes damaged, iTunes may create a new, empty library."

  • How do I make a main menu for a game?

    Hi,
    I need to make a main menu for this tower defense game that I am making.  I have 2 parts to the menu that I need to put together.  I have it as follows:
    I have a start screen where the player presses the start button.  I now need it to take the user to the main menu itself.  I have both the start menu and main menu in the same document but on different layers.  I have a button labeled as start which I have set up to where when it is clicked, it changes colors but I also need it to hide/show the menu layer.  I just need the that start button to take users to the menu layer where I have 3 more buttons which are resume, new, and options.  I will need those buttons to go to their different layers also.  After users hit the resume or new buttons, I need the game itself to start which I will start making after I figure out the other issues. 
    I am new to Flash and I really want to learn how to make tower defense games.  For now, I am using http://www.ehow.com/how_7788131_make-tower-defense-game-flash.html as a guide to make the game stuff but it doesn't say anything about a main menu.  I am using a trial version of Flash Pro CS6 and it is due to expire in 28 days.
    Any and all help will be great! Thanks, xp3tp85

    I used this and it worked:
    import flash.events.MouseEvent;
    start_button.addEventListener(MouseEvent.CLICK,startF);
    function startF (e:MouseEvent):void{
    gotoAndStop("main_menu");
    On the next layer I used this and it worked too:
    back_button.addEventListener(MouseEvent.CLICK, buttonClick);
    function buttonClick(event:MouseEvent):void{
           gotoAndStop(1);
    Apparently it wont let me use the same code twice on one timeline.  Is there any way around this?  I need a few more buttons on the main menu for the game.

  • Back button returns to the movie, not the main menu

    I created an iDVD with a main menu of three options: 1) Video, 2) Photo with audio track, and 3) Photo with audio track.
    When I watch the video option and hit the "back" button, I return to the main menu. Perfect. But when I'm in either of the Photo/Audio pages and hit "back", I return not to the main me menu (which is what I want), but to the video.
    Why is this happening and how do I correct it? Thanks!

    I am a bit confused. When you say the "back" button, do you instead mean the "Menu" button?
    Normally the back button would jump you back to the last chapter. If there are no chapters in your movie, then the back button would just back to the default first chapter at 0:00. In other words, back button should restart the movie from the beginning.
    Patrick

Maybe you are looking for

  • Why is my App Store acting up

    Recently I've had trouble downloading apps related to Google like, Google chrome and Google. At first I noticed the problem when the App Store continued to tell me to update the app (Google chrome) even though it had already been done. I deleted Goog

  • Origin of sales tax ID number in billing documents

    Hello, The field "Origin of sales tax ID number" in billing documents determines from where the tax ID number is taken, for example:    A - Ship-to party    B - Payer    C - Sold to Party When the partner functions of the customer are different, how

  • Photo Gallery - CS4 - Book?

    I'm looking for an ActionScript 3 book that also includes a sample or tutorial on how to build a dynamic (xml) photo gallery. I've built simple xml galleries but the problem I'm having being able to page left or right when there are too many tumbnail

  • Material propose in PO

    Hi All, If I purchase a certain material (xyz), I always need to purchase product ABC also. Is this possible? How to setup? Can anybody please tell me or you can do this within purchasing? Please any suggestions?? Best Regards, Eric. points awarded.

  • Sunstudio startup script not working

    The environment is Ubuntu Linux 5.04 with Java 1.5.0_01 installed. The awk script that checks the Java Version has some problems on this distribution. Enabled set -x in the sunstudio shell script, here are the relevant lines: +++ '[' -x /shares/free/