Execute query from OBIEE report

Hi,
Is it possible from an OBIEE report, after filtering records, to simply execute a (insert) query/function/stored procedure with this subset of filtered records (only id's are enough) as parameter ?
Regards

I'm first trying to count the checked boxes, to see if it is really doing the right thing.
HTMLDB_APPLICATION.G_F01.COUNT counts the checked ones, right?
so in my process i have:
begin
if HTMLDB_APPLICATION.G_F01.COUNT is not null then
:P80_TEST := HTMLDB_APPLICATION.G_F01.COUNT;
end if;
end;
but nothing is displayed in the field P80_TEST...
what is wrong?
Regards,
Sofie
PS: this seems to be a topic only for me :-)

Similar Messages

  • Error During executing query from OBIEE

    Hi,
    I have installed EBS and i have integrated OBIEE with EBS. (on Windows server 2003).
    Now after logging to OBIEE, I went to the subject area for creating a Query.
    After selecting the column when i press button "Display Result"
    The following message is displayed.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.ICX_SESSION_COOKIE, has no value definition. (HY000)
    SQL Issued: SELECT "- Equipment"."Organization (Department Hierarchy)" saw_0 FROM "Manufacturing Hub Catalog" ORDER BY saw_0
    I have added the entry for my DB in Data Source (ODBC).
    Please tell me the reason for this error.
    Regards,
    Niranjan.

    Hi,
    i have a problem:
    when i open a query with OBI Answers i have this error:
    Error Code:OPR4ONWY:U9IM8TAC:OI2DL65P
    Stato: HY000. Codice: 10058. NQODBC [SQL_STATE: HY000|http://forums.oracle.com/forums/] [nQSError: 10058|http://forums.oracle.com/forums/] Si è verificato un errore generico({color:#ff0000}generic error{color}). [nQSError: 16001|http://forums.oracle.com/forums/] Stato errore ODBC: 28000 codice: 18456 messaggio: Microsoft[ODBC SQL Server Driver|http://forums.oracle.com/forums/][SQL Server|http://forums.oracle.com/forums/]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.. (HY000)
    Istruzione SQL eseguita: SELECT BEN010_TIPO_BENEFIT.X_DESCRIZIONE saw_0 FROM dbo ORDER BY saw_0
    What's the problem and can i do?
    Sorry for my bad english.
    I'm waiting an answer..
    Tanks.
    Roberto Testa
    Edited by: user10366555 on 7-ott-2008 2.42

  • Execute a Query from a report sending it parameters and capture the result

    Hello everybody,
    Greetings from Peru, I want your help, Do you know how to execute a query from a report sending parameteres and capture the result in a internal table?
    The attached imaged has in red square the parameteres I want to send from a report.
    The idea is to have a JOB that executes everyday and parameters like DATE PERIOD will change automatically.
    Thanks for your time.

    Hi Enrique,
    You can call a query from a report by using submit statement.
    Every query has a corresponding program associated with it.
    Execute the query from SQ01. On te selection screen of query, goto SYSTEM  from menu and then click on STATUS, you will get program name (In this case aqzzzent_struct=zmm_ent_struc1). Use this program to call the query from your custom program.
    Also populate the rspar int table as per the selection criteria you want to pass to query.
       DATA: rspar     TYPE TABLE OF rsparams,
        wa_rspar  LIKE LINE OF rspar.
          wa_rspar-selname = 'SP$00001'.
          wa_rspar-kind = 'S'.
          wa_rspar-sign = 'I'.
          wa_rspar-option = 'BT'.
          wa_rspar-low  = s_cmp_cd-low.
          wa_rspar-high = s_cmp_cd-high.
          APPEND wa_rspar TO rspar.
       SUBMIT aqzzzent_struct=zmm_ent_struc1 WITH SELECTION-TABLE rspar AND RETURN.
    Thanks,
    Sachin

  • See sql query from crystal report without crystal report

    see sql query from crystal report without crystal report 

    Hi,
    Depends on datasource type but you could have a look at ODBC trace or if you have access to the SQL Server you could use profiler to monitor the session.
    Regards,
    Craig
    And this will only be of use if you know which Server/Insstance/Database the Report is connecting to...
    Please click "Mark As Answer" if my post helped. Tony C.

  • Duplicate rows being eliminated from OBIEE reports...

    Hi,
    Duplicate rows are being eliminated from OBIEE reports even though I have not specified the 'DISTINCT' clause under the advanced tab of the answers request.
    I read somewhere that this is a bug and the only solution is to include the table key column.
    Please let me know if this is correct or if there is another solutiuon to prevent this issue.
    Thanks in advance.

    Hi user11935561,
    I've also noticed this too. And I did one of two things in the past:
    1) Yes, when applicable, I've added a unique identifier to the report so that duplicates were shown.
    2) Sometimes when I hit this I had a situation of a few dimensions in a report (lets say CUSTOMER and PRODUCT) and a measure (let's say sales $). If the customer 1 bought product A at $10, and he bought it on two different days, I was only seeing the DISTINCT record coming through, i.e. I was only seeing CUSTOMER 1 PROD A $10 instead of $20. Then I went into the RPD and changed the aggregation rule of Sales $ from None to SUM. The sum would force a group by get the correct information back from the RPD. So make sure you have your aggregate measures defined in the RPD and that should help you get around some of these issues.
    Hope this helps!
    Best regards,
    -Joe

  • Execute query from report

    Hello,
    I would like to have a report wich contains a checkbox and a description. Depending on the checkboxes checked, the corresponding queries (stored in the same table, and for each description) should be executed and display the result on another page. The queries should be executed as from clicking a button.
    I have 2 question:
    1. how should I handle it for executing a query stored in a table? is it just report type sql query or something else...
    2. how can I know the exact lines (depending on the checked checkboxes when clicking the button?
    Thanks in advance!
    Regards,
    Sofie

    I'm first trying to count the checked boxes, to see if it is really doing the right thing.
    HTMLDB_APPLICATION.G_F01.COUNT counts the checked ones, right?
    so in my process i have:
    begin
    if HTMLDB_APPLICATION.G_F01.COUNT is not null then
    :P80_TEST := HTMLDB_APPLICATION.G_F01.COUNT;
    end if;
    end;
    but nothing is displayed in the field P80_TEST...
    what is wrong?
    Regards,
    Sofie
    PS: this seems to be a topic only for me :-)

  • 5200 : Error in executing  query -- Hyperion Financial Reporting

    Problem in accessing the Hyperion Financial Reports.User is having full access and able to access all the folders except one folder(Legal Folder reports). We are getting 5200: Error Executing the query error. Recently we have upgraded Hyperion to 11.1.1.3 version . Before upgrade user is not facing the problem. After Upgrade user is getting these errors while accessing the reports. we did research and found in "Error 5200: Error Executing Query" When Viewing Financial Reporting (FR) Reports". Is this error is relevant to the Information provided in Metalink and also can you please tell us is there any impact on doing the solution provided in the below. Why is this error is coming is any preferences needs to be changed.Please help us on this.
    Error Description:
    5200: Error executing query
    Servername/ApplicationName/DatabaseName/Error(1007090) Unknown Member name [Current Point of view for years] in Outline Query
    Doc ID 1107142.1:
    Possible Cause 1:
    If members have recently been added, moved, or deleted from the data source, Essbase, HFM, or Planning, the existing User POV records become out of sync.
    The User Point of View record uses indexing to identify the member. If the index changes because of changes in the outline, the User Point of View record no longer points to the correct location in the outline.
    To resolve the issue, you need to run the ManageUserPOV utility on a Windows server that has the Financial Reporting Reports Server, or in a Unix or Linux environment, has the Financial Reporting Print Server installed.
    You will need to provide a BIPlus Global Administrator user ID and password to run the utility.
    The utility will provide the correct syntax to run the command.
    1. In \Hyperion\products\biplus\bin\ManageUserPOV.properties, specify the following parameters:
    a. ReportServer
    b. DatasourceUser
    c. DatasourcePassword
    d. User
    e. Datasource (You can find the datasource in Workspace under Tools>Database Connection Manager in the Name column.)
    2. From the command line, cd to Hyerion\products\biplus\bin
    3. Type in "ManageUserPOV" without the quotes. The executable will read the parameters previously set in the ManageUserPOV.properties file.
    Thanks,
    Naresh.

    Take a look at this: http://adistrategies.com/index.php?loc=knowledge1&item=291
    Hope it helps.
    Mehmet

  • How to use SQL Query in OBIEE Reports

    Hi all,
    I need to use direct sql query in report function column.. How can I implement that.
    For example
    Our report name is /shared/Automotive/Vehicle Services/Most Serviced Vehicle Models
    we have to eliminate /shared/Automotive/Vehicle Services/ part from above report name.. I have done this in sql using the Query SUBSTR(COL,INSTR(COL,'/',1,4)+1).
    So kindly help how to implement above sql query in Obiee.. Urgent.
    Thanx in advance

    796797 wrote:
    Hi all,
    I need to use direct sql query in report function column.. How can I implement that.
    For example
    Our report name is /shared/Automotive/Vehicle Services/Most Serviced Vehicle Models
    we have to eliminate /shared/Automotive/Vehicle Services/ part from above report name.. I have done this in sql using the Query SUBSTR(COL,INSTR(COL,'/',1,4)+1).
    So kindly help how to implement above sql query in Obiee.. Urgent.
    Thanx in advanceArrggh. I wish people wouldn't just answer a question without taking the time to actually think about what the user is asking for and if it makes sense. I like Diney's response best: Why not use the Title View? (i.e., asking questions until it is clear what is needed.) So along those lines, why are you trying to put the name of your report in a column of your report?? And why do you need to use direct sql to do this??
    Kindly or not, urgent or not, state what you are trying to achieve and why you need it (if the obvious answer like "using the Title View" doesn't work for you), instead of simply assuming your method is right and you need to know how to do what envision. Your method may not be correct or necessary.

  • Link from OBIEE Report to BIP Report

    I have a requirement in which I need to Create a Report in OBIEE and the values used in the prompts to execute the report in OBIEE needs to be passed through a link to BIP and Execute BIP report for selcted parameters.
    The Report is working fine and I am able to pass the parameters from OBIEE to BIP but to make BIP Report function correctly. I have to apply same set of Parameters in BIP and they are visible in the header of the BIP Report.
    Now the Requirement is to hide those parameters from BIP Report and BIP Report should run for the selected parameters from OBIEE dashboard.. On doing this the values passed from OBIEE are not getting filltered in BIP report and BIP Report is running for all records. Is there an alternate way to achieve this?

    if you are on 11.1.1.6 version you can do it i think .
    check the link below
    http://docs.oracle.com/cd/E25178_01/bi.1111/e22257/whatsnew.htm#CHDCDBCA
    Enhancements to Parameter Display Options
    Enhancements to parameter display options include:
    Support for radio button and check box display of values
    Parameters that are defined as a menu in the data model can now be configured to display the menu options as a list of radio buttons or check boxes. Parameters configured to support one value support the option to display as radio buttons. Parameters configured to support multiple values support the option to display as check boxes.
    New options for placement of parameters in the report viewer
    Previously the report viewer always displayed the parameters in a horizontal region across the top of the viewer. In this release the display of the parameter region can also be configured in one of the following ways:
    In a vertical region along the right side of the viewer
    As a dialog
    As a separate full page
    New report viewer action button to show or hide parameters
    This release adds an action button to the report viewer to enable users to hide or show the parameter region. This enhancement complements the new parameter display options. When report parameters are configured to display as a dialog or in a separate full page, the parameter display region is dismissed when the viewer displays the report. Use the Parameters button to redisplay the parameter region to make new selections.
    Search added to menus
    All parameter menus having more than a specified number of options provide a Search option. For more information, see Section 3.3.1.1, "The Parameter Search Dialog."
    Option to remove the Apply button
    Reports can now be configured to remove the parameter Apply button. In these reports the action of selecting a new parameter value automatically reruns the report.

  • Column query in OBIEE report?

    Hi to All,
    I have a query regarding the columns in obiee report. Can we create a separate column like (for example: sum of the any two columns or average of two columns) in Report dynamically and add it to the existing RPD. Is it possile?
    Thanks in advance,
    Thenmozhi

    Hi,
    Yes you can. On your physical layer, you can create a logical column, in your BMM. Open your RPD, go to the logical table you want to work with. Right click --> New Object --> Logical Column. In the Column Source tab, select "Derived from existing columns using an expression" and enter your expresion there (you can also use the formula editor).
    I hope this helps.
    J.-

  • Problem class important error while executing Query from favorites

    Hi Experts,
    1. I have tried execute the query from favorites it is showing the error message. " Problem class important"
        In the message text: logs showing error message [Attached the message screenshot].
    2. From "Query Designer" Execute [Ctrl+R] gives the error "500 Internal Server Error" [Attached the screenshot]
    3. Able to execute the reports from RRMX.
    No ST22 dumps. Can any one suggest about...how to rectify the errors.
    Thanks in advance...Surya

    Need tyo make sure the problem is with the query/workbook are general issue with all workbooks/query.
    1. Make sure the base query of work book is still executable. RRMX/RSRT.
    2. Execute the work book in Bex/Excel and look for definition of workbook; there might be some thing in the workbook referencing other than base query.
    3. If other workbook are also not working? need to check if other users have same issue.?
    Hope this will help to narrow the problem.
    Gopi

  • How do I reference columns in a report query from another report query?

    In Apex 3.1 it is possible to generate a report on more than one query. I have read that these queries can be correlated, but I cannot find how in the documentation.
    I go the Shared Components and create a new Report Query:
    select * from dept
    Then I click Add Query and I add:
    select * from emp
    How do I correlate these two queries (I want to join emp.deptno to dept.deptno) and have a nice hierarchicle XML-file.
    Is it possible in Apex 3.1?
    Dik Dral

    Dik,
    This type of query can't be build. The two queries are independent, you can't reference values in the first query from the second query. However you can reference page and application items - which won't help you all that much with this scenario though. You could also try combining the two queries into one, and then take care of the proper presentation in your template.
    Regards,
    Marc

  • Execute Query from LOV

    Hi
    There is a Button that run LOV(Show LOV) ,
    how could make the Form Execute Query According to the user Selection from that LOV?
    Thanks

    hi
    Thank you Rahamath and thank you Joachim
    -Create non database item (Item_A). (As you told me Rahamath)
    -Used the LOV to return the value at non database item
    (Item_A) . (As you told me Rahamath)
    -Create Global variable (g_var). (as you told me Joachim)
    -At the trigger When_Button_Pressed I wrote :
    if show_lov (my_lov) then
    go_block('database_block');
    :global.g_var :=:block.Item_A;
         Execute_Query;
    End if;
    - Create Pre_Query Trigger at database block level
    (as you told me Joachim)
         if :global.g_var is not null then
    :id := :global.g_var,
    :global.g_var := null;
    end if ;
    so finally its work
    Thank you a lot for all of you
    bye
    mahmoud

  • Execute Query from string

    Dear forum members,
    Is it possible to execute a query from a string like this:
    DECLARE
      thishere  VARCHAR2;
    BEGIN
      f:='from iv_view_cqir_sum where 1=1 ';
      select sum(a) into thishere [...];
    END;The [...] should be taken from the string f...
    Any comments welcome!
    Cheers,
    Johann

    You can do it in this way:
    SQL> create table test1(id number);
    Table created.
    SQL> insert into test1 values(1);
    1 row created.
    SQL> insert into test1 values(2);
    1 row created.
    SQL> DECLARE
       v_var     VARCHAR2 (10) := 'where id=1';
       v_count   NUMBER;
    BEGIN
       EXECUTE IMMEDIATE 'select count(1) from test1 ' || v_var
                    INTO v_count;
       DBMS_OUTPUT.put_line (v_count);
    END; 
    1- - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Calling execute query from WVI

    i wans to call the execute query function from the when-validate-item or in other words when i exit a text box i know calling execute_query from WVI is restricted but this is my requirement so pls tell me what is the way out for it... is there any other trigger in which i can do this or any other way out
    do reply
    thanx in advance
    amyt

    U will have to use combination of triggers
    depending upon your form.
    Key Next Item and WHen Mouse leave should be used

Maybe you are looking for

  • Remove frame from indicator

    How to remove frame from numeric indicator? I tried in "Modern" but cannot get rid of the frame. There is "System" indicator  but I cannot change the background color to match vi's background. Any ideas? I put picture of what I need.  Thanks, Zoran S

  • Running Older Software

    I work for an elementary school and some of the teachers are getting new MacBook Pros with Mountain Lion on them. However, some of the programs they used to use with Snow Leopard are too old to be run on Mountain Lion. Is there a way to fix this and

  • Sequence of the reports

    Hi Guru: We created a group folder with 30 reports. And we want to change the sequence of the reports in the folder, how to do that? In the SAP folder, I could see there is a way to change the order, how to do it for the group folder?

  • Macbook Pro not turning on after chime

    Hey all, my 2010 Macbook Pro running on OS X 10.9.3 is having issues turning on.  When I boot it up it makes the chime like normal and the grey screen appears with the apple logo.  A couple of seconds later the screen just goes black and it shuts dow

  • Get element position

    How can I get the postion of an element in xml? Output should be: 11 - 1 12 - 1 21 - 2 22 - 2 WITH s AS (SELECT '<ROOT><SET><EL v="11"/><EL v="12"/></SET><SET><EL v="21"/><EL v="22"/></SET></ROOT>' x FROM dual) SELECT element_nr , set_nr FROM s , xml