+ Reply to Thread + Post New Thread
Results 1 to 4 of 4
  1. #1
    gkpgidnan's Avatar
    gkpgidnan is offline Junior Member
    Join Date
    03 Jun 2009
    Posts
    6
    Say Thanks
    0
    Thanked 0 Times in 0 Posts
    Documents
    0
    Uploads
    0

    Default I want the query for Menu and Sub menus in Sysadmin

    Hi Every body,

    i need the query which is relted to menus.

    my requirement is like, menu is having sub menus.
    in that sub menus are also having submens. SO i need the query to get all menus under sub menus.



    Thanks,
    GKP

  2.    Club-Oracle Complementary E-Books and Magazines
    Get your free Complementary Copy of Oracle Magazine

    You can also browse the Free Magazines and E-Books section to see the complete list of free magazines, e-books and Whitepapers.

  3. #2
    apps_expert's Avatar
    apps_expert is offline Forum Genius
    Join Date
    20 Dec 2008
    Location
    Chennai, India
    Posts
    320
    Say Thanks
    2
    Thanked 25 Times in 23 Posts
    Documents
    0
    Uploads
    4

    Default Re: I want the query for Menu and Sub menus in Sysadmin

    The table FND_MENUS contains the menu names and menu id. The table FND_MENU_ENTRIES contains the menu id and it's entries inclusing the sub-menu ids. SO you can use these two to write your query,

  4. #3
    gkpgidnan's Avatar
    gkpgidnan is offline Junior Member
    Join Date
    03 Jun 2009
    Posts
    6
    Say Thanks
    0
    Thanked 0 Times in 0 Posts
    Documents
    0
    Uploads
    0

    Default Re: I want the query for Menu and Sub menus in Sysadmin

    HI,

    Thanks for your reply..

    I know those two tables. i tried to join with that...
    Even though i am not able to get it.

    My requirement like

    Step1 : Menu--> Submenus1---
    |
    These submenus are also havig some other submenus..

    Like chain....

    Thanks,
    Srini

  5. #4
    M_Anas_O's Avatar
    M_Anas_O is offline Member
    Join Date
    26 Nov 2009
    Location
    Hyderabad, India
    Posts
    32
    Say Thanks
    1
    Thanked 0 Times in 0 Posts
    Documents
    2
    Uploads
    0

    Smile Re: I want the query for Menu and Sub menus in Sysadmin

    Hi Srini,

    You can build a query like this :

    Code sql:
    SELECT  FMEV.ENTRY_SEQUENCE,
           FMEV.PROMPT,
           FMEV.DESCRIPTION,
           SUB_MENU_FMEV.USER_MENU_NAME SUB_MENU_NAME,
           SUB_MENU_FMEV.DESCRIPTION SUB_MENU_DESCRIPTION,
            FFFT.USER_FUNCTION_NAME,
            FMEV.GRANT_FLAG
            --, FMEV.*
    FROM apps.FND_MENU_ENTRIES_VL FMEV,
          apps.FND_MENUS_TL SUB_MENU_FMEV,
          APPS.FND_FORM_FUNCTIONS_TL FFFT,
          apps.FND_RESPONSIBILITY_VL FRV
    WHERE FRV.MENU_ID = FMEV.menu_id
    AND   SUB_MENU_FMEV.MENU_ID(+) = FMEV.SUB_menu_id
    AND   SUB_MENU_FMEV.LANGUAGE(+) = 'US'
    AND   FFFT.FUNCTION_ID(+) = FMEV.FUNCTION_ID
    AND   FFFT.LANGUAGE(+) = 'US'
    AND   FRV.responsibility_name = 'XXX Customer Service'
    ORDER BY FMEV.entry_sequence;

    This query gives you one level of sub menus for any responsibility specified. You can build in a similar way for as many levels you want for submenu.
    If you directly want to query for a menu, remove FND_RESPONSIBILITY_VL and its selects and joins.

    Regards,
    Mohammed
    Last edited by M_Anas_O; 11-26-2009 at 04:43 PM.

Similar Threads

  1. Creating Menu on the Home page
    By tejalmistry in forum Oracle Fusion Middleware
    Replies: 2
    Last Post: 05-21-2009, 10:37 AM
  2. How to Build Menu tree
    By farooq in forum SQL PL/SQL
    Replies: 3
    Last Post: 03-04-2009, 07:15 AM
  3. how to add a menu and Image in Form Builder Oracle 9i
    By haider_1pk in forum Oracle Developer Suite and Tools
    Replies: 1
    Last Post: 02-11-2009, 04:53 AM
  4. Menu on Oracle BI
    By MrGee in forum Oracle Fusion Middleware
    Replies: 2
    Last Post: 01-31-2009, 11:06 AM
  5. In page edit menu there is least option available
    By Arju in forum Site Feedback
    Replies: 4
    Last Post: 10-13-2008, 11:21 AM

Tags for this Thread