ActivateMenuItem not Visible in Menu Structure

Good Afternoon
Experts:
I am having a bit of trouble here today.  Let me tell you what I have going on.
<b>Question:</b>
How can I use ActivateMenuItem with the menu selection not being visible to the User?
<b>Background:</b>
On the Item Master Data screen(Inventory Tab), I have added a Button. 
When pressed, that button uses the following line of code to open my screen
only after row is selected from the Matrix on the Inventory Tab. 
<b>g_B1Connection.Application.ActivateMenuItem("TESTSCREEN")</b>
I needed to pass Whse and Item from the selected line to my screen, so I added 2 Public Shared variables at the top of my Main.vb class.  I reference those at the top
of my TESTSCREEN.vb class using:
   <b>Dim Item As String = moFormID.Items.Item("5").Specific.Value
   Dim WhseCode As String = Whse</b>
<b>Issue:</b>
I need the menu selection in my menu to use ActivateMenuItem.  However, when
the button I added on the Item Master Data screen is not hit, moFormID is not set.
So, the Menu Selection errors when a User tries to execute it.  I don't want them to be able to execute it from the Menu. 
Thanks,
Ed

Owen:
Excellent idea/perspective...I did not think of that.  Each of our forms/screens has a seperate class file.  Each class file has a CreateForm() routine that is called when an instance of the class is intiated behind the menu selection. 
Here is a block of code In Main.vb I use to execute a menu selection:
Case "MPA"
  '8/30/07 EJD - Work Order Parameters Screen
   If GetFormCount(G_MPAMaint_Form_Type).ToString = "0" Then
           Dim MPAForm As New MPA
           BubbleEvent = False
    Else
           UpdateStatus("Another MPA maintenance screen is already open", SAPbouiCOM.BoStatusBarMessageType.smt_Error)
           BubbleEvent = False
    End If
So, I can utilize this code in the case statement where I was doing the ActivateMenu if I hear you right.  Now, can you help me with how I would pass the
variables instead of making them Public Shared in the Main class?  Or is it ok to expose them that way?
I Appreciate the help,
Ed

Similar Messages

  • Added Custom Tab is not visible in Menu in Delivery

    Hi,
    We have added a custom tab in delivery using Badi 'LE_SHP_TAB_CUST_HEAD' .
    The Custom Tab is not visible in Menu , Can you please suggest How I can get this tab in
    Menu Under 'GOTO' .
    Thanks & Regards,
    Murali Krishnan

    Please check table T130P
    That table stores configuration related to fields in MM01. It holds information if a perticular field needs to be displayed or should not be displayed at all.based on the value which that field holds.
    can control the display, the material master
    Please check

  • Maverick. Mirroring Screen to TV Airplay Icon Not visible in Menu bar

    Hi,
    I recently upgraded my OS to Maverick 10.9.1 from Snow leopard. My Laptop is a Macbook 13" Aluminium Late 2008.
    How do I get the Airplay Icon to appear in the Menu Bar so that I can Mirror whats on my macbook to my Television. This is the only reason that I upgraded to maverick as I was informed in an Apple Store that this is what I needed to do.
    I have apple TV,(May 2013) and my Itunes is registered with this TV and works fine, as does my Iphone. I have also updated the apple TV with the latest software.
    I have looked at the Display in preferences, and the show Mirroring options in the menu bar when available is ticked. There are no other options.
    I can choose Apple tv in my sound options as my Output, so the macbook recognises the Apple TV, but only with sound, not Mirroring.
    I hope this makes sense. I have gone through all of the apple help pages, and I am still no further forward.
    Thanking you all in Advance
    Greg Simms

    AirPlay Mirroring (which allows you to mirror your screen to the Apple TV) is only compatible with 2011 and newer Macs, being this the reason why you do not see the mirroring icon. See > http://support.apple.com/kb/HT5404
    As you cannot use AirPlay Mirroring, you can use a third-party application that does the same job, like AirParrot.

  • Creating menu structure in Jdeveloper 10g

    Hi all ,
    Can any one suggest us for the following issue
    We have to create an application using ADF and there we are not able create menu structure in 10g version ..
    Is it possible ? if yes please help us...
    Thanks
    Karthik

    Dear Venkat ,
    The URL which you have given didnt helped us ..
    It shows how to create menu bar but not menu tree
    Suppose for example if we have button in menu and if we click that then we are expecting drop down list in that line itself ,
    Can you help us in this ..
    Thanks,
    Karthik

  • Video from v1 is not visible

    I'm perplexed. i finished my project and burned it to a dvd. everything went well. (by the way it was 5gb). that was about a week and 1/2 ago. i opened up the project file in dvdsp and for some reason the video portion on the v1 track is not visible. the menu plays fine. all the pictures come up fine. the music is fine, and when i simulate it everything works except i can not see the video. any suggestions?
    thank you thank you.
    claudia

    The asset the constitutes the video was imported into DVD SP?
    Was it a movie file or was it a m2v previously encoded file?
    Locate it on your volume and see if it can be opened and played in the QT Pro player.
    Reimport it, and place it on the track . . .

  • About Me link is not visible in Welcome Menu if placed on custom location in Custom Master Page

    Experts,
    I am facing a problem in my -ongoing SP 2013 project's branding. The problem is with Welcome Menu. I need to put the welcome menu at a custom place rather than in ribbon area. for this I added welcome menu snippet inside my Master Page HTML but there is
    a problem with it. On ribbon link "About Me" is visible while at the same time link "About me" is not visible on welcome menu which has been inserted on custom place. below images describe my problem more accurately.
    I need help in this regard if some one can help me. For your information My User Profiles are properly configured and working. 
    HBkhan

    Hi Haris,
    I tested the same scenario in my environment, and the link will display My Settings link instead of About Me link when there is more than one welcome menu in the page.
    If you want to put the welcome menu at a custom place rather than in ribbon area, I recommend you remove the welcome menu in the ribbon area(suitebar) after putting the other welcome menu at the custom place.
    Thanks,
    Victoria
    Forum Support
    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 Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Photo gallery menu button not visible (black on bl...

    Lately (I don't know when it changed because before it was not like this) there is some strange behavior on my N8 when viewing photos in the gallery.
    If I chose a photo to view and then tap on screen to get the options I don't see the two buttons at the bottom of the screen (Options and Back buttons). I found out that the buttons are present but they are in black - meaning they are not visible if there is no picture covering those parts of the screen (see attached photos). They are only visible if the background is very bright (white).
    Is there any settings to change this annoyance?
    P.S. The same is true if I open pictures in Photo Editor.
    Attachments:
    P1050880.JPG ‏1634 KB
    P1050881.JPG ‏2361 KB

    Okay, I've tried .ac3 audio and I get the same result.
    I had a friend of mine try this test. He had two different Progressive scan DVD players. It played perect on one and showed these errors on the other (the audio not playing and the text appearing in a different font). He said it had somthing to do with the progressive scan settings of the player. One player could switch to this type of DVD and the other one could only do it manually in the menu screen. He said that even hollywood DVDs do this on these types of DVD players. Since I have NEVER seen this problem before what could he be talking about? And why would previous versions of DVD's that I have made in DVD Studio Pro 1, 1.5 and 2 work fine on these same DVD players?
    This is driving me nuts. Why would one DVD player play the DVD perfect and another one play the video fine, but mess up the audio and text buttons on the menu?
    Other people I have talked to stay that it may be the media it is burned to, but I'm using the same DVD media that I have always used?
    Please help!

  • 3D Menu is not visible

    i am using  Adobe Photoshop CS5 Extended Edition
    When i try to create 3D text or image
    i am unable to do that
    beacuse my
    3D Menu is not visible
    as u see picture:
    click on the image for large size
    what is wrong?
    any idea?
    Thanks....

    Thank you for replying
    This is my graphics card info:
    some reason i can not update my graphic card
    i think it is very old one
    Click on image:
    Preferences - 3D
    as u see in image i am not able to do some changing
    Click on image:
    OpenGL Drawing in Preferences - Performance
    can not enable OpenGL Drawing
    it is disable
    Click on image:
    what do u think?

  • Menue item is not visible

    heloo
    this is code for My jframe
    i try to put file menu and i put it in but there is problem and drop menue is not visible but it dos work (if u now where the items are )and
    if you have no idea then is it possible to create 3 different menue and ask action performed to look at there event instead of Jmenue item.
    because if i cant find solution then thats my only way
    bu how should i ask for actionPerforme to listen to them.
    class ChessMa extends JFrame implements ActionListener {
    JMenuItem item;
    JMenu m;
    JMenuBar bar;
    public ChessMa()
    {  setTitle("CHESS PLAYER GAME" );
    setSize(400,490);
         addWindowListener(new java.awt.event.WindowAdapter() {
         public void windowClosing(java.awt.event.WindowEvent e) {
    System.exit(0);
    JMenu m= new JMenu ( "File");
    m.addActionListener(this);
    m.setPopupMenuVisible(true);
    item =new JMenuItem("Save");
    item.addActionListener(this);
    m.add(item);
    repaint();
    item=new JMenuItem("Load");
    item.addActionListener(this);
    m.add(item);
    JMenuBar bar = new JMenuBar () ;
    bar.add(m) ;
    setJMenuBar(bar);
    public void actionPerformed(ActionEvent e)
         //if (e .getSource() instanceof item)
    String arg= e.getActionCommand();
    if (arg.equals("Save"))
              { System.out.println("save");}
         else if (arg.equals("Load"))
              {System.out.println("load");}
         else if (arg.equals("File"))
              {System.out.println("���22222222���!!");}
    public class ChessMan{
    public static void main(String[] args) {
    JFrame frame = new ChessMa();
    ImageIcon customImageIcon = new ImageIcon("ac516.gif");
              Image customImage = customImageIcon.getImage();
              frame.setIconImage(customImage);
              // Japplet Class
    ChessPlayer javaAppletication = new ChessPlayer();
              javaAppletication.init();
    javaAppletication.start();
              Container content = frame.getContentPane();
         content.add(javaAppletication, BorderLayout.CENTER);
    javaAppletication.setBackground (Color.black);
         frame.setVisible(true);
    frame.show();
    frame.pack(); // invokes getPreferredSize()
    // invokes paint();
    }

    Hi,
    I think you want your file menu to be visible as soon as your frame opens. If I'm correct, then you can run the code pasted below. You were trying to make file menu visible when it was not showing.
    Best regards,
    Pratap
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ChessMa extends JFrame implements ActionListener, WindowListener {
         JMenuItem item;
         JMenu m;
         JMenuBar bar;
         public ChessMa()
              setTitle("CHESS PLAYER GAME" );
              setSize(400,490);
              addWindowListener(new java.awt.event.WindowAdapter() {
                   public void windowClosing(java.awt.event.WindowEvent e) {
                   System.exit(0);
              m= new JMenu ( "File");
              m.addActionListener(this);
              m.setPopupMenuVisible(true);
              item =new JMenuItem("Save");
              item.addActionListener(this);
              m.add(item);
              repaint();
              item=new JMenuItem("Load");
              item.addActionListener(this);
              m.add(item);
              JMenuBar bar = new JMenuBar () ;
              bar.add(m) ;
              setJMenuBar(bar);
              addWindowListener(this);
         public void actionPerformed(ActionEvent e)
              //if (e .getSource() instanceof item)
              String arg= e.getActionCommand();
              if (arg.equals("Save"))
                   System.out.println("save");
              else
              if (arg.equals("Load"))
                   System.out.println("load");
              else
              if (arg.equals("File"))
                   System.out.println("���22222222���!!");
         public static void main(String[] args) {
              ChessMa f = new ChessMa();
              f.setLocation(300,300);
              f.show();
         public void windowOpened(WindowEvent e) {
              m.doClick();
         public void windowClosing(WindowEvent e) {}
         public void windowClosed(WindowEvent e) {}
         public void windowIconified(WindowEvent e) {}
         public void windowDeiconified(WindowEvent e) {}
         public void windowActivated(WindowEvent e) {}
         public void windowDeactivated(WindowEvent e) {}
    }

  • Menu bar is not visible, but neither is Full Screen mode button. How do I fix this?

    While I am in Firefox, it appears that I am in Full Screen mode, as my Menu Bar is missing while in the application, but when I looked up how to troubleshoot, it told me to click on the Full Screen mode button (with diagonal arrows) but it is not visible anywhere in my browser. How else can I get out of Full Screen mode? Thank you!

    On Mac you can use: command+Shift+F

  • Menu not visible on ibook G4?!

    We i burn a disc (using DVDSP) it plays on my machine (powerpc G5) and most other machine with the exception of ibook G4s (does work on G3s). when trying to play on ibook G4 the menu is black (not visible) but i can mouse over where the button should be, cursor changes to click pointer, i click and the video plays (with no problems) but only due to the fact that i know the button is there!. Ive had suggestions to change audio format to ac3 which i did (and no change).
    DVD is SD single sided with bitrate of about 5.5 mbps and audio converted to AC3. video is about 5mins long.
    I have had this very same problem with every DVD i have created since begining to use DVDSP 3 months ago
    PLEASE HELP I HAVE A MAJOR DVD PROJECT DUE NEXT MONTH!
    PowerPC G5 Mac OS X (10.4.8)

    Sounds like you have this issue
    http://discussions.apple.com/thread.jspa?messageID=3049731&#3049731
    Workaround is to make it a motion menu (even a still with looping) that seems to work

  • First tab of Lable Based Menu is not visible in Preview Mode

    HI Genious,
    I have added one Lable Based Menu in my application. If i apply the dynamic visibility to it, in preview mode 1st tab is not visible all other tabs are visible.
    Ex. In Lable Based Menu, I have three label :- Distribution  Center, Zoo, Bird Park. I have applied dynamic visibility to this component. In preview mode, I am not able to visible the first label (i.e. Distribution Center) while all other labes are working properly.
    While i remove the dynamic visibility, All the labes are visible. But my application is not like that so i could not adapt that solution.
    Regards,
    Rishit

    Hi Rishit,
    Please let me know if you have applied Fix pacK3 for Xcelsius.
    I have seen this issue in FP2, which got fixed in FP3. The workaround you can try is including a blank cell.
    Thanks,
    Amit.

  • Supplier not visible in the Purchase Order Menu

    Hi All,
    I have created a Supplier and a Supplier Site from the back end using Supplier Conversion.
    It was successful and I am able to see the customer in the Supplier menu in Payables and Supplier base menu in the Purchasing, but the supplier is not visible in the Purchase Order Menu in Purchasing.
    I have Enabled the following flags in the Supplier Site Level,
                   l_vendor_site_rec.purchasing_site_flag := 'Y';
                   l_vendor_site_rec.pay_site_flag := 'Y';
                   l_vendor_site_rec.rfq_only_site_flag := 'Y';
    What else do I need to enable in Supplier level for the Supplier to be visible for Purchasing.
    Please give me a solution so that I can resolve my issue.
    Thanks in advance.
    Regards,
    Bhaskar.

    Hi,
    You will have to achieve this through APIs, Please do some google and refer Oracle docs.
    Following are some links, which may interest you:
    R12 Oracle Apps: Supplier or Vendor Creation API
    Oracle EBS Technical Step By Step: August 2012
    Hope this helps!
    Best Regards

  • Xcelsius 2008 Object Browser not Visible but checked on View menu

    I have lost the Object Browser window.  It is checked on the View menu.  Even when I first start up Xcelsius it is not visible.  Does anyone have any idea how to make it visible again?
    Thanks,
    Karen

    Hi Karen,
    Can you goto view and uncheck the option for Object browser and then re-check it again?
    Also let me know if this behaviour is happening from the time you have installed the product?
    Thanks,
    Amit.

  • Firefox, most of window is blacked out, menues area is transparent, menus not visible. Website is loading behind blackout. Complete uninstall has been tried.

    The problem started after doing a Windows 7 disk cleanup. When I open Firefox the screen where the body of the website is is blacked out and the menu bars are not visible. I can tell Firefox and websites are loading because I can guess where address bar is and type website and when I hover over address bar it will read name of website. Also, when I open a Firefox icon that had been saved to my desktop of a youtube link, the video will play visibly in Firefox, but the rest of the screen will be blacked out.
    I have tried a full uninstall and installation [including deletion of registries and all that]. All windows for Firefox, including the one that asks to make it default browser, profile maneger, etc. show up blacked out, so I can't try to make new profiles and all that. I even restored my computer to earlier point. Please help. I'm posting this message from Internet Explorer.

    hello kuzicharm, other users with this problem all had an embedded intel hd3000 graphics card with an old driver present. in case this also applies to you, here would be a link to update the driver, which in turn should also address the black firefox problem: https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23764 (for win7 64 bit)
    in case this doesn't solve the issue or does not apply to your system, start firefox into safemode '''by pressing the shift key while the application is launching''' & disable hardware acceleration in the firefox ''menu ≡ > options > advanced > general'' (that setting will take a restart of the browser to take effect).
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

Maybe you are looking for