SQL to retrieve business areas, users and their reports?

Hi,
I've been able to retrieve by sql, users and their reports or business areas and thier users, but I'm unable to retrieve business areas, users and reports in the same sql.
I've been looking in eul tables without success. I guess someone has already done that?
Thanks

Hello
The problem you have is that you are trying to mix objects that don't go together.
As you have already determined, you can have a script to query users who have access to business areas, and you can also  have a script to query users who have access to or own reports. However there is no link between business areas and reports.
Discoverer reports are validated against folders, not business areas. If a report uses 2 folders and there are 10 business areas that contain those folders which business area do you think the report was written against? The answer is none of them. You just happened to have a business area open at the time the report was written but truthfully you could have used any of them. Therefore, if a user reopens a workbook that uses folders found in multiple business areas, Discoverer will default to the first business area by name that contains all of the folders used and that the user has been granted access to.
Hope this helps
Best wishes
Michael

Similar Messages

  • Retrieve Business Area.....

    Hi,
    There is a login id TEST123 in the development environment with admin access and the business area TEST is used to create discoverer reports and the version is 10.1.2.1
    By mistake the other developer went to the menu,
    Tools --> Security --> Select Business Area (Tab)
    and selected the business area TEST and removed from the Select Business Area and also he pressed the OK button when the warning message appeared.
    When I try to run the report error message was shown and when I tried to login into administration using the id TEST123 and i was schoked to notice that the business area TEST is not available
    I tried logging with other user id TEST1 but unable to find the business area TEST.
    All the reports developed are available only under the business area TEST
    So please help me to know who to over come this issue to again retrieve the business area TEST of the user id TEST123.
    Thanks in advance.

    You have to post in this forum:
    Discoverer

  • How to export a user and their schema from one 10g database to another?

    Hi,
    I would like to export a user and their entire schema from one 10g database to another one. How do I do this?
    thx
    adam

    If you want to export a user and the schema owned to the user, and import to the same user in a different database, or a different user in the same database, you can use the exp and imp commands as described in the Utilities manual.
    These commands are very versatile and have a lot of options - well worth learning properly. To give you a simplistic shortcut, see below - I create a user 'test_move', create some objects in the schema, export, create a new user in the database 'new_move' and import.
    [email protected]:~> sqlplus system/?????
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:46:54 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user test_move identified by test_move;
    User created.
    SQL> grant create session, resource to test_move;
    Grant succeeded.
    SQL> connect test_move/test_move
    Connected.
    SQL> create table test (x number);
    Table created.
    SQL> insert into test values (1);
    1 row created.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    [email protected]:~> exp system/????? file=exp.dmp owner=test_move
    Export: Release 10.2.0.1.0 - Production on Sat Mar 11 21:48:34 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user TEST_MOVE
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user TEST_MOVE
    About to export TEST_MOVE's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export TEST_MOVE's tables via Conventional Path ...
    . . exporting table                           TEST          1 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    [email protected]:~> sqlplus system/?????
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 11 21:49:23 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user new_move identified by new_move;
    User created.
    SQL> grant create session, resource to new_move;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    [email protected]:~> imp system/????? file=exp.dmp fromuser=test_move touser=new_move
    Import: Release 10.2.0.1.0 - Production on Sat Mar 11 21:50:12 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    . importing TEST_MOVE's objects into NEW_MOVE
    . . importing table                         "TEST"          1 rows imported
    Import terminated successfully without warnings.
    [email protected]:~>                                                       If moving between databases, remember to set the SID properly before the import. If keeping the same userid, skip the from/to stuff in the import.
    There are many variations on the theme ...
    You can simplify this. You can select tables individually. You can use a parameter file. You can transport all the constraints and data. You can skip the data and only move the definitions. You can get some help (imp/exp help=yes).
    And, if it's all 10g, there is a new and improved facility called expdp/impdp (dp = data pump) which has a lot more capability as well, including direct transfer (no intermediate file) together with suspend/restart. Also documented in the Utilities manual.

  • Import all users and their objects without doing full database import

    Hi Guys,
    I have a task to that involves Importing all existing users and their objects in production to the test database without doing a full database import - Please how do i do this?
    Pls i need your help urgently.

    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    I tried to import objects and data from a user from a FULL dump file. File was created with the following command:
    server is: SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 26 15:34:05 2010
    exp full=y FILE="full.dmp" log=full.log
    Now I imported:
    imp file=full.dmp log=full.log INCTYPE=SYSTEM
    imp fromuser=user1 file=full.dmp
    Results: not all the user procedures have been imported:
    SQL> select count(*) from user_procedures;
    the Original
    COUNT(*)
    134
    the current:
    select count(*) from user_procedures;
    COUNT(*)
    18
    I also tried these alternatives:
    exp tablespaces="user1_data" FILE="user1.dmp" log=user1.log
    exp LOG=user1.log TABLESPACES=user1_data FILE=user1_data.dmp
    exp LOG=user1owner.log owner=user1 FILE=user1owner.dmp
    expdp DIRECTORY=dpump_dir1 dumpfile=servdata_pump version=compatible SCHEMAS=user1
    impdp directory=data_pump_dir dumpfile=servdata_pump.dmp :
    ORA-39213: Metadata processing is not available
    SQL> execute dbms_metadata_util.load_stylesheets
    BEGIN dbms_metadata_util.load_stylesheets; END;
    ERROR at line 1:
    ORA-31609: error loading file "kualter.xsl" from file system directory
    "/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/rdbms/xml/xsl"
    ORA-06512: at "SYS.DBMS_METADATA_UTIL", line 1793
    ORA-06512: at line 1
    file kualter.xsl does not exist in XE !!
    imp owner=user1 rows=n ignore=y
    imp full=y file=user1_data.dmp
    imp full=y file=full.dmp tablespaces=user1_data,user1_index rows=n ignore=y
    So, I do not understand why user1 objects are not imported:
    see this part of the first import log:
    Export file created by EXPORT:V10.02.01 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    . importing SYS's objects into SYS
    . importing USER1's objects into USER1
    . . importing table .........................
    why only 18 rows?
    if you have an suggestion, you are welcome, as I do not have any other idea...
    ren
    Edited by: ronpetitpatapon on May 26, 2010 12:38 PM
    Edited by: ronpetitpatapon on May 26, 2010 12:41 PM
    Edited by: ronpetitpatapon on May 26, 2010 1:03 PM

  • Getting list of all users and their group memberships from Active Directory

    Hi,
    I want to retrieve a list of all the users and their group memberships through JNDI from Active Directory. I am using the following code to achieve this:
    ==================
    import javax.naming.*;
    import java.util.Hashtable;
    import javax.naming.directory.*;
    public class GetUsersGroups{
         public static void main(String[] args){
              String[] attributeNames = {"memberOf"};
              //create an initial directory context
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
              env.put(Context.PROVIDER_URL, "ldap://172.19.1.32:389/");
              env.put(Context.SECURITY_AUTHENTICATION, "simple");
              env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
              env.put(Context.SECURITY_CREDENTIALS, "p8admin");
              try {
                   // Create the initial directory context
                   DirContext ctx = new InitialDirContext(env);     
                   //get all the users list and their group memberships
                   NamingEnumeration contentsEnum = ctx.list("CN=Users,DC=filenetp8,DC=com");
                   while (contentsEnum.hasMore()){
                        NameClassPair ncp = (NameClassPair) contentsEnum.next();
                        String userName = ncp.getName();
                        System.out.println("User: "+userName);
                        try{
                             System.out.println("am here....1");
                             Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should be returned
                             System.out.println("am here....2");
                             Attribute groupsAttribute = attrs.get(attributeNames[0]); // memberOf
                             System.out.println("-----"+groupsAttribute.size());
                             if (groupsAttribute != null){
                                  // memberOf is a multi valued attribute
                                  for (int i=0; i<groupsAttribute.size(); i++){
                                  // print out each group that user belongs to
                                  System.out.println("MemberOf: "+groupsAttribute.get(i));
                        }catch(NamingException ne){
                        // ignore for now
                   System.err.println("Problem encountered....0000:" + ne);
                   //get all the groups list
              } catch (NamingException e) {
              System.err.println("Problem encountered 1111:" + e);
    =================
    The following exception gets thrown at every user entry:
    User: CN=Administrator
    am here....1
    Problem encountered....0000:javax.naming.NamingException: [LDAP: error code 1 -
    000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0
    ]; remaining name 'CN=Administrator'
    I think it gets thrown at this line in the code:
    Attributes attrs = ctx.getAttributes(userName, attributeNames);
    Any idea how to overcome this and where am I wrong?
    Thanks in advance,
    Regards.

    In this sentence:
    Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should
    It seems Ok when I add "CN=Users,DC=filenetp8,DC=com" after userName, just as
    userName + ",CN=Users,DC=filenetp8,DC=com"
    But I still have some problem with it.
    Hope it will be useful for you.

  • List all users and their own roles.

    Hi everybody!
    I have to make a list of all sap users and their own separated roles by user. There are any transaction to do it? The SUIM transaction gives me a sap user and their own roles, but if I try with a lot users It gives me all the roles that are using those users but don't give me the roles for each one.
    Thanks a lot.
    Best regards.

    Hi Reynaldo,
    You can go to SE16 -> table name "AGR_USERS" and see the records for all users. Arrange them in ascending order by name and you will get the report what you have mention above.
    Download it and put it in EXCEL.
    Best Wishes.
    Kumar

  • List users and their attributes

    Hello,
    We are on SRM 5.0 and I am looking for a report which lists users and their attributes. So for instance  username / position and all catalogs assigned to them.
    Thanks for your help!

    Hi Antoinette,
    There are no standard reports for this requirement. I have already posted a code sample for this requirement.
    https://wiki.sdn.sap.com/wiki/display/SRM/CodeSample2-Reporttodisplayuserattributes
    Hope this solves your problem.
    Regards
    Kathirvel

  • How to find out list of users and their access on Sharepoint

    Hello Everyone
    How can i find out list of users and what access they have on SharePoint site? I want to create table with list of the users and their access?
    Thanks

    you can get the report using below powershell scripts. first one gives list of users in a site collection level.
    The second link generates the permissions reports for each user.
    http://techtrainingnotes.blogspot.com/2010/12/sharepoint-powershell-script-to-list.html
    https://sp2010userperm.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • List of users and their licence allocation

    I am aware of accessing Admin>> License>> License allocation, one by on - but would like to have access to be able to llist users and their licence allocation.

    hello Liza,
    you may see this thread. this may help you
    License Allocation
    hope it helps..
    Fidel

  • List of users and their decimal notation settings in SAP system

    Hi all, i'm looking to get my hands on a list of all users in our SAP system and their respective decimal notation settings? I know that these can be mass changed using SU10 however I am unable to determine how to view a list of users and their settings.
    Thanks,
    James

    Hi James,
    You can find many useful reports, in SUIM transaction to see user details, but not decimal notation field. I don't know a report to show decimal notations, but as a workaround, in order to see the decimal notation, you can check "USR01-DCPFM" by using "SE16".
    Best regards,
    Orkun Gedik

  • Does anyone know how to retrieve lost mailbox folders and their contents in mail?

    Does anyone know how to retrieve lost mailbox folders and their contents in mail?

    It might be that you selected "Delete sent mail after a mont (or a week, or whatever)" in Mail Preferences. iCloud account is IMAP, so it won't keep mail in your HD. I have that problem.

  • Dropping users and their objects

    Is it possible to drop users and their objects (default tablespaces, stored procedures, etc.) ?

    ... because it drops what they own, and they don't own the default_tablespace, it might be used by lots of people.

  • E-Recruiting Users and their Service Assignments

    Hello all,
    I am running EREC 604 SP11 (Ehp4), with ECC 6.0 SPS5, TREX 7.1rev39, Portal 7.01.
    My scenario is EREC+ECC one box, Portal seperate and TREX seperate. I've got everything set up for WebDynpro (as required with this release) and am having some trouble accessing certain web dynpro links, I think my problem is an early eRecruiting step of defining service users and their assignments to eRecruiting /  web dynpro services in SICF.
    Can anyone provide me with a list/table of service/reference users that need to be created, their attached roles, and which services they each need to be assigned to? I've looked all over and cannot glean this type of simple documentation.
    Thank you very much for your time!

    Hello,
    The reference users and the respective roles would be;
    Reference User / Standard SAP E-Rec Role /      Role name
    RCF_ADMIN               /         SAP_RCF_BUSINESS_ADMINISTRATOR      /  Administrator
    RCF_CAND_EXT / SAP_RCF_EXTERNAL_CANDIDATE      /  External Candidate
    RCF_CAND_INT /      SAP_RCF_INTERNAL_CANDIDATE      /  Internal Candidate
    RCF_DATA_TYP /      SAP_RCF_DATA_TYPIST                           /  Data Entry Clerk
    RCF_DECISION /      SAP_RCF_DECISION_MAKER      /  Decision Maker
    RCF_MANAGER /      SAP_RCF_MANAGER                           /  Manager
    RCF_MGRASS /      SAP_RCF_MANAGER_ASSISTANT      /  Manager's Assistant
    RCF_RECRUIT /      SAP_RCF_RECRUITER                           /  Recruiter
    RCF_REQUEST /      SAP_RCF_REQUISITION_REQUESTER      / Requester
    RCF_RES_REC /      SAP_RCF_RESTRICTED_RECRUITER      / Restricted Recruiter
    RCF_RES_SUCC /      SAP_RCF_REST_SUCCESSIONPLANNER / Restricted Succession Planner
    RCF_SUCC_PL /      SAP_RCF_SUCCESSION_PLANNER     / Succession Planner
    RCF_TC /                           SAP_RCF_TALENT_CONSULTANT      / Talent Consultant
    The service user with the role and relevant services would be
    Service user / Std. E-rec Role  / Role name
    RCF_UREG_CAND(*)      / SAP_RCF_UNREGISTERED_CANDIDATE /      UnRegistered Candidate
    (*) - The naming convention as required
    Required services;
    hrrcf_a_unreg_job_search
    hrrcf_a_candidate_registration
    HRRCF_A_POSTING_APPLY
    Service user is key for Un-registered candidates till the registration process is complete. I'm not sure if i had missed out any specific services with respect to Unregistered candidates. If so, probably some one else can add to the list.
    Best Regards
    G Raj

  • How can I list all users and their DEFAULT tablespace?

    How can I list all users and their DEFAULT tablespace?
    Peter

    Peter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
    How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
    HTH -- Mark D Powell --

  • BI Report - List all users and their assigned roles

    Hello,
    i need a report, which lists me all users and their roles.
    Which table stores this membership information about the users?
    USR or UGP does not have any values

    Hi Reynaldo,
    You can go to SE16 -> table name "AGR_USERS" and see the records for all users. Arrange them in ascending order by name and you will get the report what you have mention above.
    Download it and put it in EXCEL.
    Best Wishes.
    Kumar

Maybe you are looking for

  • How to find out if a mirror is synced ?

    With the recent big updates i have been looking for a way to determine if the mirrors i use for updating are in sync. For the last update i manually activated ftp.archlinux.org in pacman.conf, did a pacman -Syu , answering NO then switched to another

  • Upload data for by table

    Hello again. there use to be a website where there was a created table and lots of data with script on how to load it. anybody remember where that is? thanks. i know how to create a table but unable, healthwise to sit and type in lots of data into fi

  • Can I import WMA DVD file to itunes?

    Can I  import a WMA file (audio) to itunes (or how do I change the file name to mp3) ?  I  ultimately want to  download it to my ipod.  Or is there another app that I can work with (WMA player(?) Thanks for any help!

  • SPM Auto Load Capture and Use.

    Hi, I was reading about Oracle SPM feature, but i have questions in mind for automatic feature.. * if we have set both capture and use parameter true. Oracle will automatically capture Plans, but will it automatically evolve new plans to accepted or

  • Finished iMovie too large for iDVD

    After dumping 1/2 of my iMovie into the Trash so that the total length of all clips including trans, etc. was less than two hours, I shared it to iDVD, and found it to be 232.4 minutes long and 7.5 GB! The timeline at the bottom of iMovie still read