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?>

Similar Messages

  • 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?>

  • Setting maximum number of records per page

    Hi All,
    Can anyone tell me how can i set the maximum number of records that should be printed per page in a XML REPORT. How can i write the XML tag for this.
    thanks in advance,
    siddam

    Hi ,
    Please check bi publisher blog from TIM.
    http://blogs.oracle.com/xmlpublisher/2007/03/27
    it will help you out.
    Regards
    Ratnesh

  • REPORT BUILDER: MAX. NUMBER OF RECORDS PER PAGE

    Dear Consultant,
    Using DEVELOPER 2000 R2.1 REPORT BUILDER, is there any way to set the " MAXIMUM NUMBER OF RECORDS PER PAGE" dynamically by user input when calling the report, without the need to modify the report at Design time and recompile it?
    Thanks for your help.
    Ghia Haidar
    Developer
    Astrolabe IT - Professional Consultants
    Beirut, Lebanon
    Phone: + 961 1 841.050
    Fax: + 961 1 841.055 www.astrolabe.com.lb
    null

    Refer Manish question.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ali DHAINI ([email protected]):
    Dear Consultant,
    Using DEVELOPER 2000 R2.1 REPORT BUILDER, is there any way to set the " MAXIMUM NUMBER OF RECORDS PER PAGE" dynamically by user input when calling the report, without the need to modify the report at Design time and recompile it?
    Thanks for your help.
    Ghia Haidar
    Developer
    Astrolabe IT - Professional Consultants
    Beirut, Lebanon
    Phone: + 961 1 841.050
    Fax: + 961 1 841.055 www.astrolabe.com.lb
    <HR></BLOCKQUOTE>
    null

  • Changing Maximum Number of Rows Per Page to Include

    I am trying to change the "Maximum Number of Rows Per Page to Include" using Enterprise Manager > Coreapplication > Capacity Management > Performance.
    It was default to 75. I need to change it to around 5,000. I have a report which generates 5,000 records and I use Agent to send it to our user at a scheduled time.
    I change 75 to 5000, activate the changes and restart the BI. After restarting it automatically reverts back to 75.
    Has anyone experienced this?
    My instanceconfig has contains this:
    <Views>
    <Pivot>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DefaultRowsDisplayedInDownload>5000000</DefaultRowsDisplayedInDownload>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DisableAutoPreview>false</DisableAutoPreview>
    <MaxCells>1920000</MaxCells>
    <MaxVisiblePages>2500</MaxVisiblePages>
    <MaxVisibleRows>1000000</MaxVisibleRows>
    <MaxVisibleSections>5000</MaxVisibleSections>
    </Pivot>
    <Table>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->
    <DefaultRowsDisplayedInDownload>5000000</DefaultRowsDisplayedInDownload>
    <MaxCells>1920000</MaxCells>
    <MaxVisiblePages>2500</MaxVisiblePages>
    <MaxVisibleRows>1000000</MaxVisibleRows>
    <MaxVisibleSections>2000000</MaxVisibleSections>
    </Table>
    </Views>
    Any help would be greatly appreciated.
    Thanks!

    Hi,
    Editing in EM should change the settings. Stop all the services and restart
    In the individual reports for tables and pivot tables >> Edit the table properties and add the number of 'Rows Per Page'
    Hope this helped/ answered
    Regards
    MuRam

  • Limit the number of records per page in webi

    Hello All,
    How do i limit the number of records per page in webi?
    i was asked to have not more than 20 records per page.
    In " NUmber of Vertical records per page"(Quick display mode) the default value was 100, i am trying to set it to 20 ...but its not updating....its still taking 100.
    I am on BO XI 3.1 Sp2 fix pack 3
    Please let me know a way to accomplish this.Any inputs appreciated
    Thanks

    It can be done as follows:
    1. create a variable at report level as:
            v Test = Floor(RowIndex()/20)
    2. Added this variable in the Block as a new column.
    3. Select the v Test column, Right Click and set as section (also you can apply break).
    4. Go to structure mode select section\break and go to properties tab and select the property "Start on new page".
    Regards,
    Rohit

  • 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...

  • Need help in printing text at back page using XML Publisher

    Hi,
    I need to print instructions (static text) at the back page of my report ouput using XML publisher. Oracle Application used is 11.5.10. Please help me to reslove.

    Hi,
    Did you see "Oracle XML Publisher User's Guide" manual available at --> http://www.oracle.com/technology/documentation/applications.html
    Regards,
    Hussein

  • FDM Mapping Maximum number of records per Dimension

    All, I have a unit that currently has over 2800 records for their account dimension. I can download all the records associated with the maps, but I can't see all the records in the Map Options window. It seems to stop at Page 20.
    Is there a limit to the number of records FDM can view in the Map Options window?
    Is there a limit to how many records a dimension can have?
    Thank you for your help.

    Thanks for the response Mehmet, I did as you recommended, and confirmed the count in tdatamaps as well as the same count downloaded to excel. It is literally the FDM view will not show all the records. I have downloaded them all, cleaned any questionable characters, re-uploaded, and again check tdatamap, counts are good, just not able to see the records in FDM map window. Very strange......
    All Thoughts are greatly appreciated. Thank you

  • Using XML Publisher with plsql package data source?

    Hi,
    I have a html gantt chart which i create using a plsql package and the use of the htp.p procedure for output to a webpage.
    I want to be able to print this to PDF and was hoping the XML Publisher may be an option for doing this. The datasource for this however seems to be a sql query or XML feed.
    Can anyone provide any suggestions on this??

    With a Pipelined Table Function you can use a function in your FROM-clause (so you'll have a normal SELECT, but in the background the data comes from a PL/SQL-function):
    SELECT * FROM TABLE( <function_name> )
    Look here:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:30404463030437
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2335

  • Is it possible to use xml publisher with xml document as data source ?

    I have an application that have to publish document from xml document that are not part a oracle 10g database but will be stored into Oracle Berkeley XML database insteed. Is it possible to use server and/or desktop to publish these documents ?
    I test the desktop edition using the source xml document but it render no data when the template is executed (vizualization)
    I installed the server edition and i'm not able to declare xml document as a data source
    So i have a doubt that xml publisher is able to publish something from a xml datasource
    Thanks

    Yes, it is possible.
    The problem should come from your template. Refer to "edit a RTF template" in the docs.
    A fact is that XML Publisher server edition is not very adapted to an XML file datasource. In order to use it, you should use an HTTP datasource, with the URL of your XML document (that you should place on a web server...). The problem is that this URL is fixed and point always on the same reference...so XML Publisher server edition is not very good for that use.
    I choose to use the XML Publisher Java API which is better for this task.

  • Blank Page in PDF output with RTF Template

    Hi, In RTF template; I am printing static text based on certain conditions optionally. I am getting a blank page at the end of the report if the static text is ending in the last 3 lines of the page. Does anyone had this issue before?

    Hello,
    Please upload the RTF file and the XML data file so we can test it and find out what is wrong there.
    You will have to zip the XML file in order to upload it.
    Bogdan

  • Need help to display n number of records per page

    I am trying to display the records using the RowSetIterate loop.
    After showing 10 records, I break the loop using the
    RowSetNavigate. After that I want to display the next 10 records
    which I am not able to do. Can Anybody help?
    The code is as follows
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="am"
    configname="testPackage.TestPackageModule.TestPackageModuleLocal"
    />
    <jbo:DataSource id="ds" appid="am"
    viewobject="testEntityView" />
    <table border="0">
    <tr>
    <td ALIGN="right"><jbo:DataScroller appid="am"
    viewobject="testEntityView" /></td>
    </tr>
    <tr><td>
    <table border="1">
    <jbo:RowsetIterate datasource="ds" >
    <% if (ds.getRowSet().getCurrentRowIndex() == 9)
    { %>
    <jbo:RowsetNavigate datasource="ds"
    action="Last" />
    <% } %>
    <tr>
    <TD>
    <jbo:ShowValue
    datasource="ds" dataitem="Fullname" /></TD>
    </tr>
    </jbo:RowsetIterate>
    </table>
    </td>
    </tr>
    </table>
    </table>
    </BODY>
    </HTML>

    resolved this issue by using FlowN functionality available in BAM

  • 15 Records per page

    Hi XML Pub Team
    I am creating a reports using XML Publisher and RTF template. I want to show only 15 records per page and some text before and after records. Like customer information before records and term conditions after records at each page. I tried all combination but i could not get any right solution.
    If we think about customer statement, i have 5 pages statement for one customer and i want to show these contents on each page "first customer information then 15 records of transactions after that term condition/buckets for each page.
    Please let me know about solutions.
    Thanks
    Ravi

    It will work :)
    use xsl code
    <xsl:if xdofo:ctx="inblock" test="CONDITION_ELEMENT='TRUE'"><xsl:attribute name="break-before">page</xsl:attribute></xsl:if>
    or
    <?if:position() mod 10 = 0 and position() != last()?>
    <xsl:attribute name="break-after" xdofo:ctx="incontext">page</xsl:attribute>
    <?end if?>

  • 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

Maybe you are looking for

  • How to club the following COGS / Sale report, and add sale order value also to this report

    ------------------------------COGS----------------------------------------------------- SELECT X.Cardname, SUM(X.Jan) JAN, SUM(X.FEB) FRB, SUM(X.MAR) MAR, SUM(X.APR) APR, SUM(X.MAY) MAY                , SUM(X.JUN) JUN, SUM(X.JUL) JUL, SUM(X.AUG) AUG,

  • Selling an Imac to a family member and want to delete the user

    So I'm selling my 2008 iMac to my mom because I just bought a new macbook pro. I've transferred everything to my new computer and now want to delete my user account on my old one (which is the only user on the computer). I want my mom to be able to m

  • Use User Defined Tables in a Marketing Document on Row Level

    Hello All, Is there a way to use the fields from a User Defined Table in a Marketing Document on a row level such as for example Purchase Order. If this is not possible directly, any known work-arounds? Thanks for your effort, gr. Freek

  • Simple javascript ?

    I'm trying to find some simple code that will direct a user to a page based upon his or her selection. I have a hint and submit button. When one is pressed I want to redirect to a certain screen. I have code in vbscript not javascript using onClick.

  • HT5012 Why do I have to restore my iPhone several times

    My phone keep on going on and off and unless I fix into the Mac book before It tells me to restore and I loose everything after restoration ... And my camera freezes for some time now !!!