An EUL query to list out All the Columns  (Fileds) for each Workbook

Hi,
I'm using Discoverer 10.1.2.2 on an Oracle 9.2.0.6.
Does anyone have the EUL query that lists out all the names of Workbook/Worksheets and the names of their fields/columns. I would greatly appreciate it.
Thanks

Hi
While it is not possible to read the workbook itself, whenever Discoverer runs a worksheet so long as you have enabled the gathering of statistics then a row is written to the EUL5_QPP_STATS table. In that table the column called DOC_NAME is the workbook, the column called DOC_DETAILS is the worksheet, with the CREATED_DATE being the date the worksheet was run. There are other encrypted columns in that table that contain the EUL items that were queried.
Look at this code:
SELECT
QS.QS_DOC_OWNER    USER_NAME,
QS.QS_DOC_NAME     WORKBOOK,
QS.QS_DOC_DETAILS  WORKSHEET,
TRUNC(QS.QS_CREATED_DATE) DOC_DATE,
*(LENGTH(TO_CHAR(EUL5_GET_ITEM_NAME(QS.QS_ID)))+1)/9 ITEMS,*
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),1,  6)) ITEM1,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),10, 6)) ITEM2,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),19, 6)) ITEM3,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),28, 6)) ITEM4,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),37, 6)) ITEM5,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),46, 6)) ITEM6,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),55, 6)) ITEM7,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),64, 6)) ITEM8,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),73, 6)) ITEM9,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),82, 6)) ITEM10,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),91, 6)) ITEM11,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),100,6)) ITEM12,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),109,6)) ITEM13,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),118,6)) ITEM14,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),127,6)) ITEM15,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),136,6)) ITEM16,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),145,6)) ITEM17,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),154,6)) ITEM18,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),163,6)) ITEM19,
EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),172,6)) ITEM20
FROM
EUL5_QPP_STATS QS--,
--   APPS.FND_USER          USR
WHERE
--   QS.QS_DOC_OWNER = '#' || USR.USER_ID AND
*(LENGTH(TO_CHAR(EUL5_GET_ITEM_NAME(QS.QS_ID)))+1)/9 < 21*
AND QS.QS_CREATED_DATE > '01-JAN-2009';
In order to run this you must have run the EUL5.SQL when connected as the owner of the EUL. This script can be found in the $ORACLE_HOME\Discoverer\Util folder of the machine where the Discoverer Administrator tool is installed.
Try it out for yourself and you will see how it works.
Best wishes
Michael

Similar Messages

  • Is there any report in SCCM 2012 to list out all the physcial machine and all the virtual machine?

    Is there any report in SCCM 2012 to list out all the physcial machine and all the
    virtual machine?
    and list all VMs for each physical server.

    Hi,
    there is no such builtin report but you can easily crete one as all information is in the database.
    http://www.scconfigmgr.com/2014/01/24/create-custom-reports-for-configmgr-2012-with-report-builder/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Table Name or Function Module to find out all the Screens & Subscreens for

    Hello Experts,
          Table Name or Function Module to find out all the Screens & Subscreens for all T-Codes
    Helpful Answer will b rewarded
    Arif Shaik

    Hi Balaji,
       But TSTC only Gives the Program Name , T-Code and Screen but not all the Subscreen details
    Any other which U know

  • How to get all the line items for each Purchasing Document ?

    Hi,
    There are multiple purchase orders (EBELN) in PSA with different line items (EBELP). But, when loaded into ODS from PSA, I am getting purcahse orders with only one Line item.
    Eg.,If the EBELN has a Record# 4000005 and has 3 line items in it (10,20, 30), I am receiving 10 or 20 or 30 Line item.
    As there are more than one line item per PO, how can I retreive all of them?
    Also, there are no conditions / routines in transfer structure and update rules.
    Please let me know

    problem solved.
    I moved the EBELP field from Data fields to Key Fields in ODS.

  • Report to find out all the unused components in package

    Hi experts
    I have a reqment for report where in
    the selection screeen has got one field package name .
    This package can contain any r3 objects (like tables , Function modules, Function groups, Dictionary objects , classes etc)
    The report shud list out all the objects which are not used any where ( ie empty result from whereused list )
    Is there any Func Module or Class methods to do the above?
    Thanks
    Kallu

    You can see them in SM37 of course but tables TBTCO and TBTCP cointain the info you're looking for
    Regards
    Juan

  • Selecting all the work orders for equipment

    Hi
    i need all the orders(AUFNR) for each equipment(EQUNR) can any one tell me the relation betwwn those tables (aufk, equi)

    Hi,
    Use the View VIAUF_AFVC to fetch the orders for a equipment.
    Regards,
    Anji

  • My iMac holds my main iTunes account.  How do I find out a list of all the devices that are authorized from this computer?

    My iMac holds my main iTunes account and it shows 4 devices are authorized to play iTunes.  I can only name 3.  How do I find out a list of all the devices that are authorized from this computer?

    I don't believe this is possible, but you can deauthorize all your computers and start over if you are concerned.
    See here
    Best of luck

  • Is there a way to LIST OUT all of the active images that are currently being used on a page in Dreamweaver?

    Is there a way to LIST OUT all of the active images that are currently being used on a page in Dreamweaver?  Or do I have to click each one and write down the image name by hand?
    Thanks!
    LJ

    Alternatively use a browser:
    Use the Firefox Web Developer Toolbar
    https://addons.mozilla.org/en-US/firefox/addon/60
    Images > View Image Information
    or the List All Images Add On for Firefox
    https://addons.mozilla.org/en-US/firefox/addon/3688
    or the Web Developer tools in IE8 (or earlier), F12 > Image > View Image Report

  • Apply distinct to all the columns in a select list

    Select distinct name, date , venue , duration from tableA
    the above query distinct onlu the first column in the select list but is it possible to distinct all the columns.
    current out put is
    1 , raj, 25-may-2009, uk , 10
    1 , raj, 25-may-2009, usa , 10
    1 , raj, 25-may-2009, uk , 20
    requried output....
    1 , raj, 25-may-2009, uk , 10
    the first found row is enogh...
    thanks in advance :)
    raj

    But all these tree rows are distinct. Doesn't it? Why you want to take only first row? What's the logic?
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Monthly report listing out ALL open PO

    Hi,
    As our management requested, we need a monthly report listing out ALL open PO for CDG, APR   Someone tell me to input cost centre but it is time consuming to input it as we have over 100 cost centers.  Do you know if I can input SPG/profit center or other data to run this report instead ?  Please advise the transaction code and how to perform it, such as need to know the profit center #, organization code etc
    Thanks
    Raja

    hi
    go to ME2N
    then select Scope of list  ALV
    Selection parameters  as           WE101     Open goods receipt   (select as per ur need )
    then execute u will get the list for open po
    now if u want it to specify the  profit center then go to ME2N and select dynamic selecion  (shift +F4)
    now u will get a smaal scrren , in purchaseing doc item selct profit center
    now u can see the profit center selection field ,give a proper profit center and follow the process as given above
    hope it help
    regards
    kunal

  • How can i get a list of all the apps i purchased last year?

    i would like to get a summary of all the apps i purchased as well as the prices

    Open App Store and sign in with your Apple ID. Click on the Purchase icon in the toolbar. This will list out all your App Store purchases. It will not list prices, but you can look those up for each purchased application.
    There should also be an account summary. Click on the Account link under Quick Links on the right.

  • Query to get the data of all the columns in a table except any one column

    Can anyone please tell how to write a query to get the data of all the columns in a table except one particular column..
    For Example:
    Let us consider the EMP table.,
    From this table except the column comm all the remaining columns of the table should be listed
    For this we can write a query like this..
    Select empno, ename, job, mgr, sal, hiredate, deptno from emp;
    Just to avoid only one column, I mentioned all the remaining ( 7 ) columns of the table in the query..
    As the EMP table consists only 8 columns, it doesn't seem much difficult to mention all the columns in the query,
    but if a table have 100 columns in the table, then do we have to mention all the columns in the query..?
    Is there any other way of writing the query to get the required result..?
    Thanks..

    Your best best it to just list all the columns. Any other method will just cause more headaches and complicated code.
    If you really need to list all the columns for a table because you don't want to type them, just use something like...
    SQL> ed
    Wrote file afiedt.buf
      1  select trim(',' from sys_connect_by_path(column_name,',')) as columns
      2  from (select column_name, row_number() over (order by column_id) as column_id
      3        from user_tab_cols
      4        where column_name not in ('COMM')
      5        and   table_name = 'EMP'
      6       )
      7  where connect_by_isleaf = 1
      8  connect by column_id = prior column_id + 1
      9* start with column_id = 1
    SQL> /
    COLUMNS
    EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,DEPTNO
    SQL>

  • Need JAVA API to list down all the Proxy Services in OSB Console 11g

    Hi,
    I need a java API to List down all the Proxy Services present in OSB Console for SOA 11g (11.1.1.5). I am in a situation where I cant use python script for the same.
    any help will be much appreciated.
    Thanks in Advance,
    Ravi
    Edited by: 899443 on Oct 1, 2012 4:13 AM

    AFAIK it is proprietary.
    What I do in a similar situation is to form XML for the services, package them into JAR the same way as an import JAR is packaged (creating ExportInfo resource, ...) and deploy with standard WSLT script. Works for simplest services only (direct proxies mostly) but I can also form security, alerts, throttling etc etc etc -- all in one shot.
    Out of sheer interest, may I ask you a question? Why do you need to create OSB services from Java?
    Vlad
    http://vladimirdyuzhev.com

  • Is it possible to export a file from Organizer with the list of all the images in an album?

    Is it possible to export a file from Organizer with a list of all the images in a certain album? In filling one of my albums I did not save my edited images to the same file... they are spread out a bit.... Now I want them to make a book with them (outside of Elements).

    As far as I know, Elements does not have the ability to create lists.
    The solution to your problem of making a book outside of Elements is to place all the desired photos in an Album and then select File->Export->As New Files which gives you the ability to make a copy of every photo in the album in a new folder, from which you would create your photobook.

  • See a list of all the missing fonts in document?

    Ive been sent a Photoshop document by someone but some of the fonts are missing.
    If I double click on a layer that is missing a font Im told what the font is. This can be time consuming so is there a way of seeing a list of all the missing fonts in a document?
    thanks

    Ann,
    In Acrobat Pro 9, go to: File --> Properties... --> Fonts
    I recommend that you ask further Acrobat questions in the Acrobat forum where those pros hang out. Thanks.
    Neil

Maybe you are looking for

  • JMF set video source to S-video/Tuner/Composite during runtime

    Does anyone know how to change Video Source from Video Tuner to Video Composite or S-Video? I'm using LifeView card. I can get them to work manually. However, I have no clue how to set them at runtime. I want to have buttons to swith from Tuner to Co

  • 2504 HA 7.5

    Hey guys, i have the following scenario: 2504 10Lic 2504 15Lic Now my customer want full redundancy for his WiFi. WIth 7.5 we have 1+N Redundancy but just with special HA ordered Controllers. Is there a possibility to rehost the icenses of one WLC, r

  • Problem with Displaying Artists/Albums/Songs on iPhone 4S

    I purchased the 64GB iPhone 4S and went to load all of my music library onto it (a little over 30GB worth).  I believe all the songs are on the phone but I'm having a problem.  Not all of them are listed.  It's especially noticiable in the artists an

  • Reversing Excel File

    Hi I tried reversing Excel File , while reversing system table is checked and get the following. Please let me know if you have any solution. Thanks sumana See com.borland.dx.dataset.DataSetException error code: BASE+66 com.borland.dx.dataset.DataSet

  • Nokia 808 installed as a camera by Windows XP, Nok...

    Hello, all. After setting the USB mode to "Nokia Suite" on my Nokia 808, I connected it to my computer via USB cable. However, Windows installed the 808 as a camera. So, when I open Nokia Suite it cannot connect to the 808. This is extremely frustrat