How to Control with Maximum Record per Page

Hi Every one
how can I control with maximum record per page with parameter sending from Form
ex.
if I set parameter with value=15 the report will run 15 rows per page ?
Can anyone help me Please ASAP ?
Thankx

PLay around with SRW.SETMAXROW , from memory that should do the trick.
Cheers.
N.

Similar Messages

  • Maximum records per page is not working

    I am trying to run a report with the property on repeating frame which says
    MAXIMUM RECORDS PER PAGE. I set it to 20 and also set property PRINT OBJECT ON = 'ALL PAGES' still when report is in preview mode it is not displaying more then 20 records. I know this query has more then 30 records.
    If anybody has any idea let me know.

    Asit,
    If you only want to have a maximum of 20 records per page, you only need to set the maximum records per page property. You should leave the print object on property at default or first. For a further explanation of how the print object on property works, check out the on-line help at http://otn.oracle.com/reports/help/. There is a section on restrictions which may make this clearer for you.
    Hope that helps,
    Toby

  • Maximum records per page

    Hi, I would like to is there any way to set the maximum records per page dynamically?
    For eg. If report_type = '1' then maximum records = 3
    If report_type = '2' then maximum records = 1
    Please help and thank you very much!

    Hi Shiau Chin,
    I don't think you can change maximum records per page property at run time. What you can do is:
    Create another repeating frame for the same data group and set maximum records per page property for first repeating frame as 2 and 3 for second repeating frame and in format trigger of these repeating frames show or hide these frames based on report type.
    Thanks

  • How to restrict no of records per page in script

    Hi Experts,
    I am working on SAP Scripts and I am having one problem I need to restrict 15 records per page.
    Please help me out.
    LOOP AT  IT_ITAB
    Call function WRITE_FORM
    ENDLOOP.
    Is there any ways to restrict in loop?
    Thanks in advance
    Basu

    Inside the loop,
    after the write_form give the following if condition
    loop at itab.
    ...write_form...
    w_count = sy-tabix MOD 15.
    if w_count eq 0.
    CALL FUNCITON 'control_form'
    COMMAND = 'NEW-PAGE' .
    endif.
    endloop.
    Regards
    Sharath

  • How to display 20 records per page in jsp

    Hi All,
    I have table contains 1000 records. How can i display 20 records per page using jsp.
    can anyone help...

    hi, I am unable to use the ejb in my jsp page. Really? Then why not ask a question in the JSP or EJB forum?
    I want
    the output of my ejb in jsp page.
    if possible please suggest me .Do you? Whats the output? What are you trying to do? Where's your code? What's the problem? Have you even bothered to read the tutorial?
    >
    thanxNo, thank you....
    ....for posting another non-sensical useless post in the wrong forum

  • Limit number of records per page in RDF report

    Hi Alll,
    My rdf report query return 200 records but while prinitng on the paper i should restrict 60 records perpage... please help me on how should i do it...
    Thanks in advance

    Though the maximum records per page while prinitng it is printing continously on the paper...

  • Maximum Number of record Per page using XML Publisher with RTF template

    Hi
    I am creating customer statement and want to show only 20 records per page. How we can set maximum number of repord per page in rtf template.
    Thanks
    Ravi

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • Can we change [maximum number of records per page] property at run time

    can we change [maximum number of records per page] property at run time in report 6i

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • How to divide record per page (20 record per page).

    How to divide record per page (20 record per page).
    I try word (limit) example
    "select * from table1 where [ some_condition]
    limit [start], [end] "
    , but it error.

    Tom Kyte has a rather extensive discussion of paging techniques here: http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:127412348064
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Limit records per page with Report Builder?

    Is there a way with the report builder to limit the number of
    records per
    page? Thanks.
    ...Brad

    I guessing here but there must be a bit of php code that you can edit that limits the number of records to be displayed instead of the default value of 10.

  • Display 20 records per page

    i want to do one stuff....
    i retrieved database data using below satement......
    i want to display 20 records per page...and per page having two image of next and back..when i click to next ..it displays next 20 records...vice versa...
    PreparedStatement sql = conn.prepareStatement("select * from pay_header");

    Hello abhit,
    If you don't know how to use tag libraries, you can do it ur own.
    Just take your data in a List or Vector.
    Keep two hidden fields with the startIndex as 0 and endIndex as 20.
    update this values as 20 and 40 respectively after first iteration.
    Now for each button click prev or next ,update ur loop control values as such there in the hidden fields.
    use while loop and a boolean variable to indicate backward or forward moving. ok
    If you are using this approach and want to know how to more please let me know.
    Enjoy.......
    kuttus

  • NEXT button on report portlet shows 10 rows-maximum rows per page=9999

    I created a report with the DB Provider portlet. I set the maximum rows per page to 9999 when displayed as a portlet and as a full page. I put the portlet on a page and it only shows 10 rows and then the next button.
    If there are exactly 10 rows I get the next button. If I click it the next page loads with no data. If there are less than 10 rows there is no button.
    If I create a new portlet it does not do this. I'm only having the problem with one portlet now but I've seen it in the past. I usually just build the portlet again but I would like to know how to fix it.
    I can't customize the portlet because of bug #3467032.

    Select customize and set the number of rows to 9999. I'm guessing that it's currently set to 10.

  • Setting max record per page property at runtime (very urgent)

    We need to display 7 record for first page and 25 for other pages...
    we tried a reperating frame max record per page property is a report level property. So it cannot change for pages.
    Then We try other way..
    we seperated our query to the different frame to do these
    But we need to summaries some field at page level and
    reset at page has fallowing restriction
    "A Reset At of Page will not work for reports that have multiple repeating frames associated with a group that is involved in the summary. One common case of this is a matrix report. As a result, matrix reports cannot have page-level summaries."
    So all the ways we tried failed.
    How can we do this ... it is very urgent. (we can use any version of report.)
    Thanks for your help...

    repost

  • Page Break / Maximum Rows per Page

    Hi - One more question....
    I have a group left report and want to keep each master group (the value that is grouped on the left) on its own separate page. In Reports 6i I would have set the Max Rows Per Page property to 1 on the outer repeating frame and that would make sure I had at most 1 master record per page.
    The only way I can see to replicate that functionality in XML Pub is to insert a page break (split-by-page-break) before the end-for-each tag on the group. It looks good in PDF, but in Excel or HTML it repeats the full header with Logo and titles and looks pretty ridiculous.
    So the $1 Million dollar question is how can I make sure there is at most 1 master group per page, but when I output to Excel I only get the header once? Because if I take out the split-by-page-break I get the desired output in Excel but not in the PDF. I really want to be able to use 1 template for all output types because it seems silly to have a separate template depending on the output type.
    Ideas?

    PDF, understand what is page,
    HTML is a single page view and it does nto understand, and same is the case for Excel.

  • Retrieving 10 records per page

    hi,
    i would like to have the source code for retrieving 10 records per page in jsp. I have a huge resultset and i would like to display 10 records per page.
    your help is highly appreciated.
    regards
    andrew

    hi,
    i would like to have the source code for retrieving 10
    records per page in jsp. I have a huge resultset and
    i would like to display 10 records per page.
    your help is highly appreciated.
    regards
    andrewHey Andrew, this code will help you out. Essentially the pseudocode to do what you want is below. Let's say your jsp is called dbresults.jsp
    Get total number of results from query result set
    If page is called with no index number of current record to display
    Display the records from 0 until a max of ten counting how many we display and keeping track of the current record number.
    end if
    else
    Display the records up to a max of ten from the index number we received in the query
    end else
    tempvar_a is the current number of records displayed minus 10 records and minus the amount of records displayed on this page.
    If tempvar > 0
    Display a previous button with the a href as dbresults.jsp?index=tempvar value
    end if
    else if current record index < total record count
    then there are more records to display so make a next button with an href of dbresults.jsp?index=value of current record number plus one
    end else
    One caveat is that getting the index number in the beginning of the JSP as:
    request.getParameter("VIEWEDROWS");
    will return a string that we have to convert to an int since you will be adding and comparing to this number so do:
    String TEMPVIEWEDROWS = request.getParameter("VIEWEDROWS");
    int VIEWEDROWS = 0;
    if (TEMPVIEWEDROWS != null) {
    VIEWEDROWS = Integer.parseInt(TEMPVIEWEDROWS);

Maybe you are looking for

  • Can anyone make my program short? tnx

    i'm new in java programming and have limited knowledge in OOP.. please help me make my code short please please... tnx guys... i want to split my program in 2 or more files/classes.. and can you help me with my looping .. thank you so much... my prog

  • 1st Generation Ipod Touch Fall

    Hi guys I have had a 1st generation Ipod touch for 2 years and still use it pretty much everyday. Unfortunately I dropped it onto a hard floor today for the first time. I was kneeling over and it dropped out of my shirt pocket onto the aluminium back

  • I am a newb! How do i connect 2 or more computers to a single a drive?

    Okay this is what i am trying to accomplish... I want to link 2 or more of my macs to a single a drive(or i guess a raid not really sure what that even is lol) I do HD editing so i know that it need to be fast. I dont really want to spent anymore mon

  • Why are my photographs losing resolution when I rotate them

    Most of the photographs are in portrait orientation, and for some reason the camera(canon 6d) stopped detecting it, so they are stored as landscape.. So I need to rotate them in Lightroom. The rotation causes them to look reaaly low resolution. This

  • Sending word 2007 file in email

    Hi All. I am trying to send a word 2007 (docx) file in email (via BCS). All other formats like PDF, DOC etc work perfectly fine. But DOCX gives me junk characters. I have tried to send the attachment in BIN, DOC, DOCX, RAW formats, but all have faile