Query to find all workbooks/worksheets for each business area

Hi Experts,
I need to find all workbooks/worksheets in each business area. Collect 'Query Statistics is checked for all the users'
Also are there any documents or information available of the description of the discoverer metadata database tables which will help in writing queries
thanks and regards,
John

There is no workbook/worksheet linkage to a business area. So you cannot search for a business area and find all the workbooks "attached" to that business area. The attachment of workbooks is at the folder level. It is actually possible, if you are sharing folders among business areas, to create a workbook with data from 2 or more business areas. I have tested that and it is indeed possible. In Discoverer Administrator you can check on folder dependencies to see what workbooks use the folder. Though in my version of Discoverer, there is a problem with Discoverer Plus, such that the workbook save in Plus is not creating this dependency information like it should. At least I have not found any way to take a business area and determine what workbooks would fall under it. Maybe someone else has found a way.
John Dickey

Similar Messages

  • Depreciation run for each business area

    Hi all,
    In case all business areas are belong to 1 company code.
    So how to run depreciation for each business area separately?
    I mean business area A can run depreciation for itself, and not affect other business areas in the same company code.
    Any suggestion would be highly appreciate!
    Thanks in advance any help!
    HuyenTT

    no, this is not possible, as the depreciation run needs to be executed for the whole company code.
    Blaz

  • Query to find all text attachments for items

    I am using the query below to try to find all active items for my org that have an attachment of type 33 (something we have defined I believe) and contain specific text. Some of the items appear to meet all criteria (active, right category, etc) but do not show up in my results. Can someone please take a look and see if there is a join missing, an outer join that should be used, or an overall easier way to do this query and get the text information?
    SELECT i.segment1 "Item Number",
    i.description "Item Description",
    u.user_name || ' (' || ppx.first_name || ' ' || ppx.last_name || ')' "Created By",
    i.creation_date "Created Date",
    to_number(r.revision) "Revision",
    to_char(r.effectivity_date, 'MM/DD/YYYY') "Effectivity Date",
    nvl(tx.short_text, '<No Drawing Info>') "Drawing Info / Attachment"
    FROM apps.mtl_system_items_b i,
    apps.mtl_item_revisions_b r,
    apps.fnd_user u,
    apps.per_people_x ppx,
    apps.fnd_attached_documents ad,
    apps.fnd_documents d,
    apps.fnd_documents_tl t,
    apps.fnd_documents_short_text tx
    WHERE i.organization_id = 90 AND -- for MBE only
    r.organization_id = 90 AND -- for MBE only
    ad.pk1_value = 90 AND -- for MBE only
    ad.entity_name = 'MTL_SYSTEM_ITEMS' AND
    (upper(tx.short_text) LIKE '%DWG%' OR
    upper(tx.short_text) LIKE '%SIZE%' OR
    upper(tx.short_text) LIKE '%DRAW%') AND
    tx.short_text != 'DWG NONE' AND
    d.document_id = t.document_id AND
    t.source_lang = 'US' AND
    t.LANGUAGE = 'E' AND
    to_number(ad.pk2_value) = i.inventory_item_id AND
    t.document_id = ad.document_id AND
    tx.media_id = t.media_id AND
    d.category_id = 33 AND
    i.inventory_item_status_code = 'Active' AND
    i.inventory_item_id = r.inventory_item_id AND
    u.employee_id = ppx.person_id AND
    u.user_id = i.created_by AND
    to_number(r.revision) =
    (SELECT MAX(to_number(r2.revision))
    FROM apps.mtl_item_revisions_b r2
    WHERE r2.inventory_item_id = i.inventory_item_id) AND
    r.effectivity_date =
    (SELECT MAX(r3.effectivity_date)
    FROM mtl_item_revisions_b r3
    WHERE r3.inventory_item_id = i.inventory_item_id)
    GROUP BY i.segment1,
    r.revision,
    i.description,
    u.user_name,
    ppx.first_name,
    ppx.last_name,
    i.creation_date,
    r.effectivity_date,
    tx.short_text
    ORDER BY i.segment1 ASC;
    Thank you!
    Message was edited by:
    matt.schutz

    There is no workbook/worksheet linkage to a business area. So you cannot search for a business area and find all the workbooks "attached" to that business area. The attachment of workbooks is at the folder level. It is actually possible, if you are sharing folders among business areas, to create a workbook with data from 2 or more business areas. I have tested that and it is indeed possible. In Discoverer Administrator you can check on folder dependencies to see what workbooks use the folder. Though in my version of Discoverer, there is a problem with Discoverer Plus, such that the workbook save in Plus is not creating this dependency information like it should. At least I have not found any way to take a business area and determine what workbooks would fall under it. Maybe someone else has found a way.
    John Dickey

  • Query to get all the worksheets for a particular work book

    Hi All,
    I want to get all the associated worksheets for a particular workbook. What query will fetch mne those details. Also, where can find the EUL5 tables documentation
    Regards
    Thomas

    Hi Tamir,
    Thanks so far. I am yet to make the crucial breakthrough as far my application goes. Are you talking about the EUL5_QPP_STATS table? I tried retrieving worksheets even from that table also with the following query
    SELECT DISTINCT Eul5QppStats.QS_DOC_NAME,Eul5QppStats.QS_DOC_DETAILS
    FROM EUL5_QPP_STATS Eul5QppStats,EUL5_DOCUMENTS Eul5Documents
    WHERE Eul5QppStats.QS_DOC_NAME = Eul5Documents.DOC_NAME
    However, the worksheet data retrieved by Discoverer Oracle's product is not matching my dataset for every workbook. Please suggest.
    Reg
    Thomas

  • SQL query to find out last login for each database

    Hi everybody,
    I have a view with following columns:
    DatabaseSid, lastLogin, firstLogin.
    I want to now the newest last_login date for every database.
    SID First Login Last Login
    e.g. Database1, 11.11.2011, 01.12.2011
    Database1, 01.04.2012, 01.05.2012
    Database3, 03.03.2004, 03.06.2005
    Database 3 07.09.2012, 12.10.2012
    How can I do a query to find out for eacht DB (DB1, DB2 and so on) the Last_Login Date?
    Thank you in advance
    Steve

    Steve wrote:
    Hi everybody,
    I have a view with following columns:
    DatabaseSid, lastLogin, firstLogin.
    I want to now the newest last_login date for every database.
    SID First Login Last Login
    e.g. Database1, 11.11.2011, 01.12.2011
    Database1, 01.04.2012, 01.05.2012
    Database3, 03.03.2004, 03.06.2005
    Database 3 07.09.2012, 12.10.2012
    How can I do a query to find out for eacht DB (DB1, DB2 and so on) the Last_Login Date?
    Thank you in advance
    SteveI'm curious as to how you collect this information from multiple databases into one database, and of what value the data is once you have it.

  • Query ---  to find all child tables for a master table

    Suppose i have a table master .
    I want to know all tables which are child tables for this master table .
    In other words i want to know all those table names which have foreign key constraint for the master table .
    regards
    shubha

    You may want to join on the owner in case you have multiple schemas with same table names and same primary key names
    SELECT c.table_nameFROM all_constraints c, all_constraints p
    WHERE c.constraint_type = 'R'
    AND c.r_constraint_name = p.constraint_name
    AND p.constraint_type = 'P'
    AND c.owner = p.owner
    AND p.table_name = '&YOUR_MASTER_TABLE'

  • Single Cheque for Multiple Business Area

    Hi Experts
    How can I print one cheque for multiple business area with the option of printing different cheques still remaining?
    Thanks
    Nadia

    Hi Nadia.....If Iam not mistaken you DONOT want to make Separate Payments for each Business Area.
    In such a case donot select the checkbox Separate Payments for Business Area -FBZP--Paying Company code customisation.
    If this indicator is set, line items from different business areas are paid separately.
    Hope Iam clear about this.
    Please assign points if helpful
    Regards
    Aravind

  • Sql query to find all contacts for an account

    I wonder if someone wrote an sql query to find all contacts for an account number in Oracle customer master. We are on EBS 11.5.10.
    I am also looking for sql query to find all ship to addresses for an account number.
    Thanks.

    Can you also post the query for people who read this post and are also looking for an answer?
    Regards,
    Johan Louwers.

  • I have just transferred my iTunes library from a hard drive previously connected to a windows laptop to a MacBook Pro and now all my options for editing info are greyed out. I have seen the answers if still using windows but could find a similar situation

    I have just transferred my iTunes library from a hard drive previously connected to a windows laptop to a MacBook Pro and now all my options for editing info are greyed out. I have seen the answers if still using windows but could find a similar situation to this one.

    Eels290776 wrote:
    if my external hard drive is not connected to either of my machines, and I download something onto my iMac and then something different onto my Macbook, where are my machines going to be storing the new downloaded media
    when the drive is not connected, +iTunes media folder location+ will default back to <MacintoshHD>/users/<yourname>/music/iTunes/iTunes music (or media)
    and when I next connect the external hard drive how will I easily get the newly downloaded media onto the external HD
    you'd have to point +iTunes media folder location+ back to the external via preferences > advanced > iTunes media folder location, then file > library, organize library > consolidate files
    and essentially, to have it easily readable on both machines?
    in that case it might be best to copy the entire iTunes folder to the external. then, on each machine, launch iTunes while pressing option on your keyboard. when prompted, click on +choose library+ and navigate to the iTunes folder on the external.
    note only one iTunes can access the iTunes library @ a time !
    also, make sure the external is mounted on either machine before launching iTunes.
    JGG

  • Query to find all the suppliers who has their invoices on hold

    Hi All,
    Query to find all the suppliers who has their invoices on hold (at least 1) .
    Thanks,
    Vamshi

    Pls find the script to find the Hold invoies for those suppliers 
    select aps.VENDOR_NAME,aia.INVOICE_NUM,aia.INVOICE_AMOUNT
    from ap_suppliers aps,ap_invoices_all aia,ap_holds_all aha
    where aia.VENDOR_ID = aps.VENDOR_ID 
    and aia.INVOICE_ID = aha.INVOICE_ID 
    and aha.RELEASE_REASON is null
    Thanks
    Hari

  • Is there a query to find all software installed on a particular computer through the Add/Remove Programs?

    I am looking for a query to find all software on a specific computer. I have found several on a specific piece of software but I need multiple pieces of software. I have tried creating this query but it shows ALL the software on the computer. I'm looking
    for one that narrows it down to a few pieces of software i.e Office, Adobe, Snagit, IE and Chrome. Possibly using Add/Remove Software? 

    It's an asset intelligence report, do you have that enabled?
    http://technet.microsoft.com/en-us/library/gg699382.aspx
    Alternatively, take a look at the 'Products on a specific computer' report (Software - Companies and Products category) and see if that gets you what you need.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Help in finding the total count for each month

    Hello everyone,
    Sometime back I had posted about the date function. I have that problem solved now my problem is that after finding all records which against each record I need to find the total count for that month if no records than I have to set it to a 0.
    Here is how my program has been written.
    PROCEDURE extract_materials
    IS
    CURSOR xyz
    BEGIN
    FOR xyz1 IN xyz LOOP
    -- once inside the loop for each of the record from
    the cursor I need to find a total count for that record for everymonth in the year.
    All these records will be instered in to a staging table
    Can you please help me out with this. I really appreciate this.
    Thanks in advance.
    -Vani

    Andrew - you missed the tricky bit of the spec - include missing months with a zero.
    You need to do an outer join to a select from any big table with a function involving rownum and add_months to generate all the possible months. However, its time to go home and I can't be bothered to work out the finer details.

  • How to get all GL accounts for each account in a given bank...

    Hello Experts,
    Is there a way to get all GL accounts for each account in a given house bank?
    IN our company, there are 5 GL accounts for each bank so 1 GL for 1 account. they are for recon, payables,
    receivables, etc. I checked table T012K but it only shows the main GL account. Hope you
    can help me guys. Thank you and take care!

    Try this.. it is based on company code
    here it_cocodes is an internal table containing company codes
      DATA: BEGIN OF it_glaccount OCCURS 0,
        bukrs TYPE bukrs,
        saknr TYPE saknr,
        txt50 TYPE txt50_skat,
       END OF it_glaccount.
      DATA it_glaccount_wa LIKE it_glaccount.
    LOOP AT it_cocodes INTO it_cocodes_wa WHERE ktopl <> ''.
        SELECT bukrs saknr FROM skb1
          INTO CORRESPONDING FIELDS OF it_glaccount_wa
          WHERE bukrs = it_cocodes_wa-bukrs.
          IF sy-subrc = 0.
            SELECT SINGLE txt50 FROM skat INTO it_glaccount_wa-txt50
              WHERE spras = 'E' AND ktopl = it_cocodes_wa-ktopl
              AND saknr = it_glaccount_wa-saknr.
            APPEND it_glaccount_wa TO it_glaccount.
            CLEAR it_glaccount_wa-txt50.
          ENDIF.
        ENDSELECT.
    loop at it_glaccount into it_glaccount_wa.
    write:/....
    endloop.
    refresh...
    clear...
    endloop.

  • Is it possible to find all the documents for a serial number ?

    Hi all,
    I'm using materials with serial numbers in complaints.
    Is it possible to find all the documents for this serial number ?
    Is it possible to check if this serial number is allready in use in any document ?

    Hi Mengelkemier,
    I think you're posting in the wrong forum.  This forum is intended to be used to discuss virtualizing Exchange Server on the the vSphere platform.  The question you're asking seems to be a mobile device specific question.
    You would probably get better visibility posting on a forum dedicated to your particular device.  And for what it's worth, some devices will let you sync all of your email and others will only let you sync a certain amount.  It's dependent on the device you're using.
    Good luck in finding your answer.
    Matt

  • Query to fetch all the responsibilities for which OA page is attached

    Hi Team,
    please help me to prepare a query to fetch all the responsibilities for which OA page is attached.
    thanks in advance
    Thanks & Regards,
    Sriram T

    Hi,
    Querys which you have provided was helpful.
    But i was struck with the following issue. As the function is not excluded directly it may be excluded via a menu to the responsibility.
    Even though it is displaying the responsibility name.
    The following query is used to display the responsibility name with menu and function exclusions.
    please help me on this.
    SELECT r.RESPONSIBILITY_NAME
    FROM
    fnd_responsibility_vl r,
    fnd_form_functions f
    WHERE f.function_name = 'VSFFFRMADMN'--f.form_id =p_form_id
    AND r.menu_id IN (SELECT me.menu_id
    FROM fnd_menu_entries me
    START WITH me.function_id = f.function_id
    CONNECT BY PRIOR me.menu_id = me.sub_menu_id)
    and r.menu_id not in (select frf.action_id
    from fnd_resp_functions frf
    where frf.action_id=r.menu_id
    and frf.rule_type='M')
    and f.function_id not in (select frf.action_id
    from fnd_resp_functions frf
    where frf.action_id=f.function_id
    and frf.rule_type='F')
    Thanks
    Sriram T

Maybe you are looking for

  • Can Not View Videos on iTunes!!

    Whenever I click preview video on the iTunes store, the preview box doesn't show the video. Instead it shows purple, brown & green fuzz. It's the same when trying to watch a video I have purchased. I don't know how to fix this? Any ideas? Thanks (:

  • Problems with PS CS 5.5 and extensions and filters

    Removed PS Cs5 and installed Cs5.5. The extension manager CS 5.5 opened and to my pleasent surprise it started auto importing the extensions mxps i had when i deleted cs5 thinking great i won't have to reinstall them. Problem is the newly imported mx

  • Hey! How come my clone toolbar don't work like the one in BCALV_GRID_05 ???

    The "export" button on the BCALV_GRID_05 SLIS sample program is active.  it pops a context menu, etc. This button is  NOT active when I carefully clone the code of BCALV_GRID_05 into a client Z program.   When I click it, nothing happens except that

  • PDF file upload and download

    hi all, i m using oracle form 10 g with oracle database 10g and how can i upload a pdf file in database by using forms Thanks to all

  • Group by on Function return value

    Dear All I'm facing a problem with when I have a group by on the return value of a function. Following is the scenario. Im having the following select query which executes in less than millisec for more than 20k records. SELECT T1.FIELD1,T1.FIELD2, M