Want to display footer in last page

Hi Experts,
I developed a classical report for service order print.
The pages increases,  if there are more line items .
My requirement is to display the footer in the last page only, not all the pages.
So please help me regarding this.
Thanks in advance.
Regards
Pavan

Ok So this is a classical report and you need to set the footer only at the last page .
In ur code use the control break
LOOP AT ITAB.
AT LAST.
write:/ 'Footer text'.  "<---
ENDAT.
ENDLOOP.
I hope you are discussing this about a report only .
I hope this is not a  script requirement.
if it is so then
/: IF &NEXTPAGE& EQ 0 
      whatever footer you want. 
/: ENDIF 
Vijay

Similar Messages

  • Displaying Footer on last page of report

    Hi:
    Is there a way to display the footer only on the last page of a report? For example, if I have a three-page report, I need the footer to be displayed on the third page only. Any help would be greatly appreciated. Thank you kindly.
    Sincerely,
    Dinesh.

    Hi,
    Use the Syntax <?start@last-page:body?><?end body?> before the footer , if your template is facing any exception include a Section break in continuous (one of the Section break types) before the above mentioned syntax.
    Best Regards,
    Mahesh

  • Over flow issue while printing footer in last page in PDF forms

    Hi,
    Could any one let me how to display footer in last page only at end of page reserving 5cm of space.
    I have designed my form with two pages:First Page and Next Page in Master Page
    Body Page contains table details and some texts after the table lines.
    First and Next Pages has footer(5cm) at the bottom.
    If Page <> Last Page,footer is not displayed.
    If page = Last Page, footer should be displayed at the very end of the page
    I have a table with multiple line items. If the line items end in First page the footer should be displayed at the bottom of the page. If the line items flow to the next pages footer should be displayed in the last page only. Next pages should be using the footer space at the end of each page if it is not the last page.
    If the positions are wrong can anyone suggest the position of the footer space and how to stop overflow of the line items onto the footer

    You have to place the footers in 2 main windows.
    write script to hide the footer if the current page is not last page. Use below script to find the total number of pages and current page in layout:ready event.
    Var no_of_pages   =   $layout.pageCount (  )
    Var curpage = $layout.page  (  ref  (  $  )  )

  • END-OF-PAGE not displayed in the last page of the classical report.

    Hi all..
    The END-OF-PAGE is not displayed in the last page of the classical report.
    SY-LINCT value is 30.
    Lines displayed in the report per page is 24.
    [3 for TOP-OF-PAGE and 3 for END-OF-PAGE]
    My Internal table has 6942 records.
    It comes 289 pages with 24 records in a page and 290 th page with 6 records.
    The END-OF-PAGE is not coming for the 290 th page.
    Please help.
    Thank You.
    Karthi M R.

    There are multiple links in SDN on this subject; Please search,
    end-of-page

  • Footer for last page

    How to provide footer for last page in areport.

    See the sample program :
    footer will print last page by using at last event.
    *& Report  ZTEST_IEVENTS
    REPORT  ZTEST_IEVENTS no standard page heading
                          line-count 40(2).
    tables : vbap.
    data : begin of i_vbap occurs 0,
           vbeln like vbap-vbeln,
           posnr like vbap-posnr,
           matnr like vbap-matnr,
           kwmeng like vbap-kwmeng,
           netpr like vbap-netpr,
           end of i_vbap.
    data wa_vbap like line of  i_vbap.
    data v_flag type c.
    select-options s_vbeln for vbap-vbeln obligatory.
    start-of-selection.
    select vbeln
           posnr
           matnr
           kwmeng
           netpr from vbap
           into table i_vbap
           where vbeln in s_vbeln.
    sort i_vbap by vbeln posnr.
    end-of-selection.
    loop at i_vbap.
    move i_vbap to wa_vbap.
    at first.
    write:/2 'Order #',15 'Item #',28 'Material #',50 'Qty', 70 'Net value'.
    skip 1.
    endat.
    at new vbeln.
    write:/2 wa_vbap-vbeln,15 wa_vbap-posnr,28 wa_vbap-matnr,
            47 wa_vbap-kwmeng,65 wa_vbap-netpr.
    v_flag = 'X'.
    endat.
    if v_flag ne 'X'.
    write:/15 wa_vbap-posnr,28 wa_vbap-matnr,
            47 wa_vbap-kwmeng,65 wa_vbap-netpr.
    endif.
    at end of vbeln.
    sum.
    skip 1.
    write:/5 'Sub totals', 47 i_vbap-kwmeng,65 i_vbap-netpr.
    skip 1.
    endat.
    at last .
    skip 1.
    sum.
    write:/5 'Grand Totals',47 i_vbap-kwmeng,65 i_vbap-netpr.
    skip 1.
    write:/ 'end of page', 'Footer'.
    endat.
    clear v_flag.
    endloop.

  • Need ideas on how to display a footer on last page only on a dynamic document

    I have a document that is similar to this...
    Dear Customer,
    paragraph 1 content dkdk dkd alkfdjaldkjfa d
    dlkfajd;lkfja;dlkfj a.
    [repeating subform transaction data]
    Closing paragraph please contact us using one of the numbers listed below
    contact info
    The problem I am having is that I want the Contact Info block to appear as a footer on the last page only.  In addition, I want the Closing Paragraph to be on the same page as the contact info block.  The contact info is currently anchored to the bottom in the design view and when the transaction data repeats, it incorrectly pushes the closing paragraph into the contact area.  So basically if the closing paragraph starts to bleed into the contact info block, I want both closing paragraph and contact info to break to a new page.  I don't want to reduce the height of the content area because I want the transaction data to have the ability to display in the full length of the height if needed. 

    Every time you add an instance to you subform, you should hide the footer in the previous instance
    e.g.
    when adding an instance
    var intCount = _subform.count;
    _subform.addInstance(1);
    Reference_syntax.resolveNode("subform[" + intCount.toString() + "].footer").presence = "hidden"
    when removing an instance if applicable
    _subform.removeInstance(x);
    var intCount  = _subform.count - 1;
    Reference_syntax.resolveNode("subform[" + intCount.toString() + "].footer").presence = "visible";

  • Footer in last page

    how to display footer in the last page for 10 pages

    Hi Harish,
    Proceed like this:
    1) Create the footer window and add the text you want to print.. but below a window element like this:
    /E FOOT
    /: If w_last EQ 'X'
      This is footer..
    /: ENDIF.
    Defining a window element will prevent print of this text automatically.
    2) in your Driver program, you must be looping at the internal table and calling the WRITE_FORM function with window MAIN inside the loop.
    As soon as the loop gets completed, set the w_last flag. and call function WRITE_FORM passing the window name as FOOTER and element as FOOT
    Thanks and Best Regards,
    Vikas Bittera.

  • Automatically displaying date of last page change

    I think I remember seeing this a year or so ago, but I can't find it.
    Is there a way to grab the date that a page was last modified and display that on the page? It seems like there should be and easy way, since the information shows up in the developer reports.
    I have the following query which works in SQL*Plus:
    select max(audit_date) from flows_020000.WWV_FLOW_BUILDER_AUDIT_TRAIL
    where flow_id = 130
    and page_id = 306
    but in a page definition I get an 'insufficient privileges' message.
    I'd to avoid granting select privileges on the table, as I'd then have to remember to redo it with each new version of ApEx as well. And since I can't get the above to work yet, I'm not sure if I could substitute strings like &APP_ID. and &PAGE_ID. into the where clause, so this could just be a Page 0 item instead of hard coding it onto each page.
    Any ideas what I'm missing? (Other than when I purge my logs)
    Thanks,
    Bill Ferguson

    (Almost) a couple of small typos in the first select statement.
    First, somehow I wound up with two create table lines. Not sure why, but get rid of one. Next, This bit of code didn't have the other DISTINCT in it (I guess somehow I copied the older version, dunno).
    So, here's the correct version:
    CREATE TABLE LAST_WEB_APP_CHANGE AS (
    SELECT DISTINCT pk_field, short_name workspace, NAME app_name, app_id, page_num, last_change_date, flow_user
    FROM (SELECT DISTINCT pk_field, app_id, page_num , lv last_change_date
    FROM (SELECT short_name|| LPAD (NVL (flow_id, 0), 6, 0)
    || LPAD (NVL (page_id, 0), 6, 0) pk_field,
    flow_id app_id, page_id page_num,
    last_value(audit_date) OVER (PARTITION BY flow_id, page_id) AS lv
    FROM flows_020000.wwv_flow_builder_audit_trail c,
                                  flows_020000.wwv_flow_companies
    WHERE c.flow_id = flow_id
    AND c.page_id = page_id
    AND security_group_id = provisioning_company_id
                   GROUP BY short_name, flow_id, page_id, security_group_id, audit_date) a
    WHERE page_num IS NOT NULL),
              flows_020000.wwv_flow_builder_audit_trail a,
              flows_020000.wwv_flow_companies c,
              flows_020000.wwv_flow_models m
    WHERE a.flow_id = app_id
    AND page_id = page_num
    AND last_change_date = audit_date
    AND a.security_group_id = c.provisioning_company_id
    AND a.security_group_id = m.security_group_id
    AND short_name = '<your workspace name>'
    Just to be sure, I retested again this morning and this one does grab (and create) the last changed record in the audit trail and stores it into whatever table name you chooes (if you edit it).
    As Vikas said in an earlier post, it best (probably) to do this on each parsing schema, since each parsing schema can have multiple apps associted with it, and it can become a can of works creating a generic schema accessible to all.
    Anyway, after the table is created and populated for each schema, then it's easy to create a page to to handle insert/update/deletes for the future maintainability of the data.
    Personally, I'm leaning towards a variation of the above code associated with a button, to update the information, maybe a drop table followed by the above code? I need to experiment some.
    But, you can create a Page 0 hidden item, I called mine :P0_LAST_CHANGE_DATE, with a SQL source of :
    select TO_CHAR (last_change_date, 'DD-MON-RRRR HH24:MI:SS') last_change_date
    from LAST_WEB_APP_CHANGE
    where app_id = &APP_ID.
    and page_num = &APP_PAGE_ID.
    Then, on each page's footer, I have the statement:
    Page Last Changed: &P0_LAST_CHANGE_DATE.
    Variations of the above can also be used to display who changed it last (the flow_user field).
    Now, each page will display the date of last change (almost) painlessly). I just need to periodically go out and maintain the table. Maybe a scheduled job run each night?
    Somebody want to supply an example of how to do that?
    Bill Ferguson

  • Terms and conditions not getting displayed on the last page

    Hi All,
    I have to display a smartform, on the front side of the page i have to display material details and on the back side of the page i have to display terms and conditions. I' am unable to print the material details and terms and conditions in duplex mode, but on the last page only material details are getting displayed, terms and conditions are not getting displayed.
    Can you please help me how to make the terms and conditions get printed on the back side of the last page.
    Thanks,

    I'm a bit confused by the statement "I' am unable to print the material details and terms and conditions in duplex mode".
    I suppose you meant to say "I am able to print the material details and terms and conditions in duplex mode", correct?
    If the problem is that on the last form page, the T&C is not getting printed on the back of the form, you could force the T&C page by using a flow logic command as the very last element of the main window, which gets processed when all the data is already output. For the command, use the 'Go to New Page' and specify the page name for the Terms & Conditions.
    In case this causes an issue that the last page is printed twice (since the T&C page is likely defined with the next page being NEXT_PAGE), then copy the already existing T&C page, call it LASTPAGE and leave the Next Page attribute empty.

  • Terms and Conditions to display in the last page of Script

    Hi Experts,
    My requirement is to print the Terms and Conditions in the Last Page of a PO. so for that, I have created one LAST page. Previously i have FIRST Page and Next Page in the Script. In the LAST Page it has to windows. One is for Logo and another one is for Terms and Conditions. I am trying to print to Terms and Conditions through a Standard Text ( Created in SO10) in the Terms and Conditions window.
    The page flow are like FIRST-->NEXT, NEXT>LAST, LAST---->LAST
    Please guide me how shall i proceed to get the output. It would be better if we get the output with out doing any change to the driver program.
    Thanks,
    Priyabrata

    Dear Priyabrata
    The page flow should  like FIRST-->NEXT, NEXT>NEXT, LAST---->
    And call your page in main window at last element.
    This will surely solve your problem.
    Regards,
    Vijay

  • I want to display footer in the second page of a layout if line items excee

    Hi to all,
    I am displaying line items in a layout(Scripts) of a 1st page if contents are enough to display in box,footer has to come in 1st page else the footer is  to be displayed in second page.
    Waiting for your precious replys.

    hi,
    give the content between
    /:protect
      give what to be displayed
    /:endprotect
    content between protect and endprotect will display the content in the current page if space is available or it will print the  hole content in the next page..
    Hope this will be useful..
    regards,
    karthik

  • How to display the some extra text in footer last page of each department

    Hello Experts,
    I need help in generating RTF template to generate sum of salary for each department in the footer of the last page of each department name As shown below.
    Total salary of <DEPARTMENT_NAME>=<Sum of salary>.
    Someone plese help me.
    For example:
    If my output is displaying in multiple pages for each department I want the output should be as follows in the footer of last page of current group
    *Total Salary of Accounting = _20300_*
    My xml file is as follows*
    <?xml version="1.0" standalone="yes"?>
    <ROWSET>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Den</FIRST_NAME>
    <JOB_ID>PU_MAN</JOB_ID>
    <SALARY>11000</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Alexander</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>3100</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Shelli</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>2900</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Sigal</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>2800</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Guy</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>2600</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Purchasing</DEPARTMENT_NAME>
    <FIRST_NAME>Karen</FIRST_NAME>
    <JOB_ID>PU_CLERK</JOB_ID>
    <SALARY>2500</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Nancy</FIRST_NAME>
    <JOB_ID>FI_MGR</JOB_ID>
    <SALARY>12000</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Daniel</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>9000</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>John</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>8200</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Ismael</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>7700</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Jose Manuel</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>7800</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Finance</DEPARTMENT_NAME>
    <FIRST_NAME>Luis</FIRST_NAME>
    <JOB_ID>FI_ACCOUNT</JOB_ID>
    <SALARY>6900</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Accounting</DEPARTMENT_NAME>
    <FIRST_NAME>Shelley</FIRST_NAME>
    <JOB_ID>AC_MGR</JOB_ID>
    <SALARY>12000</SALARY>
    </ROW>
    <ROW>
    <DEPARTMENT_NAME>Accounting</DEPARTMENT_NAME>
    <FIRST_NAME>William</FIRST_NAME>
    <JOB_ID>AC_ACCOUNT</JOB_ID>
    <SALARY>8300</SALARY>
    </ROW>
    </ROWSET>

    Hi,
    This a good document to look at. Search for the words "Running Totals" and "Regrouping the XML Data" on the page.
    Oracle Fusion Middleware Report Designer's Guide for Oracle Business Intelligence Publisher
    http://docs.oracle.com/cd/E21043_01/bi.1111/e13881/T421739T481157.htm
    I hope it helps.
    Sinan

  • Display value in footer on only last page:

    I have the same footer on 3 of my master pages. Depending on data, my form may grow to several pages.
    The first 2 master pages display exactly once and the third page grows to no. of pages depending on input data.
    Is it possible to script some event so that the textfield on footer displays only on last page?
    I have seen examples of xfa.layout.pageCount() and xfa.layout.page(this), and tried the conditions on if last page =  currentpage, show/hide  the value of text field in the footer.
    If there are 10 pages, system should display the text value in the footer only in the 10th page. If the form got only 2 pages, it should display only on second page.
    I tired all kinds of scripting with pagecount and page(this). But the script is effecting all the pages irrespective of first/ last page.
    I will be greatful if you can put the sample code/ form on how to do this.
    Thanks,
    Krishna

    Hi Paul,
       Thank you for the logic.
    Actually I tried this.
    I have some fields in the 3 footers which got some explicit binding. If I put some value in the first page footer in this field, and if the logic (current page != no.of pages) , the value is getting reflected in all pages without checking for further pages.
    I figured out what the actual problem is. It's not with page logic. But with the externally binded fields. If we put the calculated field for one footer, the form will keep the same value without taking from external binded xml. I tried it in a alternate way by getting these values using calculated fields and that worked for me.
    Krishna

  • Footer in all pages

    Hi all,
    I have 1 page in a script with 3 windows
    Header MAIN AND FOOTER
    I have some hardcoded text in header and footer and want it in every page
    I see my header and footer if i have very few records say if the records in my main window fits in page no 1 i can see the footer and header
    if the records exceeds the main window of page 1 then i don't see foote rin page 1 but i see it in the second page
    That means the footer is being displayed only in last page
    I don't have any conditions in my code
    Is there naything i have to do to print footer in every page
    Again, in the output i see footer space blank for page 1
    Thanks

    Hi,
    The reason is that, even though your window content is Footer as per business requirement, but technicaly the property of the requirement seems to be a normal window. Hence I proposed the trick.
    A footer is meant to be printed at the last. But in your case it was more of content in every page. So it is not footer technically but a regular window which would display the values in the required format.
    Hope it helps.
    reward and inspire.
    Fra

  • How to create a last page

    Hello all.
    I am creating an adobe print form where the signature area should be shown at the bottom of the last page only.
    I am using Adobe LiveCycle Designer 8.1.
    Here are the steps I did so far:
    1. The master page contain the logo at the top of it. (Outside of the content area)
    2. The master page contain the page number at the bottom. (Outside of the content area)
    That way, the logo and the page number are shown on each pages.
    3. The design View, contain several subforms where the information is displayed.
    Now I need to know how I can create a Subform containing the signature box that will be displayed only at the bottom of the last page.
    If possible, I would like to avoid to reduce the content area to plug the signature box.
    So, if there is only one page, the signature box will be displayed at the bottom of the page before the page number and after the data from the design vew.
    If there is more than one page, the signature box will be displayed only at the bottom of the last page.
    I am new in the Adobe Form, so if possible, extensive explaination would be highly appreciated.
    Regards
    dstj

    Hello everyone.
    For everybody benefit, I do have a solution. I am not saying that it is the right solution but it did work for me.
    So, here it is:
    1. I had to create another master page (page 2)
    2. I had to copy the information of the master page (page 1) that I want to have copied on the second page. ( Logo, page numbet etc.)
    3. I created a subform containing the information that needs to be displayed on the last page only
    4. I selected the new master page (page 2), when to the object tab, pagination subtab and select the "last page (in page set)" option at the placement field.
    5. I selected the Master Page from the hiererchy tab, into the object tab, I selected the page set tab and in the printing field, I selected "Print on Front Side Only".
    I hope that can help somebody else.
    Regards
    dstj

Maybe you are looking for

  • "cannot connect to the Itunes store" through Iphone

    Ok, I can't get into Itunes on my 1st gen Iphone. It shows that I have no wifi network connected but I don't even know what wifi is. I'm giving this phone to my roommate and she wants to DL ringers. Any idea what I should do? If you tell me like the

  • The iCloud backup box won't exit from my iPad mini homescreen.  It has completely disable the iPad, I can't even turn it off.

    My iCloud has not been backed up in 2 weeks.  The iCloud back up box appeared on my iPad mini and it will not exit.  I click the "ok" button, but the box will not go away.  I have tried to power off the iPad but am unable to do so because the box is

  • Firefox is no longer showing pictures within icons

    Hi, My Firefox has stopped showing pictures within icons. If you can imagine an webpage that is used to send and receive email. This webpage has the "Reply" button. My reply button used to have a left arrow picture within the button however now there

  • Downloading Employees photos from SAP: ECC6

    Hi Experts, There are lot of photos for employees in system. Now client is asking to download the photos. How to download those photos. OAAD is uploading the photograph similarly is there any Tcode or table where we can download the photos directly T

  • Z-87 G45 No Sound with Windows 8

    Just built a new computer from scratch.  Z-87-G45 mobo gtx 670 ftw i-5 4670k 8gb ram windows 8 600w psu Its up and running perfectly, except for my audio.  The front panel is connected properly, headpones don't work in the jacks or in the back (green