Report execute time nd how many records will be returned before hitting the "run" option?

Post Author: Prasad15
CA Forum: WebIntelligence Reporting
Is there any way to know how long the report executes and how many records will be returned before hitting the "run" option?
Regards
Prasad

To know if the report is going to return more than 10,000 records, you first have to run the query with a 'select count(1) from ... where ...' (with the same from and where clauses as you normal query). Since this takes about the same time as runnng your report, I wonder if you really gain anything (although formatting may take some time too).
You may simplify the select count(1) query by omitting all the lookup tables that are only needed for formatting. That way your query may run a lot faster. You can put this in your after parameter form trigger.

Similar Messages

  • How many records will be selected by query ?

    Hello experts,
    what is the effect of filtered constant value (set in the filter area) on authorization? if a user is authorized for 3 values of a char, namely, abc, def and colon (,  and in the query this char is restricted to a constant value which is one
    of the 3 values, for example, abc, does the user get to display aggregated amounts of 3 similar records which are differentiated only by the char in question or is it that the filter will neutralise the effect  of the colon such that user can only can see the record containing value abc instead of aggregated amount, assuming there are only 3 records in the cube?
    many thanks.
    YHogan
    *I promise to award points for good answers.

    Hello,
    not sure that i have right understood your question.
    The : authorization has the effect, if you do not include the appropriate char in the query, the query then aggregates the data over the char, the user can see the results. If you have the char in the query (for example in the filter part), you should restrict it to the authorized values (: will be not taken in account).
    Commonly the system compares the structure of the query (or the generated SELECT statement) vs. the user authorization and does not compare the returned data vs. user authorizations.
    Hope this helps,
    Regards,
    Kirill

  • How can I set limitations on how many records a report can return

    I have a report on the web using Oracle Reports builder and I have the client enter in date parameters for the report that they want.
    Well with date ranges for different clients a different number of records are returned. Because of time it can take the report to return I want to limit the number of records that report can return.
    How can I go about doing that? I don't want to limit with date parameters because date won't really work for me. I need to limit on how many records can be returned. If it exceeds 10,000 records I want the client to refine the date range of schedule the report to run later. Meaning we will run that report. So I would have two check boxes if the count was over 10,000 do you want to define your date or schedule the job to run later.
    Can any one help me with this? How would I go about this?

    To know if the report is going to return more than 10,000 records, you first have to run the query with a 'select count(1) from ... where ...' (with the same from and where clauses as you normal query). Since this takes about the same time as runnng your report, I wonder if you really gain anything (although formatting may take some time too).
    You may simplify the select count(1) query by omitting all the lookup tables that are only needed for formatting. That way your query may run a lot faster. You can put this in your after parameter form trigger.

  • How to know how many records is returned by the query in report

    Hi
    i want to know how many records has been returned by a sql statement in a report.
    can any one help me to solve this problem.
    santosh.

    you need to create a summary column with count function for a column in your select query. then u can print that formula column to know the no of rows selected in a query for a report

  • How many records does JDBC adapter can obtain in one polling?

    Hello everybody,
    I need to do an interface between legacy system and SAP ECC, the legacy systems have a DB so i use the jdbc adapter (sender) and receive the information to SAP ECC with proxy, so i need to activate the polling option from my jdbc adapter working as a sender, i read a table with lot of records, and i need to know how many records does jdbc adapter support when the polling is executed, because is necessary read all records from the table and change the status of the processed field.
    Is possible to get all the records from that table in one polling interval (50,000 records aprox)?, or i need to do the polling by blocks of records until finish all records from the table?, the second option, i dont have idea how can i do it.
    Regards,
    Vicman

    Hi again!,
    i still working on that, but i have a question, is possible to handle Store Procedure in jdbc adapter?? is supported?, like PL SQL, because i was working in the next query but i don't know if it works and where do i need to locate the query in the Query SQL Statement or in Update SQL Statement field or both? but how?.
    DECLARE c_cursor CURSOR FOR
    SELECT * FROM tablename
    WHERE processed=0
    OPEN c_cursor
       FETCH NEXT FROM c_cursor
    WHILE @@FETCH_STATUS = 0
    BEGIN
       update tablename set processed=1
       FETCH NEXT FROM c_cursor
    END
    CLOSE c_cursor
    DEALLOCATE c_cursor
    Regards,

  • How many songs will my IPod nano 16gb hold

    Just bought my husband a new IPod Nano 16gb.  How many songs will it hold?

    As the size of a song can vary widely depending on its length and bitrate, there is no single number.
    (78615)

  • Report workload by calculating how many versions of SharePoint list items created in a certain time period

    I have a total of 66 SharePoint 2010 lists - yes, 66! - each lists contains between 1500 and 3200 list items.  My employees update these various list items throughout their workday.  Each update to a list item creates a new version of the list
    item.  On average each list item will have anywhere from 5 to 10 versions before it is done.  I need to create a report that tells me how many list items they've updated in a certain time frame.  I have come close but still cannot arrive at
    the data I'm looking for. 
    This is what I have so far:
    I've created a report using SQL Report Builder 2008 v3 where I've filtered it to show only items MODIFIED between, for example, Feb1 and Feb28.  Of those records, I want the report to tell me how many versions were created during that time
    frame.  The result is one list item with 5 total versions.  Versions 1.0, 2.0, & 3.0 were created on 12/12/14.  The last two versions, 4.0 and 5.0, were created on 2/24/15.  Therefore, the answer I'm looking for is 2 because they
    created 2 versions between Feb1 and Feb28.
    However I get the following results using these queries:
    If I do a =Sum(Fields!owshiddenversion.Value) in the expression field I get the total versions which is 5
    If I do a =Count(Fields!owshiddenversion.Value) in the expression field I get the instance which is 1
    Is there a way to count ONLY the number of versions created in a time period?  Is there another hidden field in SharePoint that I can use in the expression that will give me results I'm looking for?

    Hi Rafael70,
    Per my understanding that you have already get all the need fields and informaiton of the updated version of list items and now you want to calculate how many versions of SharePoint list items created in a certain time period, you can't get desired result
    using sum and count function, right?
    I have tried to tested on my local environment but because I am not clear what is value in the field "owshiddenversion", I assumed you have two datatype parameters (StartDate and EndDate) to help filter the report in a certain time period.
    Generally, if you have add the filter correctly, it will filter the correct number's updated version in this time period, I would like you to provide details information as below to help better analysis the requirements:
    Could you please provide sample data of the table.
    Please provide snapshot of the report structure you have currently designed.
    Please try to provide all the expression you have used.
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to find out all the reports in production, ran how many times?

    Hi experts,
    I like to find out all the reports in production, ran how many time and by which user. Can I use st03n for this? if yes how and where to go?
    Thanks in advance.
    Sharat.

    Hi,
    You can use the statistics Cube 0BWTCT_C02. To get the Frequency of how many times a report has been executed, drill down the particular report by 0CALDAY and the frequency in 0FREQUENCY Keyfigure.
    Make sure the Cube is loaded,
    Thanks & Regards,
    Namrata

  • How far will the extreme reach and how many users can be on there at the same time?

    How far will the airport extreme reach and how many users can be on there at the same time?

    Last question first, since that is the easy one......approximately 50 (fifty) users for wireless depending on how active each user might be.
    The first question is much more difficult, as distance is not really the issue with wireless.....obstructions are the issue.
    A wireless signal can easily travel 300 feet or more with no obstructions in the signal path.
    But, a typical wall of sheetrock or wallboard in a home will absorb....on average....15-20% of the wireless signal. Brick or adobe will obviously absorb much more. A ceiling....because it is thicker....will absorb about 25-35% of the signal.
    So, if the wireless signal must pass through several walls and a ceiling, there won't be much, if any, of the signal left....even though the distance that the signal travels is not great...for example, 20-25 feet.
    Other wireless networks around you at the neighbors can also affect the relative strength of the wireless signal.
    The bottom line....locate the AirPort Extreme where wireless devices will receive a signal with the least amount of obstructions in the signal path. Your actual performance cannot be predicted in advance. You will not know how well the AirPort Extreme works for you until you try it out in your home.
    If you find that the signal does not reach as far as needed,  you will need to add additional "extenders", like an AirPort Express to provide more signal coverage.

  • How to keep track of how many records to display in a page.

    Hi All:
    I am using Weblogic 9.2, Web Services Client, and Struts.
    I have a java client in struts that calls a web services.
    The "ID" field contains a Java integer.
    The "First_Name" is a Java String.
    The "Effective_Date" field is a Java date field.
    The web service returns an arrayList of a class called Result.
    Code for Result.java:
    >
    public class Result
    int id;
    String first_Name;
    Date effective_Date;
    public int getId
    return id;
    public void setId(int id)
    this.id=id;
    public String getFirst_Name()
    return first_Name;
    public void setFirst_Name(String first_Name)
    this.first_Name = first_Name;
    public Date getEffective_Date()
         return effective_Date;
    public void setEffective_Date(Date effective_Date)
         this.effective_Date=effective_Date;
    From the arrayList, I displayed the result as the following:
    ID FIRST_NAME EFFECTIVE_DATE
    3 John 9/10/2007
    2 Andrew 1/11/2006
    5 Peter 3/4/2006
    The "ID" header is a link.
    The "First Name" header is a link.
    The "EFFECTIVE_Date" is a link.
    If I clicked on the link "ID", the first time, it will sort the rows in ascending
    order like the following:
    ID FIRST_NAME EFFECTIVE_DATE
    2 Andrew 1/11/2006
    3 John 9/10/2007
    5 Peter 3/4/2006
    If I clicked on the link "ID", the second time, it will sort the rows in descending
    order like the following:
    ID FIRST_NAME EFFECTIVE_DATE
    5 Peter 3/4/2006
    3 John 9/10/2007
    2 Andrew 1/11/2006
    If I clicked on the "First_Name" field the first time, it will sort the rows in
    desceding order.
    If I clicked on the "First_Name" field the second time, it will sort the rows in
    ascending order.
    This applies the same for the "EFFECTIVE_DATE".
    If the arrayList returns 80 records of class Results.java.
    I needed to displayed only the first 50 records for the first page and 30 records for the second page.
    How do I keep track of that so that when I am in the second page, I know to display only record 51 to 80?
    If I have a arrayList that returns 120 records of class Results.java.
    In the first page, it displayed only 50 records.
    In the second page, it displayed only 50 records.
    In the third page, it displayed only 20 records.
    Assuming I am able to sort the rows by ID, FirstName and Effective_Date by using Results.java implementing the
    Java Comparator class. Is it still possible to keep track of how many records displayed in the first page and how many records should
    be dispalyed in the second page?
    Any hint would be greatly appreciate.
    Yours,
    Frustrated.

    Hi,
    Access the table through SM30. It comes blank as standard. Click "New Entries" and make entries for changes to be tracked. For example, whenever an org. unit changes 002 and 003 relationship, you will make entries like:
    01 O 1001 B002 Activate box checked
    01 O 1001 B003 Activate box checked
    Here, 01 is your active plan version, O is org. unit, 1001 is infotype and B002 and B003 are the subtypes. You can also use * for infotype and subtype which means every change will be logged.
    If you then run the report RHCDOC_DISPLAY through SA38, it will pick up all the changes pertaining to B002 and B003 relationship for org. units (in the above example).
    Similarly, you can set up this table for other object types.
    For more information, follow SPRO>Personnel Management>OM>Basic Settings>Activate change documents and go through the documentation for that node. Also, read up the documentation for the report.
    Hope this helps.
    Donnie

  • Report to show me how many invoices are being processed by users

    Hi, 
    I am currently working as a Accounts Payable Supervisor and I would like to run a report to show me how many invoices are being processed by users in my team. 
    Currently I am using Transaction F.98  (Posted Docs by user report), but this report includes posting from intercompany so all users will have duplicate invoices showing on this report. 
    Is there any other report I could run to get the result I am after?
    Many thanks
    Alex

    Hello Alex,
    You can also use the GL line item report (FBL3N) with the offsetting accounts (for example GR/IR A/c) which would be posted while posting the invoice. You can display the results with User Name and also can create a layout of your own which can be used time and again.
    Kind Regards // Shaubhik
    Edited by: Shaubhikg on Nov 10, 2010 6:02 AM

  • How many records processed

    Dear all,
    Oracle 10g
    Is it possible to find out that how many records have been processed till now by an sql statement. The sql statement takes some hours to get the results. Can we know after some time how many records have been processed till now.
    Regards
    SL

    It is not necessary that the job be present in V$SESSION_LONGOPS.
    A long running DML that is driven by a Nested Loop - IndexRangeScan will NOT appear in V$SESSION_LONGOPS.
    A long running Query that isn't doing FullTableScan(s) , Sort-Merge Join etc will NOT appear in V$SESSION_LONGOPS.
    Only some classes of operations appear in V$SESSION_LONGOPS.

  • How many people you can do facetime at the same time?

    how many people you can do facetime at the same time?

    As many faces as the screen will fit. 27" iMac can fit quite a lot of faces.

  • Is there any limit on how many records a cursor can hold?

    Hi Everyone,
    This is Amit here. I want to know whether there is any limit on how many records a cursor can hold.
    I have a program in which i am creating a cursor and passing it to another procedure as an input parameter. But the count of cursor query is more than 15 Lakhs. The program is running forever.
    Just wanted to know whether the huge data is the problem.
    Thanks ....
    Regards,
    Amit

    user13079404 wrote:
    Just wanted to know whether the huge data is the problem.What do you think? How long does your code typically need to wait for the data to leave the magnetic platter of the harddisk, travel across wires and into the memory buffer of your application - for a single row?
    Now multiply that waiting for I/O time with a million - for a million rows. Or by a billion, for a billion rows.
    Is "+huge data+" a problem? Not really - it simple needs more work to get that amount of data from disk. More work means slower performance. It is that simple.
    Which is why the row-by-row approach used by many developers is wrong. You do not pull a million rows from disk and process it in PL/SQL or Java or .Net. Heck, you do not even pull 10,000 rows like that.
    The correct approach is to think data sets and use SQL to process that for you - and only return the bare minimum of data to the application layer. Maximize SQL. Minimize PL/SQL and Java and .Net.

  • No of records in SAP BI Corresponds to how many records in database

    Dear all
                   If i have 2lakh records in a datasource  then how it  Corresponds to how many records in database.

    For the first time load the datasource , the no of records in the database(source) must be equal to the number of records in the PSA(datasource).
    If you are daily deleting the records in the PSA , and doing a delta load then the no of records in PSA must be equal to the no of records in delta queue RSA7 for the corresponding datasource .
    If the load is a full load everytime or a full repair  ,then the no of  records in PSA  must be equal to the numbers of records in source.

Maybe you are looking for

  • Error: No Entries were Found In the Catelog (IW52)

    Hi, After creatinf the SD Doc from Notification I am trying to send it (Using Send mail from Task,  in the Action Box).  The task has been created, but when I click on "Send Mail From Task", I get an error, "No Entries....". Can anyone please suggest

  • [Share]Cooling down 970 Gaming!

    From MSI TW Forum link:https://forum-tc.msi.com/index.php?topic=113191.0 The story happened in a frigid night few weeks ago. I turned on my computer since I want to play Watch Dog, which is a very popular game recently. Huh? No response? I tried seve

  • Sapquery , adhoc query and Infoset query

    any body having any material for ADHOC QUERY , SAP QUERY and Infoset query with detail explanation and steps for creation. plz forward it to me??????????

  • Transaction GS01: Is Exclude possible?

    Hi ABAPers, Transaction GS01 is used to create SETS. This involves creation of ranges which can specify a 'FROM VALUE' And a 'TO VALUE'. Can I exclude a specific value from this range in this set? If possible, please let me know. Help is much appreci

  • Error code is 2738...help please asap, anyone?

    When I try to install iTunes v7, i get the error code is 2738 message. I tried doing what apple and others said to do to fix this problem and nothing has worked. When i try to register VBscript i get a message that says it failed return code was: 0x8