Using orgnaization id in discoverer

hi,
i need to retieve data based on organization id.
how to default that organization id in discoverer........
we have around 5 organizations.suppose a user enters in to reponsiblity and run the discoverer report i should get data related to that organization Id.
i am using discoverer adminstration and destop
regards
anil

Hi there,
I have been developing Discoverer reports (using Customer Folders) where the data is retrieved from apps views (rather than from tables) but I am fairly new to Oracle Apps. I acknowledge (including the previous post) that the Apps views include the PL/SQL code to perform the Org Id checking.
I believe that the Organization Id is derived from the 'Responsibility', hence only the related data is retrieved. Therefore, I have not included any special code to check for Organization-specific data.
Can anyone tell me whether this assumption is correct? More importantly, how/where does the Responsibility define the Organisation or set the 'Client_info'?
In SQL*Plus or TOAD, I would run the following script to set the client_info before any data can be retrieved. My Org Id is 83.
begin
dbms_application_info.set_client_info('83');
end
Thanks, looking forward to an answer.
Regards,
John

Similar Messages

  • Is it possible to use dependent parameters in discoverer

    Dear All,
    Is it possible to use dependent parameters in discoverer... Like in RDF's(concurrent program)
    Reddy.

    Hi Hussain,
    I think In Discoverer 4i there is no optional parameters Option.I wrote in condition(Desktop addition) like Org = :Org_param or org = DECODE(:"Org Parameter 1",'All',Org) .
    At the time of running work book I am passing 'All' in parameter it's taking all orgs and giving org's data.
    But in application i am not able give 'All' in parameters.
    how to do optional parameters in 4i.
    In 10G Optional parametes are there.
    Regards,
    Reddy
    Edited by: Hanimi on Apr 15, 2009 5:39 AM

  • Using Context searches in Discoverer

    Is there a way to use context searches in Discoverer? Any documentation?
    Thanks!

    Hi there,
    I have been developing Discoverer reports (using Customer Folders) where the data is retrieved from apps views (rather than from tables) but I am fairly new to Oracle Apps. I acknowledge (including the previous post) that the Apps views include the PL/SQL code to perform the Org Id checking.
    I believe that the Organization Id is derived from the 'Responsibility', hence only the related data is retrieved. Therefore, I have not included any special code to check for Organization-specific data.
    Can anyone tell me whether this assumption is correct? More importantly, how/where does the Responsibility define the Organisation or set the 'Client_info'?
    In SQL*Plus or TOAD, I would run the following script to set the client_info before any data can be retrieved. My Org Id is 83.
    begin
    dbms_application_info.set_client_info('83');
    end
    Thanks, looking forward to an answer.
    Regards,
    John

  • How to get the Report Names which use a Folder in Discoverer Administrator?

    Hello All,
    How could I get which Reports in discoverer Desktop are using a particular folder in Discoverer Administrator?
    Or
    How to know which Discoverer Desktop Reports are being derived from a folder in Discoverer Administrator?
    We have Oracle 9i DS installed and have a Custom Folder Created in the Administrator, and want to know exactly which Reports/Workbooks are using that folder?
    Thanks in advance :)

    Well Abhijit,
    The eul workbooks have been created by oracle specifically to analyze your eul and make your work easier!. So, I prefer this way to view the information about my eul in a report format in the desktop. Try it! you may like it.
    If you want you can follow these steps:
    Run the script called eul5.sql located in <discoverer_installation_path>\discoverer\util in the user who own the eul in the database.
    Then import the eul5.eex file located at <discoverer_installation_path>\discoverer\ in the discoverer administrator.
    Then login into desktop and open the reports in the database, you can see a report called[b] EUL Workbook Management. Open that and goto the sheet named Workbook Dependency - Folders & Items Lookup. I think it the last but one worksheet in that workbook.
    Hope it helps you!

  • USE OF PARAMETERS IN DISCOVERER

    Hi, from El Salvador my question is? in a query that have parameters, when customize the parameters, how can put TO_DATE(SYSDATE)-1 in default value ?

    Hi,
    You cannot more a worksheet, only a workbook. To move a workbook between instances you have to either use Discoverer Desktop and save the workbook to the desktop, or you can use the Discoverer Admin 4i command line and export the workbook to a .eex file then import the workbook into the new instance.
    Rod West

  • Using union operator in discoverer

    Hi All,
    I have a sql statement which is to be implemented in discoverer:
    (select ........where user_entered_date='YYYY/MM/DD' )
    UNION
    (select ........where user_entered_date='YYYY/MM/DD'
    AND (select ........where user_entered_date='YYYY/MM/DD' ))
    Problem:
    a) There are nested select statements which require parameters to be entered by the user.
    b) How would I implement the union operator in the above scenario?
    I would really appreciate it if someone could give a work around.
    Regards,
    Nav

    Hi,
    Unfortunately, we can not have a SQL query with Union in Discoverer directly.
    You should create a view based on the complete query and then create folder using the view.
    You can provide a parameter at the report level.
    For eg :
    View query : select as_of_date from table_name
    Report : Add a paremeter for as_of_date
    Hope this Helps!
    Yogini

  • SSO  Using Sys_Context function in Discoverer to validate

    We are using a calculation which uses the function SYS_CONTEXT('USERENV','CLIENT_IDENTIFIER') in 10G, we are now upgrading to 11G and this function does not work. Can someone direct me to what action I need to change 'Client_Identifier" to or how to make this work in 11G

    Hello
    Are you talking about upgrading Discoverer from 10g to 11g or the database from 10g to 11g?
    Also, when you say "it does not work" can you be more specific? Do you get any error messages and have you been able to test this using something like TOAD?
    Perhaps it is as simple as a missing grant to the Discoverer user? Here's the script I use, perhaps you can take a look and see if your users have the same privileges.
    accept username prompt'Enter Username: '
    accept pword prompt'Enter Password: '
    create user &username identified by &password;
    grant connect, resource to &&username;
    grant analyze any to &&username;
    grant create procedure, create sequence to &&username;
    grant create session, create table, create view to &&username;
    grant execute any procedure to &&username;
    grant global query rewrite to &&username;
    grant select any table, unlimited tablespace to &&username;
    grant execute on sys.dbms_job to &&username;
    grant select on sys.v_$parameter to &&username;
    Does this help?
    Michael

  • USING CALCULATED MEMBERS IN DISCOVERER OLAP WORKSHEET

    How to sort the calculated members based on folders like the way saved selection is e.g.
    /root/Users/UserA/AccountDim
    As many users are creating and using shared calculated members its very hard to find the saved selection created by a particular user. We need a similar feature (folder view) for calc members as that of saved selection

    As this is an enhancement request I would post on the Discoverer Forum page and also open a TAR with Oracle Support and request the information be forwarded to product management.
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Invalid state error when using concurrent sessions in Discoverer Viewer

    We are oracle 10g DB for Oracle BI Discoverer Viewer application.
    We have a problem when a user logs in with the same ID on two different sessions under one machine(1 mac address).
    The error message is as per below.
    ====================================
    "The Application encountered an invalid state.
    No state was found matching the state identifier provided. This can happen if your session timed out. Please start the operation again.
    Indez: 10, Size:0"
    ====================================
    The index and size varies at different times.
    We suspect that the problem's caused by a confusion between the StateIDs of the two sessions. This can be replicated by modifying the querying URL; by manually changing the value of the StataID parameter.
    It will be good if somebody can help us on this...
    Regards
    Albin Abraham

    Are you using the same browser for the two sessions? I have seen instances where the user opens, say, IE, connects to Disco, and runs a worksheet. They then open another IE window, start another session, and run a different worksheet. What I believe was happening (and I'm not sure because we told the users to stop doing this) was the second browser may have tried to "reuse" the java session started by the first browser. When you went back to the first browser, it no longer had a valid session because the second browser had taken it.
    To have to independent sessions, I'll start one in IE, and another in Firefox, or Netscape. This keeps the sessions from getting mixed up.
    Then again, I could be wrong...

  • Using other program with Discoverer

    Hi,
    I would like to know if it's possible to read a worksheet or a Word document from Discoverer.
    The idea is to load data from an Excel or Word Document instead of from database tables. This document would have a predeterminated format made by us.
    Is that possible? I didn't find any option to do this in Discoverer Administrator.
    Thanks.

    Hi
    Discoverer cannot read the data that is contained within a Word or Excel document. However, Discoverer can call Word or Excel to display such a document.
    To do this follow this workflow:
    1. Store the Word or Excel document somewhere central where Discoverer can get at it
    2. Create a new VARCHAR2 database column in a table and make the length sufficient to hold the full path and document name
    3. Edit the table and add the Word and Excel document links
    4. Using Discoverer Admin, load the table or refresh an existing table so as to make this new column available
    5. Locate the new item and right click on it
    6. From the popup menu select Properties
    7. Look for the property called Content Type and change this from <None> to FILE
    8. Exit the Admin edition and create a new workbook in one of the end user versions to use this new item
    9. You should see Discoverer display the Excel or Word icon in the column and when you click on the item Discoveer will launch the relevant application and open the document
    This has its uses when dealing with customers in that you could store contract information in a Word document, their latest financial report in Excel or even your latest Powerpoint presentation. You can even store that company's URL so that clicking it will display their website.
    Hope this helps
    Regards
    Michael

  • Can i use this view in discoverer

    Hello
    I have a view like below in R12.
    GL_CODE_COMBINATIONS_KFV
    In etrm there is a warning:
    Oracle Corporation does not support access to Oracle
    applications data using this object, except from standard Oracle Applications programs.
    Can any one you please let me know if i can still use this for a custom sql report.
    thx
    kp

    You can use the KFV for a custom report - just be aware that the definition of the KFV can change (via a patch) without warning, and the Support will not help if you have issues with using the KFV.
    Srini

  • How to use Oracle OAB Fast Formulas in Discoverer-desktop [ for reporting]

    Hi,
    Can anyone tell me how to use a fast formula in discoverer-desktop [for reporting]. Currently, we have a disco-report that calcuates the 'monthly salary', but we don't want to use that. Instead, we have a custom fast-formula [xx_oab_monthly_salary] which has the conditions and calculations that we need.
    I want to use that formula in discoverer-desktop directly and get the monthly-salary.. i.e., someone needs to create a folder under the business area and add it i believe.. the formula internally calls a function.
    when i checked about this with my dba - he said, he can add the 'function', but not the formula. and i need to write the calculation part...
    does anyone know how to add it...there shud a way right...
    i do not have access to the technical-stuff here..
    someone said ["you can wrap the FF_EXEC.run_formula call into your own pl/sql function and map this function into the EUL so that the formula can be called from a workbook.", but this talks about pl/sql-do we need pl/sql
    for this].
    also, someone else said [ some fast formulas need specific contexts to be set. Depending on whether the fast formula below the only fast formula that you want to recreate in Discoverer.
    For a single formula, in general my recommendation is to recreate the fast formula instead of using the ff_exec call].
    any quick answers greatly appreciate..
    thx,

    Hi,
    That's right you need to develop the pl/sql function outside of Discoverer using a pl/sql tool or just SQL*plus. I haven't an example to hand, but can dig one up if you need it. Once you have the function developed you can map it into the EUL using Discoverer Administrator. It will then be available to Discoverer Desktop/Plus as a database function when creating calculations. So you can then just add the calculation to an existing or new report.
    Alternatively, you can build the pl/sql function into a view and load the view into a new folder using Discoverer Admin.
    Rod West

  • How to use Pl/Sql function in Discoverer report

    Hi Everybody,
    Would you be able to provide a workflow/guidance how to use sql function in Discoverer right from creating the function using PLSQL Developer.
    (I am new to Oracle environment... prev. worked as analyst with Microsoft Access... took PL/Sql class in school a few years ago)
    We are using Discoverer Desktop.
    a) Just emailed dba for permission to create pl/sql function.
    b) Recently got Discoverer Administrator installed on my pc.
    can you pls add to the list:
    c)....
    d)....
    etc.?
    tx for your help, sandra

    Hi Kranthi,
    Thx for your warm words....
    The links you provided are great! Thx soooo much!
    Thanks to you and the rest of forum members, am able to use what you've all taught me
    with other Discoverer reports.... so i was able to do more on my own....
    About a month ago, I got access to Discoverer Admin, and was able to paste SQL to create a custom folder.
    Then i joined the custom folder to an existing baseline folder.
    I have found that sometimes when I use calc within a calc when the calcs use analytic functions, that Discoverer
    just displays null in the column. I thought that maybe instead I could create my own function as a work-around.
    I wrote IT for permissions to create views, functions etc. Hopefully, they'll approve and can move toward learning
    pl/sql functions for Discoverer.
    tx again, sandra

  • Using Oracle Fast Formula in Discoverer

    Hello,
    Does anyone have any experience of using Fast Formula in Discoverer - can it be called from a PL/SQL function that would then be registered in the usual way in Discoverer?
    Thanks
    Rachael

    Hi,
    Yes, you can wrap the FF_EXEC.run_formula call into your own pl/sql function and map this function into the EUL so that the formula can be called from a workbook.
    Rod West

  • Using VPD (Virtual Private Database) with Discoverer for Dummies

    Firstly could you please excuse me for the title of the thread, but it’s all I could come up with. For those of you who are looking at me with a strange look of disgust, please view thread that started it all: BIS vs DBI vs Noetix .
    Otherwise I’m hoping to gain a greater understanding of how VPD can be used to enhance Discoverer and it’s performance. I've just read that :
    “Oracle 8i introduced the notion of a Virtual Private Database (VPD). A VPD offers Fine-Grained Access Control (FGAC) for secure separation of data. This ensures that users only have access to data that pertains to them. Using this option, one could even store multiple companies' data within the same schema, without them knowing about it.
    VPD configuration is done via the DBMS_RLS (Row Level Security) package. Select from SYS.V$VPD_POLICY to see existing VPD configuration.”
    With Regards to Discoverer, I would like to ask the following:
    -When would be best to use VPD in Discoverer?
    -Pro’s and Con’s of VPD?
    -Tips / Tricks?
    -and anything else Michael would like to add (I don’t believe there is a post limit, although this could change in the future)
    I've found a few handy links:
    http://www.adp-gmbh.ch/ora/security/vpd/index.html
    http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_security.html
    As Metalink support would say : I Looking forward to your ‘Positive’ comments. ;-)
    Lance

    Lance,
    You sure do raise some interesting questions here.
    I've noticed from some of your previous posts that you are using views to link Discoverer through to apps. I have found this very interesting document that may help with your queries; http://www.oracle.com/technology/deploy/security/oracle9ir2/pdf/VPD9ir2twp.pdf
    If you scroll down to the section "Additional VPD Capabilities" and read the following sub-topics, this might enable you to base your Discoverer reports on views that contain VPD policies.
    I trust "My Positive Comment" may help!!
    Merry Christmas
    Si ;-)
    P.s This also may come in handy if running 10g http://www.stanford.edu/dept/itss/docs/oracle/10g/network.101/b10773/apdvpoli.htm
    Message was edited by:
    Simon Pittaway

Maybe you are looking for