Data menu items and Forms

I am enabling the Data menu items for my custom form like this:
myForm.EnableMenu("1281", true);
myForm.EnableMenu("1282", true);
myForm.EnableMenu("1283", true);
myForm.EnableMenu("1288", true);
myForm.EnableMenu("1289", true);
myForm.EnableMenu("1290", true);
myForm.EnableMenu("1291", true);
This works fine for my form but as soon as a SAP system form gets focus, the Data menu items do not work until I close my form. Do I need to do something in the "lose focus" event for my form?

In your menu event code, are you checking to see if your custom form is the active form before processing the menu event?
If not your code will be processed regardless of which form is currently active, and this could lead to the behaviour you describe.
You can tell if your custom form is active by looking at the "selected" property of form object.
Regards,
John.

Similar Messages

  • What happened to the Insert Date menu item?

    In the Numbers 3.0 upgrade the Insert Date menu item is gone.  Where can I now find it?  Or is there now  shortcut?
    David

    David,
    Wait a minute... I'm adding that one to my list.
    My workaround:
    Type =Today() Return, Return, Up-Arrow,  Command-C, Shift-Command-V
    This enters the date from a function then copies the cell and pastes the value back into the cell.
    Some shortcut, eh?
    Jerry

  • Equal Space between Menu Items and Drop Down Menü left aligned not possible?

    It seems like I can either have equal spacing between the horizontal menu items and the drop down menu will show up centered , or I say the menu items should be of equal size, and then drop down will be left aligned. Is there any way of having equal space AND left aligned drop down???? Thanks in advance!

    Hello Anjum,
    Thank you for reporting the issue. It seems to be a Bug and we have logged the same. Hopefully it will get fixed in coming releases.
    As of now we do not have any workaround for same. However once we have some workaround, we will definitely share it with you.
    Regards,
    Sachin

  • Ssis data flow item and ssis control flow item tab missing in choose toolbox item from ssdt 2010

    ssis data flow item and ssis control flow item  tab missing in choose toolbox item from ssdt 2010

    I have the same problem.
     When i click on tools -> choose tools Items dialog box, Control Flow and Data Flow Tab are missing.
    I've just worked with SQL Server Data Tools and SQL Server 2012 and these tabs are not missing.
    i think this is a problem installing SQL Server.
    I've not yet  found a solution.

  • FRM : 41067 Cannot find menu item id ( forms 10g Menus/Forms Conversion )

    Hi All ,
    We have menus converted into forms 10g using the forms migration assistant FMA ( frmplsqlconv ) . Now , we had the menus (.mmb) which had used Shared Menus.
    After conversion observed that there were some duplicate copies of the shared menus created automatically and each reference where this shared menu was used was replaced by the newly created ones.
    Now , when I open the form that uses the menu I get the following error :
    FRM : 41067 Cannot find menu item id
    On debuggin observed the the above error was generated at :
    set_menu_item_property(SHARED_MENU.ITEM,.... )
    Not sure how this worked in forms earlier version and not working in 10g now.
    Could anyone please let me know how to go about to fix this issue and why is this happening at the first point.
    Is re-creating the menu from scratch the only option to resolve the issue ?
    Please advise ..
    Thanks ,

    Hi
    Error Message: FRM-41067: Cannot find Menu Item: invalid ID.
    Error Cause:An invalid ID was passed to a built-in subprogram.
    Action:Verify that a proper call to FIND_MENU_ITEM will be performed. Level: 20 Type: Errori think c1 returns null pls check ur Query in the cursor ; run & test if it returns data or not & check the name of the menu that should actually match with the name stored in the db.
    If the error still existing then u can get reide of it with a simple line check using FIND_MENU_ITEM as follow...
    PROCEDURE disable_menu_items IS
    mi_id MenuItem;
    val varchar2(10);
    BEGIN
    IF :Global.user_code '01' THEN
    IF :GLOBAL.VC_ROLE_CODE '01' THEN
    declare
    cursor c1 is
    select vc_menu_code,vc_menu_name from
    makess.mk_module_menu a where
    vc_module_code='06' and
    not exists(select vc_menu_code
    from makess.mk_roles_menu_inv b
    where vc_comp_code=:global.vc_comp_code
    and a.vc_menu_code=b.vc_menu_code
    and ch_role_code=:global.vc_role_code);
    BEGIN
    for crec in c1
    mi:=FIND_MENU_ITEM('MENU.MENUITEM');
      IF NOT ID_NULL(mi) THEN
    loop
    set_menu_item_property(crec.vc_menu_name,ENABLED,Property_false);
    end loop;
    END IF;
    END;
    :global.check:='N';
    END IF;
    END IF;
    END;Hope this helps...
    Regards,
    Abdetu...

  • Implementing menu items and saving state in my app

    Hello
    I'm a new user to the forums, but have a little bit of java programming experience.
    currently i'm writing some business applications, one of which is a payroll system. The target audience is end-user bookkeepers so i am planning for a GUI front end.
    My first question relates to how programs save their state. for example, each month the bookkeeper will launch the program and add the next months payments, or he/she will open the program to fix a mistake. In general how do programs like word, excel (or anything) save and load files to work with? I was thinking about using XML. I thought i would load in an XML file containing all work so far, and then the user could save to it, which would add the new work.
    Question the second: A lot of gui java apps i use (like argo, symphony etc) have standard menus at the tops. Items like open, save, close, print etc. How are developers actually doing this? is there some premade classes i can just use in my programs as well that would be me this funtionality? This kindof relates to my first question about saving and opening. Further, it seems there are two GUI libraries to consider - either SWT or Swring. Eclipse plugins are written in SWT (from what i have heard). Can anybody recommend which API i should be using to create a GUI for my program?
    I think that's it for now. If anybody can provide me with advice i woudl be most grateful, as i'm at a bit of a standstill with my development.
    thanks.
    Edited by: minofifa on Oct 25, 2007 1:09 PM
    attempted to take topic off the watch list - sorry guys

    My first question relates to how programs save their state. for example, each month the bookkeeper
    will launch the program and add the next months payments, or he/she will open the program to fix a
    mistake. In general how do programs like word, excel (or anything) save and load files to work with? I
    was thinking about using XML. I thought i would load in an XML file containing all work so far, and then
    the user could save to it, which would add the new work. It sounds more like you are talking about saving the data instead of state--save in a database for mass and long term storage. Simple state info can be easily save in a database also or in a bean or text file.
    Question the second: A lot of gui java apps i use (like argo, symphony etc) have standard menus at
    the tops. Items like open, save, close, print etc. How are developers actually doing this? is there
    some premade classes i can just use in my programs as well that would be me this funtionality? This
    kindof relates to my first question about saving and opening. Further, it seems there are two GUI
    libraries to consider - either SWT or Swring. Eclipse plugins are written in SWT (from what i have
    heard). Can anybody recommend which API i should be using to create a GUI for my program?Maybe this is not what you are asking, but menu systems are implemented with Menu, MenuBar, MenuItem, etc objects in Java. The specifics of what happens when the individual menu items are selected are left up to the programmer.
    If you are looking for prebuilt menubars with code attached to perform common functions, then I do not know of any included in Java.

  • Why does not "Copy data" menu item of Colormap chart work?

    I need to get image of colormap chart (Sound and Vibration Toolkit v4.0) when program is running or stopped. It is very easy to get image in the clipboard by using "Copy data" popup menu item, but there is a problem.
    There is "SVXMPL_Getting Started with SVT (Simulated).vi" example where colormap chart is used. In this example it is possible to get image of colormap chart (axes, grids and data) by simply clicking "Copy data" popup menu item.
    Colormap chart in program puts into clipboard only image with axes and grids! I have compared colormap charts settings in both cases and have not found any difference related to "Copy data" functionality. Any ideas how to fix it?
    Running Labview v8.0 and Sound and Vibration Toolkit v4.0 on Windows 2000/SP4.
    In the attach there are chart and clipboard images.
    Attachments:
    colomap-chart-copy-data-pro.png ‏23 KB

    For sure I am using intersity chart in my program (look at the attached image), but "Copy data" copies blank chart image.
    I have done very simple test with modified intersity chart used in SVXMPL_Getting Started with SVT (Simulated).vi example:
    1) Modified intersity chart was copied to my program - "Copy data" copies blank chart image.
    2) Copy of modified intersity chart was copied back to the SVXMPL_Getting Started with SVT (Simulated).vi example. Two charts were connected in parallel with the same settings and property nodes. In original chart "Copy data" copies right chart image, in twice copied chart "Copy data" copies blank chart image.
    So I am a little bit confused with such chart behaviour. Does it mean that some specific chart setting affects "Copy data" feature? And this setting is not copied by copy'n'paste?Message Edited by rsa1024 on 01-31-2007 03:51 PM
    Attachments:
    colormaps cmp.png ‏24 KB

  • AdBlock Plus eliminates menu items and statusbar items

    When I activate Adblock Plus, several menu items disappear and statusbar items from other plugins also disappear, not to mention the ADP icon which is nowhere to be found despite that I have it checked on the ADP menu. It's not necessary to uninstall ADP, simply disabling it and all these things come back. I've reported this to mozdev.org, but upon reading other people's comments it seems I'm not the only one with the problem

    The AdblockPlus support form is here: <br />
    http://adblockplus.org/forum/

  • Multi Line Menu Item and Button

    Dear oracle developers,
    I am trying to set a multi line label for
    a button.
    The label should be displayed as
    Client
    Reports rather than Client Reports
    on the screen.
    I tried CHR(i) for all the 255 ascii numbers.
    I get some special characters inbetween but never got a new line.
    Can any one have some ideas about this. I would like to use the same feature for a menu item also.
    Thank You.
    Srini S. Sundar

    Hi,
    U can do this in the following way :
    1. Create a Icon button in your Forms canvas.
    2. create a icon file (.ico) by writing a multiline text.
    3. Attach this .ico file to the icon button in your forms.
    Hope this may help you.
    sandip.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Srini Sundar:
    Dear oracle developers,
    I am trying to set a multi line label for
    a button.
    The label should be displayed as
    Client
    Reports rather than Client Reports
    on the screen.
    I tried CHR(i) for all the 255 ascii numbers.
    I get some special characters inbetween but never got a new line.
    Can any one have some ideas about this. I would like to use the same feature for a menu item also.
    Thank You.
    Srini S. Sundar<HR></BLOCKQUOTE>
    null

  • Adding menu items and making system calls in AfterEffects (AE,CS3)

    We are looking to do the following things via javascript in AfterEffects CS3. It does seem straight-forward, but am unable to find a good reference or example.
    * Add at startup a menu item under "File" (or similar main menu) and have it call a script function when clicked.
    * Have a script make an external system call (to launch an external application/executable with a few parameters)
    Any insights on how to achieve this?
    Many thanks!

    I wanted to see if there was any update on this, I'm writing a series of tools and would love to create a custom menu for quick and easy access.
    If it turns out there isn't an "easy" way to do this (env variables, special directory locations, javascripts) would anyone know if access to the menubar is possible from the Plugin API?
    I'm fairly new to After Effects, just getting up-to-speed on the environment now... seeing if I can duplicate the functionality of some old Nuke scripts in AE.
    thanks,
    Rick_

  • CK-200 Audio qualiy, missing menu items and softwa...

    Hi all.  First post and all that jazz.
    Wonder if anyone can assist with several issues I'm having with a CK-200.  to list them:
    Audio quality.  This is perhaps the worst problem.  I can hear the person I'm talking to quite clearly, (ISO version on decent car speakers) but the background noise reported by the other person is really really bad.  Whilst my car isn't the quietest in the world (LandRover Discovery) it's certainly not loud, but everyone has commented that they can barely hear me when I'm at motorway speeds.  Does the external microphone help remove background noise much?  I certainly hope so, as at the moment I have to be at 40mph or below to be heard properly.  I've tried calling someone else driving my car, and sure enough it sounds like the microphone is in the engine bay, and the person I'm talking to is in the boot!
    Second:  When I first got the kit, it appeared to understand that one of my phones (E90) was not compatible with downloading the address book, and so it didn't try, but if I made a few calls the kit remembered the numbers called.  After "updating" the software a few months ago, it now constantly tries to download the address book, fails, and if I try to do a "last number redial" it tells me that it can't download the address book.
    Lastly... (and has been mentioned in another thread) There appears to be a number of menu items missing, most noticeably the option to read a received text message.  The icon appears to tell me I have a new text, but there's absolutely nothing I can do about it!
    Shame, as it's a nice car kit, and the two-phone-connectivity is excellent, but I really must address these issues!
    Any and all assistance gratefully received!
    David.
    PS. as a sidenote, where can I actually buy a CA-134 for this kit from?  I know it's the cable I need, but I can't actually find one for sale anywhere!

    Glad you got it improved, I guess perhaps a 'mechanical' sound transmission problem. Not sure about inside the CK-200 unit - but inside Nokia external mic's the mike element is usually mounted in a block of foam rubber to absorb vibrations carrying through. I am certainly getting a little higher volume level on my 'answerphone' trails with an external 
    Little confused by the download issues. The CK-200 can download your contacts as one aspect but also your call history (calls made/missed/received etc) as another.
    The contacts (address book)  download certainly seems to stop dead when you set auto to off on all version and handsets I have tried. On recent software versions Nokia introduced the automatic download of call history, as far as I know this cannot be disabled - I would quite like to be able to as I don't really need it and it delays the initial connection before you can make a call. But anyway it sounds like its this thats giving you trouble. It may be down to some setting in your phone you can make to deny it permission to cooperate with the CK-200. Anyway see how it goes with V.3 first of course. (can't be long now )

  • Muiltiple menu items and unwanted square

    I'm not sure what happed but all of a sudden i have multiple menu items on the main apple menu and there is a square box either on the desktop or various applications such as entourage or word etc.
    I'm not sure if it has something to do with user preferences but I have no clue what triggered it.

    Tony A,
    You can turn VoiceOver on/off in the Universal Access pane of System Preferences, or by pressing Command-F5.
    ;~)

  • Need to remove default dock menu item and add new.

    Hi ,
    I am working on Carbon application on Xcode . I need to remove default menu item attached to my application dock menu like ( Remove from Dock , Open at Login , Show in Finder ).
    I also need to attach new items to my application dock menu and want to handle its event.
    Thanks in advance,
    Sunil Adhyaru.

    Well, this is a programming question more than a question on how to use the Leopard environment (you might want to post to one to the programming forums).
    However, basically, you can't remove the Dock menu items that the Dock itself adds (add/remove from dock, etc.). You can add your own menu items, however. Use the interface builder to create a nib that has a menu in it -- call it something catchy like MyMenu.nib.
    Then in the application property list file (Info.plist) add property called "AppleDockMenu" and set the value to a string that's the name of your nib file (without the .nib extension).
    Subsequently, you treat that menu just as you would the menus in your menu bar. That's all there is to it.

  • Menu items and panels gone

    Hi,
    We are having a problem with one of our installations of InDesign CS4 (6.0.6) on PC, Windows XP, on a user account with Administrator's rights.
    It is an issue described many times on the forums:
    All of a sudden, some pallets stopped showing correctly - such as the Pages which appeared blank, until we realized the thumbnails showed far to the right in the panel, and could be revealed when the panel was extended over half of the screen.
    We tried the Delete Preferences trick on startup, which not only didn't help but in fact all panels (pallets) disappeared, and along with them, many items in the menus disappeared as well. For example, under Window, there are only three items (Arrange, Workspace and Object & Layout > Pathfinder).
    Finally, InDesign started showing the error message "Adobe InDesign is missing required files. Please re-install.", referring to some files in the TypeSupport folder. (The files are there, only apparently inaccessible to ID.)
    So it does look like a problem with the account's permissions. However, we can't find a way how to fix it.
    What we've tried and did not help:
    - Rebuilding preferences
    - Hitting the Tab key
    - Removing all current workspaces from the Workspaces folder
    - Running ID in compatibility mode
    Following the hints here: http://www.adobe.com/go/kb408055, these did not work for us:
    - Setting permissions for the InDesign key in the registry
    - Setting the rights on the Presets folder
    - Renaming the locale folders
    We even cannot repair or uninstall InDesign - the setup.exe freezes at some point, without any message, probably again not able to access some files.
    The only thing that works is to run InDesign using another account (with the same rights, apparently). However, this is not a good solution, as there are many things connected to our current account.
    Also, we CAN run other CS4 apps on the current account.
    So, is there any way, please, to make InDesign access again all that it needs?
    Thank you!!
    Pataka

    Sounds like that user account is seriously damaged. You might try logging in on a new Admin account, then copying the profile from the accoutn that you tested and found that it worked to the account with problems, or it might be faster and easier to just uninstall, run the clean tool (CS Cleaner Tool for installation problems | CCM, CS6, CS5.5, CS5, CS4, CS3) and reinstall.
    See Replace Your Preferences for things you might want to back up for easy reinstallation.

  • Setting focus to a menu item in New Form Instance...

    Dear All,
    Please let me know how to set focus to a menu item in New Form Instance trigger,
    so that as the user opens the form control should be with the menu item and not with the First item of Data Block.

    To my knowledge you cannot set input focus to a menu item.
    Alternatively you could create a push button and put input focus there.
    hth
    Hans

Maybe you are looking for

  • Low resolution on stills in imovie

    I uploaded stills (high resolution) into iMovie, but the short movie (made with the stills) has a very bad resolution (the colors are unsaturated, grainy, etc) and it's worst when I export it in You Tube or Quick Time. Please help

  • Portal runtime error exception ID: error in init method

    Hi Experts I am getting the portal runtime error http://<fqdn>:<port>/irj/portal,  can anybody suggest me what to do. "Portal runtime error. An exception occurred while processing your request. Send the exception ID to your portal administrator. Exce

  • Code for SAVE functionality in FPM_OIF_COMPONENT

    Hi Experts, I have enhanced the component DPR_DET_DATA_PROJECT_O. The SAVE functionality for this component exists in FPM_OIF_COMPONENT. I have to raise error message depending on the custom fields added in  DPR_DET_DATA_PROJECT_O when I click on 'SA

  • Cannot connect to sqlplus as / as sysdba

    Dear Folks, I am not able to connect to sqlplus as / as sysdba .I can see remote_os_authent=true,in the sqlnet.ora SQLNET.AUTHENTICATION_SERVICES= (NTS) but for some reasons i am not able to connect it with / as sysdba.Kindly help me with this issue

  • Sales order Stock (E) transfer posting in WM management

    Hi Experts, I want to post sales order stock from Sales oder XXXX line XX to Sales Order XXXX Line YY. both the line items of the material are of same materil number. my stock is warehouse managed stock. when i use MB11 movemnet 413E error message Ma