Blank Page at the end of generated PDF Document

Hi,
my problem is that ADS is generating a blank page at the end of my report.
I fill the ADS with a template and an XML stream.
The XML stream contains multiple orders. Each order has several detail data. It is a requirement that every order object has to appear at a new page.
XML structure:
- Order
-- Group1
--- fields of Group1
-- Group2
--- Fields of Group2
My template looks like this:
- body page subform: Order  (Default binding: $record.Order[*]; Repeat Subform for Each Data Item: yes; After: Go To Next Page)
-- subform1
--- fields of subform1
-- subform2
--- fields of subform2
Because of the "Go To Next Page" at the Order subform a new page is rendered each time an order ends. This leads to the blank page after the last order is processed.
Does anyone know how I can suppress the blank page at the end of the document?

You may use a forum for xsl fo.

Similar Messages

  • Problem with a blank page at the end.

    Hi,
    I have a report. That comes up with a blank page at the end of the report when the report generates the output in the report builder. Also in pdf file.
    It was created by somebody earlier... and i need to fix this bug.
    Any solutions..?
    Thanks in advance.
    KK
    Message was edited by:
    KK28

    Hi
    there are a number of hits on Metalink for this...
    Subject:      Extra Page Shown At The End Of A Web Report
         Doc ID:      Note:172426.1      Type:      PROBLEM
         Last Revision Date:      04-JAN-2005      Status:      ARCHIVED
    * fact: Oracle Reports Developer 6.0.5
    * fact: Solaris Operating System (SPARC)
    * fact: Microsoft Internet Explorer
    * fact: Adobe Acrobat
    * fact: OAS
    * symptom: Extra Page Displayed At The End Of A Report Viewed on the Web
    * symptom: Only happens on one report
    * symptom: Using Times New Roman
    * symptom: Client/Server configuration works successfully
    * change: Report originally created for client/server application was moved to a web application without making any coding changes in the report.
    * cause: Bug 1386820 : HTML GENERATED ON NT AND UNIX IS DIFFERENT. ADDITIONAL BLANK LINES ON UNIX
    fix:
    Use the Report Builder on Unix to make fine adjustments in the layout to
    improve the HTML output.
    -----x------------------
    Subject:      How to set the number of rows per page dynamically in a report
         Doc ID:      Note:122714.1      Type:      SCRIPT
         Last Revision Date:      07-NOV-2000      Status:      PUBLISHED
    PURPOSE
    This article shows how to set the number of rows per page dynamically according
    to the user parameter specified.
    INSTRUCTIONS
    Follow these steps:
    1. In the Object Navigator under Data Model-->User Parameters, create an user
    parameter P_1 -- this parameter specifies the number of rows you want to
    print per page
    datatype: number.
    2. In the Data Model Editor, create the query and the layout according to your
    requirements.
    Let's assume that we have the following:
    Q_1: Select empno, deptno ename from emp
    order by deptno, ename
    G_1 has the columns empno, deptno, ename
    3. In the Data Model Editor, create the following summary columns:
    CS_numrow will be numbering the rows within the detail group
    (created within G_1).
    Set the following parameters:
    Name: CS_numrow
    Function: count
    Source: <any column that does not accept nulls> for instance, empno
    Reset at: Report
    CS_total_rows will calculate the total of rows retrieved
    (created at the report level)
    Set the following parameters:
    Name: CS_total_rows
    Function: count
    Source: <any column that does not accept nulls> for instance, empno
    Reset at: Report
    4. In the Layout Model Editor, create a Group Frame M_1 within the repeating
    frame, below the fields empno, deptno, and ename. You may have to stretch
    the existing frames to be able to fit this in.
    F_enmpno F_deptno F_ename
    --------------------------------------------- <<<< create the group
    frame here
    5. Set the properties for the Group Frame M_1 as follows:
    Print condition: First
    Object: Enclosing Object
    Sizing:
    Vertical: variable
    Horizontal: fixed
    Check the box "Page Break before".
    6. Create a Format trigger for this frame M_1 as follows:
    function M_1FormatTrigger return boolean is
    /* prints until a row number is product of P_1 */
    /* if row number is 5 and P_1 = 5, MOD is 0 */
    /* then it prints the frame, doing a page break */
    begin
    if :CS_total_rows <> :CS_numrow then -- avoiding blank page at the end
    if mod(:CS_numrow,:P_1) = 0 then
    return (TRUE);
    else
    return(false);
    end if;
    else
    return (false);
    end if;
    end;
    NOTE: This assumes that the report is tabular. If you have a break group, this
    logic can be applied for the detail group.
    REFERENCES
    Information in this article was taken from Oracle Sample Code @ Repository
    Entry #956. In order to request the binary (rdf file or .sql script), please
    log a TAR via Metalink requesting Oracle Sample Code #956
    CAUTION
    The sample program in this article is provided for educational purposes only
    and is NOT supported by Oracle Support Services. It has been tested
    internally, however, and works as documented. We do not guarantee that it
    will work for you, so be sure to test it in your environment before relying
    on it.
    -------x-------------
    the list goes on...
    Hope this helps

  • Implementing multiple page size requirement - extra blank page at the end

    My XMLP report requirement is as follows.
    - The report is printing a bunch of lines.
    - Based on data and layout requirement, lines are grouped into page where they belong (due to complex logic for determining which page a line should go to...this is done in PL/SQL package that is called in the beginning of the RDF trigger)
    - The first page needs to be printed on Legal size paper
    - Subsequent pages (IF NEEDED) need to be printed on Letter size paper
    So some report will have a 1-page output (legal size), and some will have multiple pages (1st page should be legal size, subsequent on letter size).
    Here is a sample XML data:
    <REPORT>
    <LIST_G_PAGE_NUMBER>
    <G_PAGE_NUMBER>
    <PAGE_NUMBER>1</PAGE_NUMBER>
    <LIST_G_LINE>
         <G_LINE>...</G_LINE>
         <G_LINE>...</G_LINE>
    </LIST_G_LINE>
    </G_PAGE_NUMBER>
    <G_PAGE_NUMBER>
    <PAGE_NUMBER>2</PAGE_NUMBER>
    <LIST_G_LINE>
         <G_LINE>...</G_LINE>
         <G_LINE>...</G_LINE>
    </LIST_G_LINE>
    </G_PAGE_NUMBER>
    <G_PAGE_NUMBER>
    <PAGE_NUMBER>3</PAGE_NUMBER>
    <LIST_G_LINE>
         <G_LINE>...</G_LINE>
         <G_LINE>...</G_LINE>
    </LIST_G_LINE>
    </G_PAGE_NUMBER>
    </LIST_G_PAGE_NUMBER>
    </REPORT>
    For this, I created 2-pages RTF template and using the Word Page Setup feature:
    1. First page setup is legal size (go to Page Setup, Paper tab, choose Letter and choose Apply to "Whole Document").
    The first page has the following XMLP tag:
    <?for-each: G_PAGE_NUMBER?>
    <?if: PAGE_NUMBER=1?><?call:body?><?end if?>
    <?end for-each?>
    <?template:body?>
    for-each loop that prints lines in a tabular format
    <?end template?>
    2. Second page setup is letter size (go to Page Setup, Paper, choose Letter and choose Apply to "This point forward").
    <?for-each: G_PAGE_NUMBER?>
    <?if: PAGE_NUMBER>1?><?call:body?><-- Ctrl-Break to insert a page break here --> <?end if?>
    <?end for-each?>
    It almost worked, except there is a blank page printed at the end. How do I remove the blank page? I have tried to use <?split-by-page-break:?> instead of the Ctrl-Break, but it did not seem to work (there is no page break happening at all).
    I think the extra page is due to the multiple page nature of the RTF template. Is there a way to control the page size through XMLP tag (or XSL-FO). With that, I can try having a single page template and put the page size control within the XMLP / XSL-FO tag and hope that the extra blank page at the end will go away. Can someone please help?
    Thank you!

    Sorry for the typo in my previous post... I meant Ctrl-Enter (not Ctrl-Break).

  • How to avoid printing an additional blank page at the end of the report

    I have a report which has 3 panels in the main section of the report, about 3 pages in size. 1st & 2nd panels are enclosed in a repeating frame, and 3rd panel in a different repeating frame.
    The vertical panels per page in the property inspector of the main section of the report is kept as 2. And thus, when I am printing the report I am getting an additional blank page at the end. Also I tried to make the vertical panels per page to 1 in the property inspector for main section but the following error is being returned:
    REP-0801: Layout canvas must remain large enough to fit all layout objects
    Can anyone tell me how to handle this?

    Hi,
    I too faced similar prob.
    But when i made the After Page Value property of the report as blank it removed the blank page for me .
    Try this and let me know whether it has helped you.
    Regards
    Srinivas Pusa

  • Blank Page at the end of report(html output)

    Hi,
    I have created a paper layout report using report 10g.
    DESFORMAT for the report is html.
    when i take a print out of the report from internet explorer its printing a blank page at the end.
    I tried with BLANKPAGES=NO it didn't help me and even unchecked the Blank Pages property in Report Builder tool.
    Please help me in resolving this issue.
    Regards
    Srinivas.

    Many thanks. That works

  • Blank Page at the end of the report

    Hi
    In my report i did not have any pagebreak or section break.
    But some times i am getting extra blank page at the bottom of the report .
    How to avoid this ..
    Thanks in Advance
    Have a Nice day.

    Hi,
    It is very probable that you are have unncessary space somewhere before the end of your template.
    Use Ctrl+Shift+* to show the end of line markers and remove the unnecessary spaces in your
    template then run again the view report.
    cheers
    Jorge
    p.s If your question was answered then please grant the points and close the thread

  • Blank Page at the End

    Dear All,
    My requirement is to flow a table data onto subsequent pages without repeating the header portion of the form.
    I created two master pages and two flowed subforms to do the same.
    A default blank page with the heading is coming for 2 rows of data, or whenever the amount of data is less.
    How should I solve this?
    If is it to be done by scripting, please enclose the relevant code.
    Thank you.
    Regards,
    Prosenjit.

    The address field must not flow, yet the table should flow, how will that be possible, please explain.
    Thank for your time.
    I am trying to use the 'initialization' of subform 'Page2' as follows: xfa.form.data.Page2.presence = "hidden" within a IF-ENDIF construct, yet its not working out.
    Regards,
    Prosenjit.
    Edited by: prosenjit chaudhuri on Aug 30, 2009 6:14 PM

  • Foxit reader is default PDF reader and presents a blank page when asked to show a PDF document.

    I use Mozilla Firefox and Foxit Reader as my default PDF reader. I go to a web site that has a click-on to a PDF document. Mozilla opens a new tab and presents a blank page with the word "done" in the bottom left corner. The address bar shows the called up document, but no document shows.
    How do I correct this?
    If I go to IE which calls on Adobe, the document comes up fine.

    Things are still not right online with Wells Fargo/Adobe pdf's. I have uninstalled all versions of Adobe Reader, AIR, and Flash Player, and have downloaded the new versions. I did the flash player a few minutes ago when trying to watch a YouTube video sent via email and I received a prompt telling me I needed to upgrade Adobe Flash Player.When I access the list of Bank statements for what I call my main account ( I have two checking, two savings, and one Visa accounts with this bank) the list of ten or so monthly accounts for this "main account" appears. I can click on any one of them, get a blank pdf, click on the refresh button, then the pdf appears; one of the savings accounts is on this same statement.  
    If I bring up the other checking account or the other savings account, the only entry on the monthly list that pertains to that account is the second one on the list. All the other months are still from the "main account". I can bring up any of those monthly pdf's via the refresh button route. 
    The Visa account monthly list is good, but I have to click on refresh to view the pdf.
    The pdf statements from US Bank work fine.

  • Blank pages at the end of the report

    Post Author: gayatrys
    CA Forum: General
    Hi
    In a report we are having nealy 45 sections consisting of group headers and its sections like group header a,b etc. the issue is we have suppressed the section, by using formula in "suppress(no Drill Down)" but at the end of the report, a page header and footer is displayed for the suppressed detail and group footer sections.

    Post Author: sharonmtowler
    CA Forum: General
    in the section expert select supress blank section on all sections
    try to minimize the size of the section, the blank page is because it is extending beyond standard page size.

  • Okay to convert to profile only at the end when generating PDF?

    My final color profile has to be iso coated v2 for Europe. This means that most if not all of my placed images have to be converted either from RGB or SWOP CMYK. I've been reading about this issue in this forum but am not sure I got it right.
    As I understand it, it's perfectly okay to let InDesign do the conversion at the end when I'm generating the final PDF (Convert to Destination). I used to go through the laborious process of converting each image from rgb or other cmyk to the iso coated cmyk. Then select Convert to Destination again in the pdf process.
    Is there a difference -- other than tons of additional work -- b/w doing it one way or another? To be sure, I also want to maintain the original color tones as much as possible in the process.
    I'd be grateful if someone could confirm this for me. I'm about to send a huge job off to the printers.
    Many thanks,
    Scarlett

    The default option seems to be: Use color settings intent. I have no idea what this means. The other options are: perceptual, sauration, relative colometric, absolute colometric.
    I usually use the Relative Colometric in Photoshop, as recommended by the press we use in Europe. Would it be safe to select this option for the 3 settings above?
    If you leave it at the default, the rendering intent you have currently set under Color Settings>Conversion Options will be used.
    The rendering intent handles how colors that are out of the CMYK gamut are brought into gamut. It's like trying to put 1.5 gallons of water into a 1 gallon bucket something has to spill—the intent is your preference as to what spills. Search for rendering intent in IDs help for an explanation of the 4 intents.
    I doubt the intents really come into play when you are converting CMYK to CMYK—not much would be out-of gamut. I would leave everything at Relative.

  • The report engine add a blank page at the end of report

    I have configured a group with the option "New page after" checked. The problem of that seems the engine add a new blank page at final of report. Exists some way for avoid that? Perhaps is possible add a formula for don´t allow that when is in the last page?
    Regards and many thanks for the help.

    Many thanks. That works

  • Blank page at the end of smartform

    Hi all,
    I have designed a smartforms which contains a  header  window, main  window and page no. My main window is having a command which gives page break for each customer . I am getting a extra page(having the logo and the company ) which is in the header window. at the end always .How to avoid this extra page.
    Regards,
    Priya

    Hi Priya,
    Try this logic!!!!
    I hope you are triggering your command for every new customer. Have you also included in the condition that the variable value should not be initial.
    I guess at the end of table, your work area doesnt have any value. But still the condition is passed as now the value is initial(which is not equal to previous value).
    Hope you will be able to resolve the issue with this info.
    Do appreciate if found helpful.
    BR,
    Vinit

  • Table every row in new pages leaves a blank page at the end.

    Hi All,
    I have a nested table in a output form.
    All I have in this form is a nested table nothing else.
    as per the requirement to have every new row in a new page, I set the after parameter to next page / next content area for the parent row pagination.
    Now the result is if I have 5 rows, it creates 6 pages document where each row in each page and the last page is blank.
    I understand that the after parameter is intended to move to next page immediately after publishing each row, but how can I stop it at the last instance. or how can I overcome this blank page issue.
    If somebody has already gone through this, please share the solution with me.
    Thanks in advance,
    Sai

    After a long and annoying series of attempts and consulting your links, nancy, there has been no change. The page breaks works in internet explorer and google chrome but when i go to print in safari there are all type of blank page scattered about. Please open up this link in safari, http://onlinedevelopments.com/backend/csrSafetyServices.php?
    then go to print, and see the problem. I don't know what to do.
    idC=1157&id=947&vW=c&aD=3&vP=L5sJWFYsMs

  • Avoid Creating a Blank Page in the PDF Output for conditional request

    Hello BI Masters
    I have a Conditional request on my Last page of the data it checks the number of rows in the first page then it prints the excess rows in the last page and everything is working fine but when i use the conditional request its generating a blank page at the end of the report and i doant want to display balnk page
    My Conditinal format is like this
    <?if:number(SEC3_COUNT)>2?><?if:number(SEC4_COUNT)>2?>
    <?if:number(SEC5_COUNT)>2?><?if:number(SEC6_COUNT)>8?>
    <?initial-page-number:”1”?>
    Form FDA 1572 – Statement of Investigator Continued
    Protocol: <?SEC7_NAME?> <?SEC7_TITLE?>      
    Investigator(s): <?for-each:GET_SECTION_1_DETAILS_ROW?><?SEC1_FULL_NAME?><?end for-each?>
    <?end if?><?end if?>
    <?end if?><?end if?>
    I dont want the Balnk Page to be Displayed , Please help me out
    ~Srix

    Hi Everyone ,
    I have faced the same problem,The first if condition may not effect ,If any if condition immidiately following the for loop then it will crates the problem.
    -----------------May be your problem because of this---------------------------------
    | <?FOR LOOP ?> <?IF CONDITION?><?END FOR EACH?>|
    SOLUTION :<?FOR LOOP?><?IF @SECTION:CONDITION?>?>
    <?END FOR EACH?>|

  • How to avoid printing a balnk page at the end in the Adobe form output

    Hello Experts,
        Can anyone please let me know as how to avoid/delete the blank page at the end of adobe form output.
    I have a master page with header n footer and a body page seperate.
    For ex.. I have 3 line items and i want each line item to be displayed in the new page. I am able to get this functionality . I have set the settings in the paginationb tab of the subform as
    "after " Go to Next content Area" " but an extra page is getting printed at the end. 3 + 1 extra pages total. I want to avoid this blank page. I have checked the Allow page break with in content box but it is still not working.
    Can someone guide me as how to solve this problem.
    Any help is appreciated. Thanks in advance.
    Regards,
    Mahesh

    hey mahesh,
    this normally happens because of triggering a new page manually, what u would have done is that you would be checking for the new line item and when this condition is satisfied , you are triggering a new page , the reason for the last blank page is that the condition gets satisfied ( beacuse the line item number changes from the last line item no to  initial or space).
    This can be handled by doing the following
    By knowing the number of line items by the following stmt.
    describe table itab lines v_lines.
    Now you have the value in v_lines.
    use a counter in ur form and keep it increasing it by 1  ( say v_sno ) ie v_sno = v_sno + 1 in the loop of ur internal table.
    ONLY WHEN V_LINES IS LESS THAN OR EQUAL TO V_SNO , TRIGGER THE NEW PAGE
    this should be along with the condition which u have already put, ie when ever line item no changes
    when both these conditions are satisfied , then only the new page will be triggered.
    Hope it helps,
    Reward if useful,
    Regards,
    KP.

Maybe you are looking for

  • Trigger problem -- can't insert the same data into audit table

    Sir/Madam, I'm trying to use insert trigger with a 'long raw' datatype data for my audit purpose. Each time, the data of original table can be inserted correctly. While the trigger for audit table in which it contains almost the same data as original

  • ADF BC - Controlling Entity Posting Order when deleting

    Hello, I'm trying to remove detail and master entity. Default posting order is wrong so I'm getting: ORA-02292: integrity constraint (DET_MAST_FK) violated - child record found. All examples are for insert, not delete. This code in master entity post

  • Visio Web Access web part connection order

    I have a Visio Web Access webpart that is currently connected to 3 different query filter webparts.  Here is what the query filter webparts are doing  - #1 - This is passing in the page name to the "Web Drawing Url and Page Name" connection  - #2 - T

  • FORMS AND REPORTS WITH IDS10g

    Hi Folks!!! I have an IDS10g (10.1.2) WinXP and I want to test a form that call a report, I read in the documentation that rwserver is obsolete, my questions are: 1. It's possible test this environment form that call a report with IDS10g(10.1.2) only

  • I can't find the hunger games on itunes?

    I can't find the hunger games on itunes?