List of Workbooks and shared Responsibilities

As a part of SOX compliance, we would like to create a report that runs against the "Discoverer EUL" which will give me a list of workbooks name and all the responsibilities it is shared with.
however it is difficult to understand how the joins should be created. Any help would be greatly appreciated. Thank you.

Hi
I don't have an Apps environment here for me to try this on, but please try this and let me know if it works:
SELECT DISTINCT
DISCO_DOCS.DOC_NAME WORKBOOK,
TRUNC(DISCO_DOCS.DOC_CREATED_DATE) WORKBOOK_DATE,
USERS1.USER_NAME "WORKBOOK OWNER/CREATOR",
DISCO_USERS.EU_USERNAME,
USERS2.NAME "NAME / RESPONSIBILITY"
FROM
EUL5_DOCUMENTS DISCO_DOCS,
EUL5_ACCESS_PRIVS DISCO_SHARES,
EUL5_EUL_USERS DISCO_USERS,
APPS.FND_USER USERS1,
SELECT USER_ID ID, USER_NAME NAME
FROM APPS.FND_USER
UNION ALL
SELECT RESPONSIBILITY_ID, RESPONSIBILITY_NAME
FROM APPS.FND_RESPONSIBILITY_TL
) USERS2
WHERE
DECODE(DISCO_DOCS.DOC_CREATED_BY, 'ORACLE_APPS', '-99', SUBSTR(DISCO_DOCS.DOC_CREATED_BY, 2)) = USERS1.USER_ID (+) AND
DISCO_USERS.EU_USERNAME NOT IN ('EUL5', 'PUBLIC') AND
DISCO_DOCS.DOC_ID = DISCO_SHARES.GD_DOC_ID (+) AND
DISCO_USERS.EU_ID = DISCO_SHARES.AP_EU_ID AND
TO_NUMBER(DECODE(EU_USERNAME, 'EUL5_US', -99, 'PUBLIC', -88, DECODE(INSTR(SUBSTR(EU_USERNAME, 2), '#'), 0, SUBSTR(EU_USERNAME, 2), SUBSTR(EU_USERNAME, 2, INSTR(SUBSTR(EU_USERNAME, 2), '#', 1)-1)))) = USERS2.ID (+)
If anyone finds any errors please let me know so that I can fix my notes.
Best wishes
Michael

Similar Messages

  • Query to find the list of workbooks and worksheets assiciated to those book

    Hi Gurus,
    Could you help me with the tables / Query to fetch the list of workbooks and associated worksheets names as welll.
    Thanks in advance!!
    Rgds,
    Santosh

    Hi Santosh
    The whole point of the STATS table is to allow you to query performance, who did what and when. The database itself does not keep such statistics so if you disable Discoverer's method of capturing these you have no way of knowing who did what and when.
    Without this it is impossible to say. I would strongly recommend you enable the capturing of statistics.
    The reason you cannot directly query a WORKBOOK to determine what WORKSHEETS are associated with it is because that information is stored as binary information and not in SQL format.
    Discoverer 10g has the capability of providing detailed information on the EUL. This feature is not offered "out of the box" but can be easily enabled.
    The EUL Administrator can enable the feature by completing the following steps (see also MOS Note 556932.1):
    1. Log on to SQL*Plus as the Discoverer Administrator on the machine where Discoverer Administration Edition is installed.
    2. Execute the EUL5.SQL script found in the *$ORACLE_HOME\discoverer\util* directory. (This script will create the necessary database objects.)
    NOTE: If you are using an Oracle Applications mode EUL, you must also run the eul5_apps.sql file in the $ORACLE_HOME\discoverer\util directory.   This script must be run as the EUL owner, and not the Oracle Applications SYSADMIN user.
    4. Exit SQL*Plus and log on to the Discoverer Administration Edition product (as the EUL Administrator).
    5. From the menu bar, select File | Import.
    6. Import the EUL5.EEX file from the ORACLE_HOME\discoverer directory. Once the EUL import is complete, a new business area will be created and visible called The Discoverer V5 EUL. This is the business area that provides the details on the EUL.
    EUL Management Workbooks for Discoverer Administrators
    The EUL5.EEX file also imports four pre-built Discoverer workbooks. These workbooks are automatically saved to the database during the EEX import and can be executed in Discoverer Plus, Viewer or Desktop:
    EUL Workbook Management - shows which workbooks are shared with which users. Examine worksheets to find the folders, items, joins and conditions they depend upon.
    EUL Access - This Workbook indicates if a current EUL exists in this users schema. It also displays the EUL's in other user schemas that this user can access.
    EUL Query Statistics - Find out which workbooks and worksheets are being used by whom. Examine users ad-hoc queries.
    Lineage - Hyper Drill from Discoverer to find a folder or Items Lineage in Oracle Warehouse Builder. To enable the Hyper drill, you will first need to run the Lineage.sql script.
    The Discoverer Administrator can use the pre-built workbooks or build their own EUL management workbooks by using the Discoverer V5 EUL business area.
    Best wishes
    Michael

  • Having issues with workbook and sharing

    Ive used excel for my scheduling for over 10 years or so and sharing it so everyone in the office has access.  Since we switched to the new office, now it changes the fonts, colors, size every time you open it.  Tied to set a default them but
    didnt work, its driving me nuts having to change 100 cells or lines every time i open it. Any ideas?  Thank you!

    Hi,
    Do you mind telling us what is the previous and new version of Office? From Excel 2003 upgrade to Excel 2007 or later version?
    If it is, the issue may be caused by the file format, we should make sure that the workbook is being saved in native Excel 2007/2010 format. If you are saving it in the older Excel 97-2003 format, then it is possible that the losses you are seeing are
    due to the formatting not being supported in the older format.
    Then, we may try the workaround: Transfer your data from the current workbook to a new workbook and then see if the problem occurs in the new one.
    http://excelribbon.tips.net/T009484_Losing_Formatting.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Query EUL tables: I need a list of Workbooks and thier BA Source Folder.

    I'm working with Disco 4, but this should apply to all versions.
    How do I link the EUL tables together in a query to get the workbook name and it's source folder in the Business Area?
    Example: Table EUL4_Documents has all the Workbooks, and EUL4_OBJS has the Business Area folders. How do I Link these tables together?
    Thanks,
    Mike

    Hi Mike
    You cannot do this. The EUL4_Workbooks folder does indeed contain the workbooks but they are stored in a LONG RAW database column that cannot be accessed using standard SQL. So even if you can read he Business Area folders there is no way to link these back to a workbook I'm afraid.
    Regards
    Michael

  • How to get workbook and folder list from backend

    Hi,
    I want a list of workbook and their respective folders in excel. How can we find out this from backend?
    Thanks ,
    Sam

    Hi,
    You can try this:
    select d.doc_name,
    d.doc_developer_key,
    x.ex_to_par_name,
    e.exp_name,
    b.ba_name
    from eul10g_us.eul5_documents d,
    eul_us.eul5_elem_xrefs x,
    eul_us.eul5_expressions e,
    eul_us.eul5_ba_obj_links o,
    eul_us.eul5_bas b
    where x.ex_from_type = 'DOC'
    and x.ex_from_id = d.doc_id
    and x.ex_to_id = e.exp_id
    and e.it_obj_id = o.bol_obj_id(+)
    and o.bol_ba_id = b.ba_id(+)Tamir

  • Problem on Portlet for list of workbooks

    Hi,
    I followed the instruction on 'How to use OracleAS Discoverer with OracleAS Portal' on Oracle Application Server Discoverer Configuration Guide.
    1. I check make sure the portlet provider URL works.
    2. I registered the portlet Provider.
    3. I refresh the portlet provider after I applied the changes.
    But according to the document, the Discoverer list of workbooks and Discoverer workbook portlets should show up at portlet staging folder.
    Any suggestion or tip?

    Did you add a portlet to your portal? Add the portlet, then click edit defaults and the Discoverer Portal Provider walks you thru a dialogue.

  • How to find both direct and indirect responsibilites attached to user

    Hi All,
    I have a requirement to write a sql to list all direct and indirect responsibilities attached to a particular user.
    Please help me.
    Thanks,
    Raghav.

    Hi;
    Pelase see below which could be helpful for your issue:
    responsibilty -to find any users assigned
    to find any users assigned to a responsibilty
    Regard
    Helios

  • Unable to print to Canon iR-Adv C5045 from MacBook Pro that is connected to Windows computer and shared on the network

    I am unable to print to a Canon iR-Adv C5045 from a MacBook Pro (OS X 10.9.4) that is connected to Windows NT computer and shared on the company network.  I am connected to the network by ethernet.
    I was able to add the printer manually by going to Advanced, Windows printer via spoolss, smb://computer name/printer name and used the Canon iR-ADV C5045/5051 driver.
    When I print it appears to be printing but nothing comes out.  I checked the completed jobs from the Print Queue and the job is listed.  Checked the print log on the printer and it isn't listed.  Is there a different driver I should be using for this configuration?

    You may not have a choice as to what driver you can use. If the ADV C5045 only has the default UFR2 printer kit, then you will have to use the UFR2 driver - which is what you are using now. If you can access the copier, press the Counter Check button on the control panel. Then on the display you will see an entry labelled Check Device Configuration. Select this and scroll down through the pages. You are looking for an entry called PS. If you see it then the Canon does have the optional Postscript printer kit enabled and this will let you use an alternate driver. One suggestion would be to create the printer again using the same setting that you have done already but this time select the Generic Postscript driver included with the OS rather than use the Canon driver. This will help to determine if the driver is the cause.
    If there is no PS option you will have to use the UFR2 driver and this could be the problem, as the Canon drivers don't always work well on a Mac via a Windows share. As a test, are you able to create a print queue directly to the Canon rather than via the Windows share? If you can, then this will let you check if the driver currently installed will work, as there can be settings on the copier that can block/stop you from printing. Assuming that you can print to the Canon with a direct connection from the Mac, then we can work on getting the printing via the shared queue. But if it doesn't print directly from the Mac, then it confirms that it may not be the server and more to do with the copier.

  • Network and Sharing Centre problems (again)

    I seem to be tearing my hair out once again with the Network List Service. Several months back the Network and Sharing centre stopped displaying or reporting the active networks, although I was connected with internet access. A consequence was most of the
    Metro apps would not work as they thought the computer was off-line.
    The problem seemed to be that the permissions were wrong in the Network List hierarchy and adding Full Control for my user account in 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
    NT\CurrentVersion\NetworkList' seemed to solve the problem.
    Once again thought the Metro apps are not working reporting no internet connection and the Network and Sharing centre has the following message:
    Unknown
    The service to detect this status is disabled
    More Information
    When I select More Information I get a dialog asking if I want to turn on Network List Service,  when I click "Turn this on' nothing happens. 
    Having looked in the Event Viewer, there are a large number of this entry, maybe it is related?
        DCOM got error "1068" attempting to start the service netprofm with arguments "Unavailable" in order to run the server:
    Network List Service is reported as running in Services.msc. and task  manager.
    I tried to check the permissions in the registry key as I did before but key was missing (i think). I tried switching to a local account on the computer from my Microsoft Live account but no change, although when I checked the registry, the NetworkList
    key was there and the permissions were correct. Maybe I was just looking in the wrong place but I was pretty sure it was missing...
    Not sure where to go next with this.. 

    Hi,
    The Network and Sharing centre opens as normal but where you would normally see 
    'View your active networks' followed by the network or list of networks that you are connected to it just says:
    Unknown (when view your active networks would be)
    The service to detect this status is disabled
    More Information
    Clicking on 'More information' informs me that the Network List Service is not running and asks if I want to start it, clicking yes does nothing. The Network list Service is listed as running in Service.msc
    I have tried a full virus scan and also ran a whole host of anti malware tools and the computer seems clean. I also tried sfc /scannow with no problems detected.
    I restored and old clonezilla backup I had and it is fine now but made a system backup before I did. This is the second time this has happened and I would like to find a solution so I will revert back to the drive image with the issue and post a screen shot. 

  • Online Backup and Sharing issue

    I am having trouble with the restore part of my Online Backup and Sharing.  Whether I select specific files or a folder, the history shows that the backup was successful, but when I try to find it in the list of files that can be restored, the files that I want are not there.
    I can see the structure of folders and sub-folders, but the specific files are not anywhere in my restore list.  
    Also, there seems to be two different structures with some of my folders in one and some in another with some redundancy.  Neither is complete.
    Is there a way that I can wipe what is in my online storage completely clean and start over?

    There is a specialized team who troubleshoots issues with the backup and sharing program.
    A dedicated internal phone number (866-770-6800) has been provided for hand-offs to the VOL Backup & Sharing Technician.
    Hours of Operation are Mon - Sat 7am - 11pm EST.
    After hours the customer will be asked to leave a message and someone from VOBS support will return their call during business hours.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • I would like to print out the icon and title of each of my apps to another document for printing and sharing within my family

    I would like to print out the icon and title of each of my IOS apps to another document for printing and sharing within my family.  My son has my old iPod touch so I erased it so he could put whatever games he wants to play on that I used to play with.  It is difficult to download every game at one time because there is too much to download at one time.  I have many hundreds of apps.  One way I found was to create a screen grab of each page in iTunes  then open it in Preview contact sheet but that is really tiny unreadable image of each screen.  I also tried importing a screen shot of the contact sheet into Paint 2 and magnifying it on several pages but that is really blurry.  The ideal solution would be to import the icon and text to another app or to provide a print list of apps solution within iTunes.

    Create iPad screen shots by briefly pressing the home and on/off buttons together.  You will hear a shutter click sound and find a screen shot on your iPad's Camera Roll.  You can then print these screen shots as you would any iPad photos.
    UPDATE: I assumed you had an iPad.  Hopefully your iOS device does have an on/off and home button and is capable of producing screen shots.

  • Outlook connector, and shared calendar... again

    Hi,
    I'm using the communication suite through the communication express and outlook.
    All work fine on both email client, but... with outlook, I can't see people's shared calendars.
    Other functions work very well, like shared contacts, folders etc..., but when I want
    to list shared calendar of any user, no one appears, and so, I can't subscribe.
    (I can search people, find people, but when selected, no calendars...)
    I took a look at the log (ldap server, oc logfile, etc...) and didn't see any error messages.
    With comm. express, I can subscribe, see, modify. So I don't think there's an authentication problem.
    I'm using outlook connector 7.2.402.1 on outlook 2003 SP3.
    I'm new to sun comm. suite, so if I'm not accurate enough, ask me!
    Best regards,
    Rems, a new french user.

    comtezero wrote:
    I'm using the communication suite through the communication express and outlook.What version of calendar server are you running ("./showrev -p | grep ics5" on Solaris)
    All work fine on both email client, but... with outlook, I can't see people's shared calendars.Is this their 'primary' calendar or a new sub-calendar they have created and shared?
    Other functions work very well, like shared contacts, folders etc..., but when I want
    to list shared calendar of any user, no one appears, and so, I can't subscribe.
    (I can search people, find people, but when selected, no calendars...)
    I took a look at the log (ldap server, oc logfile, etc...) and didn't see any error messages.
    With comm. express, I can subscribe, see, modify. So I don't think there's an authentication problem.If you subscribe to a calendar in Comms Express, is this subscribed calendar now available in Outlook?
    Regards,
    Shane.

  • HT201401 My iphone contact list has changed and it keeps deleting my contacts. could icloud be the problem?

    My iphone contact list has changed and it keeps deleting my contacts. could icloud be the problem?

    Are you sharing the iCloud account with someone else?

  • Query Time Out and Shared Objects

    Hi,
    I have 2 questions.
    1) from st22 i can get the list of users and time out information. But how can I find related query which has been time out by that user ?? as of now i was getting query information from st22 by getting abap program name which starts with "G" and find related query for that from the table rsrrepdir. But recently it is happening that i get abap program which starts with "G" from st22 time out but its not giving me any query information in RSRREPDIR table or by t-code se38.
    can anyone guide me how can i get query info from st22 ? we have so many time out occuring in production have to trace that and improve the query performance.
    2) 2nd question is - how can i get list of queries which are having shared objects like variables, templates, key figures, structures etc...
    is there any specific table or t-code which provides that? we have to delete some queries in prod. but before that we want this list.
    A.H.P. I am counting on you extensively for help coz i have seen that you reply to everybody. and i have asked same question in another forum at SDN but no reply !!!
    waiting for help...

    Hi Bhanu,
    thank you for your prompt reply.
    well, we dont have woorkbooks atall. we got the inventory list of all queries needs to be deleted in production. we are deleting very very old queries which are not even in used now. i know the variables and str. etc...remains but still needs to know how to find out the queries with shared object. i want that information in hands before i delete anything in dev. system and transport it to prod. so, i will have proof that i didnt delete anything important. hope you understands what i mean and why i need to know this !
    i found few tables related to this but cannt relate them and get the info I need. RSRREPDIR, V_ELTDIR_TXT, RSZELTXREF,etc..
    where used list in BEx gives us the webtemplates names nothing else. i meant not the shared objects. and if it is giving shared objects info then i guess i am not aware of it coz few queries i tried to check didnt get that info in "where used" list.
    in metadata repository ?? i didnt get it!! how can i find queries with shared objects in metadata rep ?

  • I'm trying to export a list to Excel and I'm getting this error: "unable to download owssvr.dll"

    Hi, 
    Help, please.
    I’m trying to export a list to Excel and I’m getting this error: "unable to download owssvr.dll"
    Thanks in advanced.

    Hi,
    According to your post, my understanding is that you got the error "unable to download owssvr.dll" when exporting a list to Excel.
    owssvr.dll is the module given by Microsoft to read the data from SharePoint Lists using remote procedure call.
    You can find the OWSSVR.DLL in SharePoint 2010 Server Physical Path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI.
    Please check whether it exists in SharePoint 2010 Server Physical Path.
    Please check whether you export a list to Excel correctly.
    Generally, the issue is caused by the brower. Please reset the IE to check whether it works.
    In addition, you can repair the Office to check whether it works.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5f471d53-e980-4acc-a6cb-7c8722571ec0/problem-with-export-to-spreadsheet?forum=sharepointgenerallegacy
    More information:
    SharePoint RPC Protocols Examples Using OWSSVR.DLL
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • *** Creating a form in iWeb?

    I'm redoing my website using iWeb but would like to add a page with a form for clients to fill out (including drop down menus, radio buttons, etc.). So far I've been using RapidWeaver to do this, but I find it clunky and I'm not designing my entire s

  • Nokia 2330 classic: display becomes always black a...

    Hello, I proudly own the nice 2330 classic. The only point, which I am really unhappy with, is that the display always becomes  black after a few seconds. One can even not see if the phone is on or off.  Does somebody now if it is a fault? I did not

  • 39L22U as PC Monitor: Resolution Problem

    I recently purchased the 39L22U model. I was using HDMI from my laptop and getting full 1920x1080 resolution. I added another HDMI device to my system and moved my laptop to the VGA(PC) port, but now the max resolution I can set is oddly 1360x768. Ei

  • Logon language NLS

    Hello, is there any way to force language for J2ee instance? For example for logonservlet. Now is language determined by national settings on the client. But I need to disable NLS lookup or force to use only one language. I have added -Duser.country=

  • [SOLVED] mplayer + OSS4

    Does mplayer play jerky when OSS4 is installed? I have tried setting ao=oss in .mplayer/config With ALSA, playback is smooth, with VLC+OSS, playback is smooth I have recompiled mplayer with --enable-ossaudio \ Not sure if that is correct, but I saw a