What sql is run In Webi with prompt while refresh data

In inforview, create a Webi Document with prompt.
prompt's proverty is "Prompt with List of values" and "Keep last values selected"
while click "Refresh Data",  sometimes it may take long time until prompt appear.
Are there any SQLs  running during the process from clicking "Refresh Data" to prompt 's appear?
whether the sqls are to get  the prompt's value list or others else?

Junchuan,
Yes an SQL is ran to generate the list for the prompt.  Most likely the SQL is a "select distinct" on the value.  The amount of time for this to complete depends on the number of rows that must be read before a distinct list can be obtained, the number of other users accessing the database at the same time, and the load on the application server.  There are a couple of stragegies for speeding up the "select distinct" process, to include the use of a lookup table to the column so that the "select distinct" goes against a smaller data set (the lookup table) versus the production table.
Thanks,
John

Similar Messages

  • ML won't let me run a webapplet with an out-of-date certificate

    How to allow my Java to run a wepapplet with an out-of-date certificate?
    Even when I add the certificate to the list of trusted certificates it still won't let me choose "allow" when the prompt window appears (it was possible on Snow Leopard).
    I'm talking in particular about the website keepvid.com (for saving youtube videos in various formats) which apparently has an invalid certificate.
    How can I fix this bug? I really need to get this applet going.

    Click here and request assistance.
    (83784)

  • Scheduling Webi with Prompts

    Hello,
    I am trying to schedule a Webi report with Prompts through the .NET sdk.  I get the report, set the prompts and then schedule the report.  Unfortunately when i look at the report in InfoView it is not filtered by the parameters.  They show up as instance parameters, but don't seem to have any effect on the report.  When i run the report in InfoView and set the prompts to the same values the report comes out correctly.  I have read several places that I need to Refresh the report, but I don't see any methods that would allow me to do that.  My code is below.  Any help would greatly be appreciated.
    Thanks!
    Pat
    var query = string.Format(@"SELECT SI_ID, SI_NAME, SI_PROCESSINFO FROM CI_INFOOBJECTS WHERE SI_ID=''", reportId);
    infoObjects = _infoStore.Query(query);
    var infoObject = (Webi)infoObjects[1];
    var schedulingInfo = infoObject.SchedulingInfo;
    schedulingInfo.Type = CeScheduleType.ceScheduleTypeOnce;
    schedulingInfo.RightNow = true;
    var formatOptions = infoObject.WebiFormatOptions;
    formatOptions.Format = CeWebiFormat.ceWebiFormatPDF;
    if(infoObject.HasPrompts)
            var prompts = infoObject.Prompts
            for (var i = 0; i < prompts.Count; i++)
                 prompt<i>.Values.Clear();
                 prompt<i>.Values.Add(value);
    _infoStore.Schedule(infoObjects);

    Open WebI using ReportEngine.NET, Refresh, set the prompts, then copy the prompts over to the InfoObject using ReportParameterUtility.PopulateWebiPrompts, then schedule the InfoObject.
    [NET-CS2005_Enterprise_BE12_Schedule_Multi-Value-Parameter-Webi|http://www.sdn.sap.com/irj/scn/index;jsessionid=%28J2EE3417500%29ID1375977850DB21110242120609333586End?rid=/library/uuid/20c5615a-4353-2c10-5986-958a7e074cd3]
    Sincerely,
    Ted Ueda

  • PL/SQL report running slow even with Shared_Servers set to 10

    I am running into a problem with a PL/SQL query that displays in the Report region. I have changed my Shared_Servers parameter and that has not helped. There are less than 10 users on the system. I ran debug and the app is running a long time (10 seconds) in "rows loop: 20 row(s)" where 20 is the number of rows displayed per page. If I run the query in regular SQL, then the results are displayed almost instantaneously. Any ideas?

    I figured out my problem. My statistics were out-of-date on one of my tables. I re-analyzed the table and that solved the problem. Now the results display within milliseconds. What a huge difference that made.

  • OpenDoc(hyperlink) in webi with prompt's value

    Hi
    I want to know that if a hyperlink(Open DOC) in webi in BOXIR2 works with the parameters or not.
    To be more precise, suppose I have a master report which has a prompt on the Status ('High','Low',and 'Medium') and user runs the report for one or more choices, he then need to go to detail of the report with same prompt selection values that he chose for status in the master report.
    A) The report can show the detail report in hyperlink, and that part can be done by hyperlink.
    B) Please help me out if the detail report should run for the same parameter value as of master report (the parameter value should be taken automatically from the master report),when we use hyperlink and is it mandatory to show the prompt to user in detail report cause main aim is to just run the master report with showing the parameter and allowing user to choose the value and then showing the detail report with same prompt value as of master using the hyperlink!
    Thanks & Regards
    Rahul

    Hi Rahul,
       Good Day,
    Happy Independence day,
    i came to know from your reply you solved your problem. congrats, but my problem is still not solved bro, i will explain my problem here clearly.
    i have one master document it contains the the sales values for country wise for particular period of time.so in the master document i set the one filter for period of time ie. date between <from> <to>, so in the master document while running i need to enter the values in user prompt in the place of from and to. so my master document display the country wise sales details. if customer select the particular country in the country list then control need to transfer to child document, that document contains the state wise sales details for selected country for the same period of time(the date, which i selected in the master document).I stored from and to values in two variables in master document.
    The child document contain two filters , that is one for country name and one for Date between <from><to>
    so my user response is looking like this,
    Country Name:
    From:
    To:
    for me up to open the user prompt for child document is not a pblm. bt my selected country is not passed as argument and the corresponding date as well.
    I m totally confused where is the problem, bcoz i tried with lsS and lsM as well, bt no use. i know i am making small mistake some where in the URL.
    U r rite i am using Java platform
    ="<a href=http://<webserver>:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sPath=HomeMyFoldersFavorites&sDocName=TESTSS&sDocType=wid&sRefresh=Y&lsMURLEncode(Country Name:)="URLEncode([Country])"&lsMURLEncode(From)="URLEncode([From])"&lsMURLEncode(To)="URLEncode([To])">"[Country]+"</a>"
    Thanks lot,
    Regards,
    -B-

  • SQL statement running balance query with previous balance taken into account

    Hi Guys
    I have a SQL statement which caclulates the running balance
    for a list of transactions in a transactions table. This SQL
    statement is as follows:
    SELECT transID, debit, credit,
    (SELECT SUM(debit-credit)
    FROM transactions as D1
    WHERE D1.transID <= D0.transID) AS balance
    FROM transactions AS D0
    The only problem I'm having is that I have to display
    transactions between a particular date range. I have for eg.
    transID, transDate, debit, credit fields in my db.
    However the problem I'm having is that when the transaction
    records are pulled out for the specified date range the balances
    are only calculated for those records. I need someway of having a
    balance b/f (brought forward) so that the selected records use that
    as a 'starting' balance and then calculate the running balance as
    normal.
    Any easy solutions?
    Many, many thanks for your help in advance.
    All the best
    Wesley

    You'd need to determine the b/f then apply it against the
    transaction records when they are pulled for a date range. So if
    the date range is
    Feb 1st, 2009 -> Feb 28th, 2009
    You'd need to also get the previous balance in a separate
    query, then use it to correctly display the running balance when
    you output the date range.
    I suppose a simpler way involving a little more DB work (and
    possibly lots of coding) is to store the current balance as well
    with each transaction; then when performing a date range you'd have
    the balance as well and not have to calculate it on the fly.

  • Oracle SQL Query from EXCEL 2007 with prompt

    Hello,
    I have many excel reports where I am pulling information from our Oracle 9 db through Excel using the following method:
    http://blog.mclaughlinsoftware.com/microsoft-excel/how-to-query-oracle-from-excel-2007/
    http://blog.mclaughlinsoftware.com/2009/11/30/sql-query-in-excel-2007/
    However, I am having trouble when I try the following query due to the prompt:
    SELECT
    IM.ITEM_GROUP,
    IM.ITEM,
    IM.DESCRIPTION
    FROM
    LAWSON.ITEMMAST IM
    WHERE
    IM.ITEM = '&ITEM';
    Does any one know how I can connect a prompt to an excel cell and then pass the query on to Oracle, or have a PL SQL prompt work from Excel?
    Thanks,
    Ben

    The 'prompt' as you call it is a sqlplus feature, so does not belong to the SQL language
    You would need to write a stored procedure returning a resultset.
    create or replace procedure foo(rc in out sys_refcursor, p_item) as
    begin
    open rc for
    'SELECT
    IM.ITEM_GROUP,
    IM.ITEM,
    IM.DESCRIPTION
    FROM
    LAWSON.ITEMMAST IM
    WHERE
    IM.ITEM = '||p_item;
    end;
    and call that using ODBC or asp.net
    Obviously this is profusely documented.
    Sybrand Bakker
    Senior Oracle DBA

  • Schedule webi with prompts problem

    I want to schedule a webi document that has prompts.
    If the data of the webi document is purged, I have a problem when scheduling that webi document. Before the schedule starts, the values of the webi document must be set. But if the data is purged, the list of the prompts is empty.
    String query = "select * from ci_infoobjects where si_id = 3427";
    IInfoObjects infoObjects = iStore.query(query);
    IWebi webi = (IWebi) infoObjects.get(0);
    List prompts = webi.getPrompts();
    In the above example prompts is empty.
    In [http://www.forumtopics.com/busobj/viewtopic.php?t=87466&sid=1e70a1f434d279a78a0f8935bd245951] I see that I can use the following:
    ReportEngines reportEngines = (ReportEngines) session.getService("ReportEngines");
    ReportEngine reportEngine = reportEngines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
    DocumentInstance docInstance = reportEngine.openDocument(webi.getID());
    PromptsUtil.populateWebiPrompts(docInstance.getPrompts(), webi);
    After doing this, webi.getPrompts() isn't empty any more.
    But PromptsUtil is deprecated.
    So I wonder if there isn't a better way to make this possible.

    PromptsUtil isn't deprecated.  The documentation should be corrected.
    Sincerely,
    Ted Ueda

  • Running forms web with java

    Hello everybody.
    Normally Im running Forms (10g) from Windows client using Firefox 2.0 with Jinitiator 1.3.1.22.
    It is obsoleted I think.
    My questions are 2.
    There is any new version of Jinitiator that can be used with Window 7 or XP but with Firefox 3 or IE later versions?. If true please send me the link.
    Also
    Where I can find documentation to install the java to run Forms with latest IE.
    Thanks in advanced and regards to all.

    No versions of Oracle Jinitiator are supported on Vista, Win7, or any other newer MS OS. You must use the Sun JRE/JPI on these platforms. You did not mention which Forms version you are using so I will assume by "10g" you mean 10.1.2.x. Please refer to the following:
    http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html#BABGCBHA
    Be aware that in most cases, you must patch your Forms (or Application Server) installation to 10.1.2.3 if you have not already done so.

  • Dynamic SQL substituting dynamic table name with slct statement having date

    Hello,
    I just wanted some help with the following PL block. My problem is whenever I try to run this block it ask for invoking values for 2 substitute variables, though no substitute variables present in the code. Please find the code below:
    Declare
    cursor C_1 is
    select unique table_name from gsi_daily_count;
    table_names varchar2(240);
    Begin
    Open C_1;
    Loop
    Fetch C_1 into table_names;
    EXIT WHEN C_1%NOTFOUND;
    EXECUTE IMMEDIATE' select last_extract_date,
    to_char(min(greatest(nvl(last_update_date,'||01-Jan-10||'),nvl(program_update_date,'||01-Jan-10||'))),'||DD-MON-YY HH24:MI:SS||') mi,
    to_char(max(greatest(nvl(last_update_date,'||01-Jan-10||'),nvl(program_update_date,'||01-Jan-10||'))),'||DD-MON-YY HH24:MI:SS||') ma
    from' || table_names ||'
    group by last_extract_date
    order by last_extract_date desc';
    End Loop;
    Close C_1;
    COMMIT;
    End;
    Please help.
    Thanks in advance.

    You cannot specify your dates the way you have since they are being intepreted as bind variables:
    Try this:
    Declare
      cursor C_1 is
        select unique table_name
        from gsi_daily_count;
        table_names varchar2(240);
    Begin
      Open C_1;
      Loop
        Fetch C_1 into table_names;
        EXIT WHEN C_1%NOTFOUND;
        EXECUTE IMMEDIATE' select last_extract_date,
                                  to_char(
                                          min(
                                                greatest(
                                                          nvl(last_update_date,to_date('''|| '01-Jan-10' ||''',''dd-Mon-yy''))
                                                         ,nvl(program_update_date,to_date('''|| '01-Jan-10' ||''',''dd-Mon-yy''))
                                             ),''DD-MON-YY HH24:MI:SS''
                                         ) mi
                                  to_char(
                                          max(
                                                greatest(
                                                          nvl(last_update_date,to_date('''|| '01-Jan-10' ||''',''dd-Mon-yy''))
                                                         ,nvl(program_update_date,to_date('''|| '01-Jan-10' ||''',''dd-Mon-yy''))
                                             ),''DD-MON-YY HH24:MI:SS''
                                         ) ma
                          from ' || table_names ||'
                          group by last_extract_date
                          order by last_extract_date desc';
      End Loop;
      Close C_1;
      COMMIT;
    End;
    / There is not way for me to test this, so you may have to play around with all the quotes!

  • Attempting to run Service report with different parameters- No data

    User wants to run a report to display all of the Service Calls(different parameters have been entered to test) and no data is brought back. There is an error in the status bar Message 131-85 No data. But if another user runs the same report there is data.
    Have checked Authorisations and all is OK.

    I worked through this issue and found that one of the parameters had a blank selection but this incorrect. Once we changed the selection that data came through.

  • Problems with codepage after refreshing data from XML

    Hello,
    I've created a dashboard with XML connection.
    XML file with new data is created via macro in INPUT.xls Excel file. This INPUT.xls file was created through exporting spreadsheet from Xcelsius and then adding a macro to it, so text data should be this same codepade. Generated XML through macro have no errors and Flash file gets numeric data with no problems.
    But there is other problem with text's codepage. After reload there are some unidentified symbols in place of polish alphabet letters.
    What should I do to make it right? Is this a problem with codepage or something else?
    [Dashboard Before Refresh|http://lh4.ggpht.com/_Q8NK6X6PPLg/TGkLwo3sxZI/AAAAAAAAA_g/mkBiDdM4Gi4/s640/before_refresh.JPG]
    [Dashboard After Refresh|http://lh4.ggpht.com/_Q8NK6X6PPLg/TGkLwSx9fHI/AAAAAAAAA_c/3UeM2Gd3HvA/s640/after_refresh.JPG]
    If you have any idea hot to fix it, please let me know.
    Best regards,
    Bart Dlug

    Hello,
    I have header in my XML as follows:
    <?xml version="1.0" encoding="Windows-1250"?>
    Only then my XML file is displayed correctly in Internet Explorer preview. When I chagne it to UTF-8 I get some errors.
    [XML with windows-1250 codepage|http://lh3.ggpht.com/_Q8NK6X6PPLg/TGkUakDHjlI/AAAAAAAAA_o/lLlJFMcSaFQ/s800/codepage1250.JPG]
    [The same XML with UTF-8|http://lh5.ggpht.com/_Q8NK6X6PPLg/TGkUa8k4vyI/AAAAAAAAA_s/tdcZNqu7-i0/s800/codepage-UTF8.JPG]
    Error message means: Invalid character was found in text content. Error during processing resourcse file:///
    As I wrote before, my data is generated via macro in Excel, so I supose my data in this file has windows default codepage. Am I right?
    Do you think that I problem is XML file?
    Best regards,
    BD

  • XML publisher with graph not refresh date

    Hi
    I use EBS r12, and i create report using XML and BI Publisher rtf file, this report include graph, the problem is when i add the graph according to xml data and run the report throw bi publisher desktop its work fine, but when i run it in concurrent it will show table data OK but graph data will not change according to XML data,
    Any suggestion?

    Hi,
    Please refer note:
    BI Publisher Graphing On A Unix Platform Not Handling XML Data [ID 1189413.1]
    Best Regards

  • Problem with queries while refreshing materialized views

    We are in oracle 8.1.7. We have some materialized views that are refreshed with DMBS_REFRESH.REFRESH in a Job. The problem is that when the refresh occurs while a query is executing we get a "Invalid Rowid" or "0RA-08103 Object not longer exists" in the session executing the query.
    We already have reproduced the problem. Is this a bug ? Any idea?
    Thanks.

    Check if the objects referred in the MV defination has undergone any reorg recently.

  • Export to excel in web with oracle forms 10g

    we have an application running on web with oracle 10g forms in windows server 2003. We use webutil to generate excel. But it is terribly slow when its is run on web. When run locally its fine...
    PLS suggest.....
    Thanks,
    Rekha

    CLIENt_OLE transfers lots of small packets over the network,that's what it makes slow. What you could do.... write your own javabean which uses jacob and "aggregates" the low-level OLE-commands to somehow logical commands like "writeValuetoCell"

Maybe you are looking for

  • REgarding licensing issues involvng 'Computername' and the use of UpperCase4 vs Lowercase Letters

    Does any one know if it would cause problems for the Office 365 software license to be displayed as licensed to an ALL CAPS name like 'MY-FAVORITE-PC' but the computer itself shows the computer name to be 'my-favorite-pc"? If it does, which one shoul

  • Automatic Purchase Requisition Creation in MRP run

    Hi, 1. I create a Sales Order for quantity 20 of main material MAT which has two sub-components - COMP1 and COMP2. The plant in which this sales order is being created does not have any stock quantitiy of the material or its sub-components. For quant

  • IWeb is only compatible with iPhoto?

    I mainly work with Lightroom2 and was wondering if there was a way to import pictures/albums from LR2... or even Aperture. Thanks.

  • Creating and moving images

    Hi, I would like to make a game as hobby in Java but have no clue of anything. Can anyone show me how to create and move the images? I don't know how to show an image in window but I do know about JComponents and actionListeners such as mouse and key

  • 6 channel audio rear, center and sub not work

    I wanted to know i there was a tick box or somthing to enable 6 channels of audio, by this i dont mean selecting 5. sound from the speaker setting i have the creative sound blaster LIVE. I know that the problem has something to do with the number of