Find_Menu_Item  FRM-41067:  Cannot fine Menu Item: invalidID.

I use Find_Menu_Item in menu validation. Sometimes Find_Menu_Item fails and I get
FRM-41067: Cannot fine Menu Item: invalidID.
Is there a way to trap this error, so I can handle it with my own code?
Thanks, Wayne

But i don't think that this line of code is producing the error. I would guess its the code following after that statement.
To check if FIND_MENU_ITEM found the item, you can do:
DECLARE
  mi MENUITEM;
BEGIN
  mi:=FIND_MENU_ITEM('MENU.MENUITEM');
  IF NOT ID_NULL(mi) THEN
    -- Found, so do some stuff
  END IF;
END;

Similar Messages

  • 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...

  • FRM-41067: Cannot find menu item: invalid Id

    Hello,
    I have a menu, when i try to execute query by entering a value i received this message. i checked all my code, everything seems correct. someone can tell me what it could be wrong in my menu?

    I have a menu, when i try to execute query by entering a value i received this message. What does that mean? How do you execute the query? By choosing a menu item? Using the keyboard?
    i checked all my code, everything seems correct. ?I also always hope so, but in most cases there in an error.
    someone can tell me what it could be wrong in my menu?I guess that in some trigger either in the menu itself or in the form which the menu is attached to (or in a pll attached to that form) there is some SET_MENU_ITEM_PROPERTY which refers to some not existing menu-item.

  • Cannot find menu item:Invalid Id

    Hi there,
    I am trying to access the menu attached to my form by setting the enabled properties of menu items based on privileges.
    I use the following set_menu_item_property:
    SET_MENU_ITEM_PROPERTY('menu.item_name', ENABLED, PROPERTY_FALSE);
    But I get an error message saying:
    "Cannot find menu item:Invalid Id"
    Can somebody help me please with this.
    Thanks.

    the error says you have not put the menu item name properly...what is the structure of the menu...? one thing you can do is in object navigator locate the menu item name and identify its parent. and use it in the command like for eg.
    set_menu_item_property('adminmenu.users',enabled,property_false);KK

  • Cannot see menu items on database home page after install of beta3

    I have installed XE beta 3 in a Windows 2000 SP4 VM. Install went fine and I can get to the home page without issue. However, I cannot see the items when I use the pulldown menus. If I move the mouse cursor over them, it is possible to select although I dotn know what I am selecting!
    Has anyone experienced this problem, or does anyone have any idea what is causing it?
    Many thanks,
    Rob

    I am running VMware Workstation 5.5 for Windows XP.
    I have a Windows 2000 VM established, with SP4 applied.
    The VM is running IE 5. I have no other browsers installed. I am not able to install XE anywhere else at present, due to resource limitations.
    Just wondering if anyone else has had this issue. Next week I will install onto a "real" Windows 2000 environment, but would like to get this one working sooner than that.
    Thanks for your response.
    Cheers, Rob

  • I accidently knocked some keys on the keyboard and firfox is now lost at the top of the screen, I cannot see menu items if I push the curser up some of the top appears on my screen but not all please can you help me?

    I accidently knocked some keys on my keyboard. I do not know which keys my hand knocked but it caused Firefox to go beyond my visible screen at the top. The base of Firefox is still okay and views correctly. But the head is missing I cannot access my menus items such as Bookmarks etc. The screen does drop down if I push my curser up but not enough to show the menu items. Can you please help?

    Thank you for your help - this definitely sorted it out!

  • Missing icons, cannot open menu items

    Yesterday I updates my software and when I restarted my computer I encountered several problems.
    1) My hard drive icon is not shown on my desktop
    2) I cannot open anything in the menus of the "Finder" toolbar"
    3) I cannot not move or open any documents located on my desktop
    4) Most of the widgets in dashboard are not showing and those that are are not working properly.
    5) When I plug in my thumb drive nothing shows up on my desktop any more.
    everything else seems to be working fine. any advise?
    thanks

    First, you need to realize that resetting preferences will put them back to ground zero, not the way they were the last time you were happy.
    You can try the key combination again and see if you are any faster (we're talking near instantaneous) or you can open your user profile, show hidden files and folders and navigate to C:\Documents and Settings\Administrator\Application Data\Adobe\InDesign\Version 4.0 and rename the two files InDesign Defaults and InDesign SavedData.
    In your case, a better first option, I think, would be to try System Restore which you'll find in System Tools under the Programs > Accessories heading on the start menu. Go back to the first restore point before you tried to open the file, if you can.
    In any case, for you to open a CS3 .inx file you will need to be fully patched the the last CS2 update, and you should expect to see some text reflow issues, as well as missing any CS3 features that the author used which aren't supported in CS2.
    Peter

  • FF updated something so that history takes up whole bottom half of screen; I cannot surf, or even see start menu. I cannot change menu items so that I am asked before something is downloaded and uopdated automatically. These were NOT my settings!

    My browser was very slow, so I cleared cookies and cache. When FF (4.0) restarted, it said it had installed colourful tabs (which I ALREADY HAD). I opened FF and typed in mmy first TE on my list ( I surf traffic exchanges). But I cannot do so on FF anymore. Only half my computer screen is from the TE or web page, and the bottom HALF of the screen is for History, etc. I cannot even see or access the Start menu or my open tabs at the bottom of the screen, unless I use Control and Escape.
    I got the url from FF 4.0 , uninstalled the old version and reinstalled it. Same thing. I uninstalled it again, straight from my control panel (Windows Vista Home Premium), cleared cookies and cache again, fixed registry problems again, and restarted my computer. STILL same thing!
    I tried to adjust settings, but it will not let me change what I need to. I cannot unclick that updates will be downloaded and installed automatically, and check that I want to be asked each time. I do not know if I can even SEE what was updated, to give you an idea if that could have caused this very nasty problem. Nasty, because until it is fixed, I will not be using FF.

    After following all the instructions given, I poked around safe websites as suggested. I am not sure why this step was needed, as websites functioned rather normally before I came here but I did it anyways and found that the websites still work the same as they did. I can still do everything I used to be able to do. I see no change in the function of the websites.
    However, I still cannot resize, close, or move the browser window. I don't know if Netflix is a safe site or not (too many conflicting opinions on that one from the masses) so I don't know if the issue with the vanishing buttons is still there, but all the issues I had with the browser window itself is still there.
    Even in safe mode the browsers three window control buttons on the top right refuse to let me use them and the window itself will refuse to be moved around.

  • FRM-10221: Cannot read file /u02/applfint/apps/apps_st/appl/au/12.0.0/resource  FRM-41810 FRM-41067

    Hello Experts,
    I am in the process upgrade EBS to 12.1.3 and when attempting to launch forms to "Generate All Business Views", I encountered three Form errors:
    FRM-10221: Cannot read file /u02/applfint/apps/apps_st/appl/au/12.0.0/resource
    FRM-41810: error creating menu
    FRM-41067: cannot fine menu item: invalid ID
    Back in my shell, I have also noticed that some part of my environment variable is not functioning correctly or is missing:
    . /u02/applfinp/apps/apps_st/appl/APPSOFPROD_ofinprod01.env
    or
    . /u02/applfinp/apps/apps_st/appl/OFPROD_ofinprod01.env
    Gives:
    -bash: /usrxit/devenv.env: No such file or directory
    I have used adadmin utility and choose option to recreate grants and synonyms; executing adautocfg.sh  but problem is persisting.
    Thanks
    Mathias

    Hello Hussein,
    I am glad you are online. I am on a deadline to finish an upgrade by 8 AM this morning.
    I have actually finished the upgrade and was about to "Generate All Business Views" to fix all the dozens of invalid views that are trailing.
    I had just finished applying Patch 9239090 to get to ebs 12.1.3 an its pre-requisits. This is the first time I am opening these forms and all forms are throwing the same error.
    I have manually relinked the adadmin:
    adrelink.sh force=y "ad adadmin"
    Autoconfig is giving errors:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 1
    java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 1
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
    Thanks
    Mathias

  • After R12 Install: FRM-41809 and FRM-41067 While Opening Forms.

    Hi all,
    I have upgraded apps to R12.
    When I try to open forms, I am getting the following errors:
    FRM-41809: Error initializing Menu.
    FRM-41067: Cannot find Menu item: invalid ID.
    I did the following:
    - Generated messages files
    - Generated jar files
    - Generated all menus (including FNDMENU.MMX)
    - Generated fnd forms
    Still same error appears.
    Any clues please?
    S. Sundar

    Sawwan,
    Excerpt from forms-trace(2).html ...
    BUILTIN.START
    EventID 142
    EventNum 96
    Timestamp 168
    Name REPLACE_MENU
    BUILTIN Arguments:
    Type=In Position=1 DataType=STRING Value=F:\oracle\product\10.2.0\db_1\apps\apps_st\appl\au\12.0.0\resource\US\FNDMENU.mmx
    BUILTIN Arguments:
    Type=In Position=2 DataType=NUMBER Value=51
    BUILTIN Arguments:
    Type=In Position=3 DataType=STRING Value=NULL
    BUILTIN Arguments:
    Type=In Position=4 DataType=STRING Value=NULL
    BUILTIN Arguments:
    Type=In Position=5 DataType=STRING Value=NULL
    ERROR
    EventID 144
    EventNum 3
    Timestamp 168
    Msg Error Message: FRM-41809: Error initializing Menu.
    Yes. I ran autoconfig successfully.
    S. Sundar

  • FRM-10221:Cannot read file FNDMENU

    Hi Friend's,
    I am facing form error when I install and configure the ocj4 in my server.
    The form is working good before install/configure the oc4j. Once I install/configure oc4j i am getting bellow error when I open the forms.
    OC4J is working fine, but form only getting error for me.
    Issue is,
    FRM-10221:Cannot read file FNDMENU
    FRM-14810:Error Creating menu
    FRM-14067: Cannot find menu item: Invalid ID.
    Please help me any one...
    Regards,
    Gopi

    Hi Gopi,
    This question would be better handled in community  E-Business Suite -> EBS: General Discussions -
    https://forums.oracle.com/community/developer/english/e-business_suite/ebs_general_discussion
    Regards,
    Debbie

  • Error frm-10221and frm-41810 in customized menu attaches to frm 6i

    hi,
    i made my own customize menu which attaches to a form. when i run form it shows error like "FRM-10221 cannot read menu file" and after that it also shows "FRM-41810 errror creating menu". pls help me out.i'll be really greatfull.
    Thanx!

    hi,
    i made my own customize menu which attaches to a form. when i run form it shows error like "FRM-10221 cannot read menu file" and after that it also shows "FRM-41810 errror creating menu". pls help me out.i'll be really greatfull.
    Thanx!

  • Forms 6i Menu Items not Lauchning (FRM-40010: Cannot read form...)

    Sorry for the newbie issue - I just haven't been able to figure this out...
    I inherited maintenance of a old Oracle Forms Application, I was told it was version 5. And all the source modules were appended with "v05" like form1_v05.fmb, etc. I since discovered that when the users launch it they run against the forms 6i run time - so I guess this means it is actually a forms version 6i application.
    The App has about 20 forms, 20 reports and a menu - and no project.
    I copied all the source files into a working directory, then I created a project with the project builder using the "use all files in the current directory".
    When I run the app ( by drilling down to this app's "logo" form - a splash screen contain our company logo, and a Menu structure it runs fine.
    But just about every menu item I attempt to select ( i.e. MENU->Catagory1->OrderForm or in my case something like MENU->Inbound->Entry/Maintenance) results in no new form launching and the status bar contains the error message like "FRM-40010: Cannot read form order_v05.fmx"
    In the above example the project does contain a order_v05.fmb, and it compiles fine ( in fact a project "build all" generates no errors or warnings ) - my single working directory contain all the source modules ( like fmb's, rdf's and mmb's) and compiled versions ( fmx's, mmx ) . Specificlly the order_v05.fmx is also there.
    So why can't the app find the compiled form compiled in the same project and located in the same directory?
    I also see several ERR files but the only thing the err files contain is a whole lot of lines saying things like " Compiling POST-FORM trigger on form... No compilation errors."
    Any help getting this beast to run would be appreciated.

    I may have a clue as to what is causing the issue, but don't know how to fix it.
    I started poking in the menu items, and the child menu item that is supposed to do something runs some "Menu Item code" like this:
    begin
         hide_window('DLG_MAIN');
    CALL_FORM( 'out_order_v05.fmx'
    , no_hide
    , do_replace
    , no_query_only
    , no_share_library_data );
    show_window('DLG_MAIN');
    end;I made a NEW root menu item, with a new child menu item and set it's "Menu Item code" like this:
    begin
         hide_window('DLG_MAIN');
    CALL_FORM( 'C:\Data\_OraFroms\ITFS_V05\order_v05.fmx'
    , no_hide
    , do_replace
    , no_query_only
    , no_share_library_data );
    show_window('DLG_MAIN');
    end;And when I made this change, my new menu item launched the form, but the original one did not ( notice the only difference is my new menu item gives a fully qualified path to the file name ).
    So it looks like my project is clueless as to it's own home directory - anyone know how I clue it in?

  • Menu Element does not exist : not a valid ID (FRM-41067) error

    Dear all,
    I have removed from a menu an item but whenever i run the form i get the error Menu Element does not exist : not a valid ID (FRM-41067) i have searched for FIND_MENU_ITEM but i can't find the menu item id anywhere
    What could be the origin of this error, any tips please?

    Hi!
    Did you have taken a look to menu startup code property in the mmb?
    There is often some code to hide menu items.
    Regards

  • FRM-41390:  Cannot set REQUIRED property of subordinate mirror item

    hi,
    this is sathish,
    i have customized the oracle apps shipping transaction form, in this form i am calling the 10g report every thing is working fine but,when i open the form at that time it is showing the ERROR "FRM-41390: Cannot set REQUIRED property of subordinate mirror item"
    can any one suggest me how to slove this.
    tahnks,

    The first question is do you know what the error message means?
    It seems to be saying that you have a mirrored item, ie a field that it set to mirror the value of another. The error seems to indicate that it is not happy for this mirror item to have the required property set.
    If you know this already, then sorry for the explanation, but you did not make it clear in the post.
    I suggest to search for mirror items and see what properties they have, also see if you have a set_item property on said item that makes it required. I'm not sure from your description whether this happens at startup or after some event in the form.
    rgds

Maybe you are looking for

  • Encore wont play video files

    I recently upgraded encore from ver.2 to cs3 and find that ver.cs3 wont play video files. It wont play the file in the project window, it just stops at the first frame. If I move the slider below the viewer the video material is updated but it wont p

  • Officejet pro 8000 not compatible with mac??

    I have Yosemite OS (Mavericks before now) and duplex won't work on my printer. It tries to print both sides (and actually looks like it will) but then spits the second side out without printing on it and goes on to print page 3 on the second page. I

  • Fix chopped clips

    I am new to iMovie and started to import quite some miniDV tapes (±80) from my Sony DCR-PC9E to the iMovie library. I am looking for a solution to join clips in (or back into) the event library. Background of my problem. The tapes sometimes have some

  • In my ipad2   Is there any way to recover a deleted note In Note app?

    Is there a way to recover a deleted note in the Note App?

  • Find list of procs & funcs loading a table

    Is there a simple way to find out which are all the procedures & functions are inserting or updating data in particular inserting data into a table. Like in sybase we have "sp_depends table_name" which will list out the procs & funcs, like wise do we