Hierarical Query to build user menu with access

Hi All,
I am facing problem in populating user menus in hirarical against user access control.
I have table of menus in which i populate data as:
Menu
- Sub Menu 1
-- Form 1
-- Form 2
-- Form 3
- Sub Menu 2
-- Form 4
-- Form 5
-- Form 6
Now I have created hierarical query as:
SELECT -1, LEVEL, menu_name, NULL, id
FROM menu_opt
START WITH parent_id IS NULL
CONNECT BY PRIOR menu_id = parent_id
and menu_id in
(3, 4);
Note: where menu_id 3 = Form 1, Menu_id 4 = Form 2.
If I allow only menu ID 3 and 4 (not parents menus) then Hieraricy should be completed from top to bottom. What change i have to made to achieve my target?
Thankx

Do not duplicate posts.
Did you ask your question in the sql-forum as suggested?

Similar Messages

  • In JSF, how to make a menu with access control?

    In JSF, how to make a menu with access control?
    The access control can be guided by programming, database or other means if possible?
    Thanks

    I want to make a dvd menu in iMovie because i don't have IDVD and can't find anywhere to download it?
    For making DVDs I would recommend iMovie 06 and iDVD 09 both readily available on Amazon or eBay.  Shop for iLife 06 and iLife 09.
    You can make menus and chapters with any version of iMovie except the latest one. There's nothing wrong with iMovie 11 either but I prefer iMovie 06.
    By using iMovie 06 and iDVD 09 I make DVDs with professional moving menus with very little effort. They look almost as good as Hollywood.

  • Ldap users import with access group

    Hi,
    I have callmanager 10.5 with LDAP. I want to import users and assign thse users to an access controll group (like ccm enduser etc)
    I configure, I import the users, but they are not member of an access controll group and I have to do it still manual.
    Not so much work, but why doesn't it work?
    Any one else seen this?
    JH

    Did you add the Group information to the System > Ldap directory settings?  In CUCM under the LDAP Directory you're sync'ing with you want to add the Standard CCM End Users to the "group information" for that directory before you sync.
    If you sync first, then add the groups it it will only apply the groups to newly created users.

  • New iMac 21.5". How can I set up a new user account with access to all the files of the original user account?

    Running Mavericks on a 2013 iMac 21.5". I want to set up a second user account with different settings that meet the requirements of specific software. I need the files to be accessible by both users. I have made both the main and secondary accounts administrators. I have also enabled file sharing for both. Neither account can see the other's files in Finder.
    How can I make all files accessible to both accounts? I read that administrator accounts automatically can see all files on the computer, but it is not working out that way. I have restarted the computer, to no avail.

    Comcast only offers POP accounts, and one way to set up the account and enter all the settings before it connects to the mail server, might be to do it Offline:
    https://support.mozilla.org/en-US/questions/991539#answer-547878
    The server settings are given [http://customer.comcast.com/help-and-support/internet/setting-up-thunderbird/ here], but the method is for Online account setup.

  • BAPI to get a user list with access rights to particular objects

    Hi Experts,
    BAPI to get all user lists for input specific object, authorizations, profiles and values?
    Any useful answer will be rewarded with suitable points.
    Thanks,
    Rohan

    Hi Rohan
    Use the BAPI:
    <b>BAPI_USER_GET_DETAIL</b>
    Regards,
    Sree

  • User Exit with access to all line items in sales order

    Hi,
    Is there any user exit/BADI, where we have access to all line items at the same time?
    Thanks
    Kamal

    In the Transaction is VA01/2/3 u can use program  MV45AFZZ.
    this is user exit for SO.
    regards
    Prabhu

  • BAPI to get all user lists with access rights to particular objects

    Hi Experts,
    Is there any BAPI to get all input related user lists for input specific object, authorizations, profiles and values?
    Thanks,
    Rohan

    Hello,
    BAPI_USER_DISPLAY              Display users
    BAPI_USER_GET_DETAIL           Read User Details
    Vasanth

  • Build menu with FDK + shortcuts

    Hello,
    We are building plugin menu with FDK and it works but we have problems with shortcuts.
    We are creating a command and adding them into menu and also to these menus:
    !MakerMainMenu
    !BookMainMenu
    !QuickMakerMainMenu
    !QuickBookMainMenu
    !ViewOnlyMainMenu
    Menuitem for command is displayed in all menus but the shortcut works only when a
    document is opened. What do we need to do to make shortcuts work when no document
    or book is opened or only book file is opened?
    Thank in advance.
    Viktor

    Hi Viktor,
    I don't have an answer for you, but I wanted to let you know that I duplicated this behavior, so you are not the only one. I'm not sure why it would behave this way.
    Russ

  • How to create a duplicate of the Manager ID field in the Create user menu

    Hi,
    I´m trying to create a duplicate of the Manager ID field in the Create user menu (with a different label). I need to add it a field with the same funtionality of the Manager ID field (search users with filters) but I don´t know how.
    I try to made a new adapter using the Thor.API.Operations.tcUserOperationsIntf but it don´t let me to map the input parameters.
    Also I try to assing an existent Lookup to a new UDF, but I couldn´t find the correct one.
    Did anybody do that??
    Thanks!

    Hi Kevin,
    First I created a a user defined field called USR_UDF_CONDUCTOR (Lookupfield type).
    Then I added the following lines to de FormMetaData.xml file:
    </Attribute name="-750" label="global.label.conductor" displayComponentType="LookupField" variantType="long" dataLength="50" map="USR_UDF_CONDUCTOR">
    <ValidValues lookupMethod="findUsersFiltered" operationClass="Thor.API.Operations.tcUserOperationsIntf" displayColumns="Users.User ID,Users.Last Name,Users.First Name" selectionColumn="Users.User ID"/>
    </Attribute>
    <AttributeReference editable="true" optional="true">-750</AttributeReference>
    When I try yo Create a new user, the OIM System Administrator returns a System Error.

  • Create user menus in hierarical tree with access control

    Hi All,
    I am facing problem in populating user menus in hirarical against user access control.
    I have table of menus in which i populate data as:
    Menu
    - Sub Menu 1
    -- Form 1
    -- Form 2
    -- Form 3
    - Sub Menu 2
    -- Form 4
    -- Form 5
    -- Form 6
    Now I have created hierarical query as:
    SELECT -1, LEVEL, menu_name, NULL, id
    FROM menu_opt
    START WITH parent_id IS NULL
    CONNECT BY PRIOR menu_id = parent_id
    and menu_id in
    (3, 4);
    Note: where menu_id 3 = Form 1, Menu_id 4 = Form 2.
    If I allow only menu ID 3 and 4 (not parents menus) then Hierarchy should be completed from top to bottom. What change i have to made to achieve my target?
    Thankx
    Qasim Javaid

    Hi,
    Sorry, it's very unclear what you want to do.
    Whenever you have a problem, please post CREATE TABLE and INSERT statements for a little sample data, and the results you want from that sample data.
    Say which version of Oracle you're using, e.g. 11.2.0.2.0. This is always important, but especially so with CONNECT BY queries, because every version since Oracle 7 has had significant improvements in this area.
    See the forum FAQ {message:id=9360002}
    If you can show the problem using commonly available tables (such as scott.emp or hr.employees, both of which contain trees) then you don't need to post any sample data; just the results you want and an explanation of how you get those results.
    For example, I think you're asking something like this:
    "I want to show the hierarchy in scott.emp, but I only want to show certain nodes and their descendants. For example, if I ask for 'MILLER' and 'SCOTT', I would want to see
    {code}
    ` EMPNO ENAME
    7876 ADAMS
    7788 SCOTT
    7934 MILLER
    {code}
    (order doesn't matter). ADAMS is included because ADAMS is a child of SCOTT."
    Here's one way to do that:
    SELECT DISTINCT
         empno, ename
    FROM     scott.emp
    START WITH     ename     IN ('MILLER', 'SCOTT')
    CONNECT BY     mgr     = PRIOR empno
    ;This query should work in any version of Oracle.

  • Find query technical name for a deleted query/workbook in the User Menu

    Hi,
    When a BEx workbook or BEx query is published in a role, people with that role will see the query / workbook in their user menu.
    It is possible to change the caption/title of the 'node' in the user menu so it does not necessarily have the same name as the report.
    I am now in a situation where a user tries to run a query/workbook from the user menu, and runs in an error message 'query does not exist on server'.
    How can I found out to which query/workbook a node in the user menu refers?
    I have tried the Metadata repository but because of the many nodes in the user menu this is a laborious task.
    I was hoping to find a table where I could use the role name and node name to find the 'target' report but I haven't been able to find such a table.
    Any (other) suggestions?
    Many thanks,
    Jan.

    Hi,
    You can publish the workbook to the role and as user have access to the role he can access the workbook also.
    Regards,
    Kams

  • Transaction code for user menu, sap easy access

    Hi system experts!
    Does anybody know which transaction causes the user-specific menu within "SAP easy access" (the welcome screen after login, like /n does) ?
    I need it to be called from a portal iView, so that the usual sapgui-like screen with the user's menu appears in a portal screen, both for SAPGUI for windows and http.
    Trx. S000 or SESSION_MANAGER does not cause the user-specific menu when called from the portal. These work least of all for call via ITS.
    thanks
    Andreas

    hi ,
    The transaction code is SE41.. This is for creating Menus and tool bars.
    you can also try SMEN it will call the user menu as you described in your post.
    Regards,
    Krishna
    Message was edited by: Krishnakumar

  • User can't access a PDF with Forms

    On a website, we have a main menu PDF with a list of bookmarks linking to individual user manual PDFs.  When a user tries to access a user manual  PDF with forms in it, they get the error "There was an error processing a page. There was a problem reading this document (118)." The user dosen't appear to have any problem opening a PDF that doesn't contain forms. 
    The user is using Reader 10.1.3 and Internet Explorer 8.0.6001.19328.  This user cannot access the PDFs with forms when given a direct link to the file either. However, if the user is sent the PDF file they can open it with Reader and in their browser.  I'm stumped.  Does any body know what's going on here?

    Is there a browser setting that can affect if a PDF opens? Something in security, perhaps? I've looked around and don't see anything obvious that could allow/disallow opening a PDF file that contains form fields.
    Jeanie

  • Opening of Bex on clicking of query from user menu

    Hi,
    if i double click on the query seen in the user menu( first screen after login), i would like to open it in excel(Bex).
    it opens a internet explorer page with some error.
    what needs to be done?
    the workbooks seen in the user menu open directly in excel.
    what needs to be done for the queries?
    thank u

    I think you can run only URLs (web-based query) and workbooks...
    Bye,
    Roberto

  • Query that show all users who have access in BW cubes & Query's Owner

    Hi Experts,
    Good day !!!
    I would like to know if it's possible to create a query that tell us who has access to all the cubes in BW? This is a business requrement that we should create if possbile.  We also wonder if we may also create a query for shows us all the queries and who created them? We are doing this manually for each query. We only manually look for all the areas that I have access, but if it can be done systematically, that would save a lot of time.
    Thanks in advance guys !!!
    Best Regards,
    Marshanlou

    Hi,
    Then For this You need to create the table of your own fields with all the user names in R/3 side and Develop the report,
    Bue users will not the stay in same company , They will be changing and some user will be coming, every time u can t go enhancement.
    Regards
    Radha

Maybe you are looking for

  • Maximum Number of Seconday index on ECC6.00

    Hi all,      I tried created 22  seconday indexes for a table in ECC6.00  . This was just for testing purpose. Can anyone tell me the limit on number of seconday index on SAP table. I searched  forums before posting and found that 15 is the max limit

  • How to give a value range in export parameter (global class)

    hi all, I have created a class-method called get_po_date. In this i had export parameter as qmfe-qmnum. If i give qmfe-qmnum in import parameter in class, i am able to give only one value at one time, but i need a range of values at a time. Instead o

  • How Do I Change The Color Of Wood To Get A Good Result?

    I have a photo with kitchen cabinets that are a mahogany color, and need to change them to a golden oak color to show the change in the cabinets. I can get a very good brown result, but can't get a good golden oak color. Here's a link that shows what

  • Iphone activation fail

    Hi all, I have bought an iphone from internet and I can't use it. The iphone can't be activated because it was registered with the account of the old owner. And the seller can't remove the iphone from is account because he lost his login. What i must

  • X70-AST3G26 and 3D

    Hi, I was wondering if anyone can tell me if the X70-AST3G26 will play blu ray 3D movies, and if so, what kind of glasses do I need? I tried to play around with the Toshiba video player's 3D options to find out what it can do, but I don't actually ha