Different Page Header

Hi,
I am working in AR Invoice Report. The requirement is to print the invoice along with terms and condition, which is the last page. We don't require the logo and company information to appear on the terms and condition page. For this we have used page header in invoice page. But how can I remove the page header in the last page. Or can use a different page header in the last page.
We tried <?start@last-page:body?><?end body?> and section break before that in the last page. But the problem is when the invoice information overflows, it appears in the terms and condition page. and the header information is lost for that. and a page break before <?start@last-page:body?><?end body?> raises an error.
Any help will be apprciated.
Satyajit

Nice little guide to "different first page", vetsrini. Do you know if this is supported with RTF output? I have no problem getting a different header, when the output is in pdf, but when I try to output in RTF, the first header is repeated on the following pages. Is this not supported for RTF?

Similar Messages

  • Printing multiple copies of output for A template with different page Heade

    Hi Vetri,
    I am trying for a similar requirement as explained in the link below
    http://winrichman.blogspot.com/2008/09/multiple-invoice-copy.html
    I am facing two problems with 80% of the work done.
    I mailed the template and xml to your id.
    Please help in solving the problem
    Best Regards,
    Mahi

    I found the issue with my report. I gave the syntax wrong when ending for-each for group. Using Variables no longer gives error and the issue is resolved with syntax as below.
    Header Information
    <?for-each-group@section: /yyy/LIST_G_xxx/xxx; COPIES?>
    <?variable@incontext:G1;current-group()?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,current-group()/COPIES,1)?>
    <?end for-each?>
    <?end for-each-group?>
    <?start:body?>
    Here goes the body
    <?start:last-page:body?> <?end body?>
    I inserted a page break here through word tools
    Here goes special instructions which only prints on last page
    <?end body?>
    But... I am still working on a related issue to print the Copy Number on the Header. For example if the Copy being printed is 1 it should print Set#1 on header, for 2nd Copy Set#2 and etc.
    I saw in some post that the variable can not be used out of Loop. Can someone help how to accomplish this.
    TIA
    Neeraja

  • BIP Last Page Header

    Hi,
    I am creating a report in BIP in which header is repeated on each page with a group field
    i need a different last page header on the final page
    Steps I am following are
    2) Section break: new page
    2) <?start@last-page:body?><?end body?>
    3) Added the text
    Problem i am facing is the
    1) Last page header is displaying on the end of each group field I need it on the final page at the end of the whole report.
    E.g. for customer id 1
    It is coming on the last page of the customer id 1
    I need it on the end of each customer id
    2) The header of the all pages is coming on the next page when I am adding section break.
    Could someone please help me?
    Thanks in advance,
    Pragati

    Hi Vetsrini,
    Currently, I am working on the PO Print report. My requirement is such that is needs Different header in first page. Different header for the rest of the page and the last page with no header but it shows the Terms and conditions.
    I followed the steps that you explained in the link. But it’s not working.
    (http://winrichman.blogspot.com/2008/08/different-page-header-and-footer.html)
    Could you please give me a helping hand its bit urgent.
    Thanks in advance
    Chandra

  • How to use two different report items in SSRS page header

    Hi All,
    Can we use more than one report item in SSRS 2008 R2 page header...
    Like this in expression..
    =IIF(Globals!PageNumber=1,ReportItems!Col1.Value,ReportItems!Col2.Value)
    Whenever Globals!PageNumber=1 I want to show values present in Col1 and when Globals!PageNumber<>1 then show values present in col2
    Also let know if any other work around is there to meet above criteria...
    Thanks,
    RH
    sql

    Hi RH,
    Based on my research, a text box in the page header can only refer to the ReportItems built-in collection once in an expression. So if we directly use the expression in the page header, we can receive the error message that “The Value expression for textrun’’
    refer to more than one report item. An expression in a page header or footer can refer to only one report item”.
    To work around the issue, we can add two text boxes to the page header: one for the textbox col1 value (=ReportItems!Col1.Value), another for the textbox col2 value (=ReportItems!Col2.Value). Then use the expressions as below to control the visibility of
    those textboxes:
    =iif(Globals!PageNumber=1,false,true)
    =iif(Globals!PageNumber<>1,false,true)
    Please note that only text boxes on the current page are available as a member of the ReportItems collection in a page header or page footer section. For example, if ReportItems!textbox_name.Value refers to a text box that only appears on the first page
    for a multipage data region, we cannot see a value on other pages except the first page.
    Reference:
    Using the ReportItems Collection References (Report Builder 3.0 and SSRS)
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Different first page header + last page footer

    Hi,
    It only works well if the generated document contains more than 1 page.
    Otherwise the last page is "stronger" so the second page header will be displayed.
    I have seen a lots of questions about this problem but I could not file correct answer.
    Please help me.
    Version:5.6.3
    Thanks,
    Norbert

    The best place to look for help with Word in on the Microsoft Office Support pages.
    Jerry

  • Target Named Anchor in a Spry Collapsible Panel from a different page

    Let me start by saying I have combed this forum (and others) looking for a resolution to this.  I am familiar with David Powers solution on Foundationphp.com and am using that code in project to open the collapsible panel from a separate page and it works beautifullly.  The problem I have is that I want the browser to move down to a specific named anchor inside that opened collapsible panel when clicked from a different page.
    Snippets of my current code here.
    Below is the code that I have on an image that when clicked goes to the correct page and opens Panel1.  Works Perfectly!
    <a href="bamboo-species.php?col1=open#CollapsiblePanel1"><img src="images/Content/Photos/HomeScroll/blackTmbor.jpg" width="227" height="175" /></a>
    Below is the link to the .js file and the script in the head of the target page
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script type="text/javascript">
    // Grabs the values of the URL parameters for the current URL.
    var params = Spry.Utils.getLocationParamsAsObject();
    </script>
    Below is the code that I have on the target page for Panel1
    <script type="text/javascript">
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:params.col1 ? true : false},{duration: 1000});
    </script>
    If I have a named anchor say <a name="species1" id="species1"></a> down in the page, how do I target that named anchor from my link on the separate page.  I have tried adding the #species1 to the end of the link on the link page (see below) but with no luck. I believe those were the instructions on foundationphp.com site.
    <a href="bamboo-species.php?col1=open#CollapsiblePanel1#species1"><img  src="images/Content/Photos/HomeScroll/blackTmbor.jpg" width="227"  height="175" /></a>
    I hope (and suspect) that this is an easy fix, I just do not know what it is.  Any help or direction where to look is greatly appreciated.

    I once had the same issue can created a small function that allows me to "jump" to a element.
    function scrollTo( element ){
         var stylize = function( element){ return !+"\v1" ? element.currentStyle : document.defaultView.getComputedStyle( element , null ) },
              getPosition = function( element ){
                   // based on the SpryEffect's module:
                   var computedStyle, tryComputedStyle,
                        position = { x: 0, y: 0 };
                        if ( element.style.left  && /px/i.test(element.style.left) ){
                             position.x = parseInt(element.style.left, 10); // without padding
                        } else {
                             computedStyle = stylize( element );
                             var tryComputedStyle = computedStyle && computedStyle.left && /px/i.test( computedStyle.left );
                             if (tryComputedStyle)
                                  position.x = parseInt( computedStyle.left, 10 ); // without padding, includes css
                             if(!tryComputedStyle || position.x == 0) // otherwise we might run into problems on safari and opera (mac only)
                                  position.x = element.offsetLeft;   // includes padding
                        if ( element.style.top && /px/i.test(element.style.top) )
                             position.y = parseInt( element.style.top, 10); // without padding
                        else
                             if ( !computedStyle )
                                  computedStyle = stylize( element );
                        var tryComputedStyle = computedStyle && computedStyle.top && /px/i.test( computedStyle.top );
                             if ( tryComputedStyle )
                                  position.y = parseInt( computedStyle.top, 10 ); // without padding, includes css
                             if( !tryComputedStyle || position.y == 0 ) // otherwise we might run into problems on safari and opera (mac only)
                                  position.y = element.offsetTop;   // includes padding
                   return position;
              scroll( 0, getPosition( element ).y );
    So now we have a scrollTo function that accepts a pure HTML element as argument, all what is left to do is figure out if we have a hash, and if the anchor exits on the page.
    ( hopes this works, i wrote it without testing, but you get the general idea ):
    if( window.location.hash ){
         var hash = window.location.hash.substr(1), // remove the # from the hash
         element;
         // as anchors can also be used with id attributes, check that first,
         element = document.getElementById( hash );
         // maby we used name="" attribute
         if( !element && ( element = document.getElementsByName( hash )) ){
              element = element[0];
         // if we have a match:
         if( element ){
              // give the collapsible panel some time to init and update the DOM;
              setTimeout(function(){ scrollTo( element ) },0);
    \o/

  • SSRS 2008 R2 report does not print the page header for a html content displaying on multiple pages

    Hi
    I need to display the html content from the database. The html content are quite long and can have content of 3-5 pages. Issue I  am facing is f the record has html content of 3-5 pages, then it does not print the page header (which is a separate tablix) on
    second page onwards.
    Nikesh Shah
    Nikesh Shah

    Hi Nikesh,
    According to your description, I’m not sure the meaning of Page header in your scenario. In Reporting Services, a page header that run along the top of each page, respectively. Headers can contain static text, images, lines, rectangles, borders, background
    color, background images, and expressions. But we couldn’t add tablix in the page header.
    If you are saying report header, a report header consists of the report items that are placed at the top of the report body on the report design surface. They appear only once as the first content in the report. So it cannot repeat in other pages.
    If you are saying tablix header, freezing column headers are different in table and matrix. For more details, please refer to the following thread:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8ddc1af-1bdf-4e72-8aab-0353c7cc848a/ssrs-report-freezing-row-and-column-while-scrolling-issue?forum=sqlreportingservices
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Calling different pages in a single sap script based on conditions?

    Hi All,
             Can anyone please give me an example of how to call different pages in a single sap script based on condition. Eg., i need to call 5 differnet pages from a single sap script based on 5 company codes.
    Please help
    Regards
    Priya

    This approach to make call from SAPscript. Its concept is similar to make call to a subroutine in another program. I would presume you understand how to use USING and CHANGING parameter. =)
    SAPscript -
    /: Perform get_date in program z_at_date
    /:    using &p_year&
    /:    changing &new_date&
    /: endperform.
    program z_at_date -
    form get_date TABLES rec_in  STRUCTURE itcsy
                                    rec_out STRUCTURE itcsy..
    DATA:
       v_year type char10.
    sap script and subroutine uses itcsy structure to transmit parameters
    first parameter is incoming while second parameter is out going
    their function is like an internal table with header line
    all data types between SAPscript and subroutine are string.
    so, you might need additional conversion.
    read incoming parameter with exact name from SAPscript
      READ TABLE rec_in WITH KEY name = 'P_YEAR'.
      IF sy-subrc EQ 0.
        v_year = rec_in-value.
      ENDIF.
    to return value, use the exact name on the second structure
        CONCATENATE v_year v_year INTO v_year.
        READ TABLE rec_out WITH KEY name = 'NEW_DATE'.
        IF sy-subrc EQ 0.
          rec_out-value = v_year.
          MODIFY rec_out TRANSPORTING value WHERE name = 'NEW_DATE'.
        ENDIF.
    endform.
    Hope this helps =)

  • Page Header Not Displaying at Top of Page

    Report Builder 3
    We have a number of reports that include navigation links in the page header. The links use the Bookmarks Action to move the user to a different page. The pages are separated using Page Breaks. Below is an example:
    > Top row is the Page Header.
    > Second section is the Resource Listing & Alerts page.
    > After the first page a rectangle is placed which has Page Break set to Start.
    > After the rectangle comes the start of the "Data Extract" page. The title is in a rectangle with a Bookmark called Page2.
    > Click the link to be forwarded to the Data Extract.
    > Page displays, but the Page Header is not visible because the screen is scrolled down slightly.
    I have not been able to fix this or find a workaround that forces the Page Header to always display at the top. It has been suggested that putting the page break before the bookmark would force this to work, but that is not working.
    Any ideas?     Thank you! Naamkeek

    Hi  Naamkeek,
    Based on my understanding, you add a bookmark link for “Data Extract” in page header, however, when clicking this fields, other page displays without visible page header.
    In Reporting Service, when setting page header in a report, the page header will display in each report page. In your scenario, since you set BreakLocation as Start in PageBreak property, the rectangle could make the page header upper and screen scroll down
    lightly. So please change this property to End. As we tested in our environment, we set BreakLocation as End in PageBreak property for the blank rectangle. Then adding a bookmark link in page header, when we click “Data Extract”, the page header will appear
    on a new page. Please refer to screenshots below:
    Reference:
    Page Headers and Footers (Report Builder and SSRS)
    Best regards,
    Qiuyun Yu

  • (Solved) Calling a different page using HTML Region as a part of other page

    Hi All,
    I want to open a page as a part of other page as it is done using frames in HTML.
    For example :
    <html>
    <head>
    </head>
    <frameset cols="30%,*">
    <frame src="menu.html">
    <frame src="content.html">
    </frameset>
    </html>
    Now I want to use the HTML Region and try calling different page developed in the same application. How can I acheive this task.
    Hoping for a quick and easy solution for this.
    Thanks in advance.
    Regards
    Arif

    Once Agian Thanks Andrews
    http://www.dynamicdrive.com/dynamicindex17/iframessi2.
    htmThis web page i suppose is presently not available, atleast i'm not able to open it.
    Hope there are some more sites.
    I'm trying to search on Google but as I do not have much information about Java Script so cant identify the exact solution.
    Hoping to get some predeveloped JavScript that works with Internet Explorer and Mozilla Firefox atleast.
    Thanks once again.
    Regards
    Arif

  • How to suppress page header when rendering particular group footer

    Description:  I am using Crystal Reports 2008.  I have a report with a page header, and several groupings.  The groups all suppress their headers, but have footers.  The grouping is in the order:  type,county,city,status,parent.  The first 3 footers force a new page before the footer.  The county footer includes summaries and charts.
    Problem:  The client wants the header displayed for the detail and the header for the county footer to be different.  How can I make this happen?
    More Info:  I currently have just a page header.  I have tried messing with the suppress formula for the page header, but I cannot figure out the correct formula to use to suppress the page header on a county footer page.  Is there a way to do this, or is there a completely different approach I should be taking to solve this? 
    I can provide more info if needed.
    Google search was unhelpful in solving this problem.  This problem is driving me nuts.  Any help appreciated.
    Thanks,
    Michael

    What i would suggest is to create a new variable in WhilePrintingRecords evaluation time. For example:
    1. Boolean variable set to TRUE in Group Footer #2 (County)
    2. Reset it to FALSE in Group Header #2 and Group Footer#1
    3. Use the variable for conditional suppression

  • Dynamic Text in the Page Header

    Hi Gurus,
         I have a small requirement i.e., changing the text of title on page header UI element based on condition. if create then create data else if it is display then display the info some thing like that.
       Kindly can some help me regarding this....
    Regard
    Sankar

    Hi Sankar,
    Create on eattribute of type String and bind to title property of page header,
    and your WDDOINIT or any event write code to set title for PG header,
    You are using different buttons, use this code in your buttons and change text.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->Element_context.
      DATA lv_pg TYPE wd_this->Element_context-pg.
    * get element via lead selection
      lo_el_context = wd_context->get_element( ).
      data pg1 type string.
      pg1 = 'selected the record'.
      lv_pg = Pg1.
    * set single attribute
      lo_el_context->set_attribute(
        name =  `PG`
        value = lv_pg ).
    In button 1..
    lv_pg = 'Enter the entries'.
    * set single attribute
      lo_el_context->set_attribute(
        name =  `PG`
        value = lv_pg ).
    Cheers,
    Kris.

  • Dynamic field in master page header?

    Is it possible to put a dynamic field in a master page header that will either pull from a hidden text field added to each subform (e.g., appID) or pull in the title of the subform itself?  I have a number of variable-sized subforms that need the same header and footer, with the only distinct element being a different number at the top.
    I've been looking for a standard variable or wildcard that can be used to dynamically reference an object at the same level in multiple subforms, but so far have not been able to find what I need.
    Hierarchy:
    form1
         masterpage
         subformApp1
         subformApp2

    Hi Sankar,
    Create on eattribute of type String and bind to title property of page header,
    and your WDDOINIT or any event write code to set title for PG header,
    You are using different buttons, use this code in your buttons and change text.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->Element_context.
      DATA lv_pg TYPE wd_this->Element_context-pg.
    * get element via lead selection
      lo_el_context = wd_context->get_element( ).
      data pg1 type string.
      pg1 = 'selected the record'.
      lv_pg = Pg1.
    * set single attribute
      lo_el_context->set_attribute(
        name =  `PG`
        value = lv_pg ).
    In button 1..
    lv_pg = 'Enter the entries'.
    * set single attribute
      lo_el_context->set_attribute(
        name =  `PG`
        value = lv_pg ).
    Cheers,
    Kris.

  • How to control X-UA-Compatible  tag  in page head section?

    Hello !
    We are developing WebCenter Portal applications using JDeveloper 11.1.1.5.
    All our pages are based on ADF.
    Currently, we have 2 similar projects (actually – they are two different branches of same source project).
    But the have one unexpected difference - when I check html-code of generated pages in one project I see
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html class="p_AFMaximized" dir="ltr" lang="ru"><head><meta http-equiv="X-UA-Compatible" content="*IE=8.0*"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/portal/adf/styles/cache/portal-desktop-3kotcg-ltr-ie-8.0.css"> ...
    And in another:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html class="p_AFMaximized" dir="ltr" lang="ru"><head><meta http-equiv="X-UA-Compatible" content="*IE=7.0*"><link rel="stylesheet" charset="UTF-8" type="text/css" href="/portal/adf/styles/cache/portal-desktop-dkw9cq-ltr-ie-7.0.css">
    We have no ideas why one generate content="IE=7.0" and another content="IE=8.0".
    We compared all possible configuration files, but have not find any difference.
    I've googled, but found only post by Frank Nimphius that is applicable to 11.1.1.4. As far as I understand in that version ADF didn't put meta http-equiv="X-UA-Compatible" in page head section.
    The problem is that our pages looks awfully in IE7. And we don’t have to provide IE7 compatibility.
    So, my question is - why one project generate content="IE=7.0" and another – 8.0 and how to control it?
    Thank you in advance,
    Boris

    Just to prove this...
    IE8 running in INcompatibility mode, User-Agent string from the outbound header (e.g. sniffed using Fiddler):
    .......request.......
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    ......response.......
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html class="p_AFMaximized" dir="ltr" lang="en"><head><meta http-equiv="X-UA-Compatible" content="IE=8.0">
    And the same IE8 running in normal mode:
    .......request.......
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    .......response.......
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html class="p_AFMaximized" dir="ltr" lang="en"><head><meta http-equiv="X-UA-Compatible" content="IE=7.0">

  • Using different themes on different pages?

    Is there a way to use a different theme on different pages in a Keynote presentation? So, maybe one look on one slide and another on another slide?

    I'm sure that there are multiple ways to accomplish this, but the one that occurs to me off the top of my head is to select the slides you want to change, pull up the Theme Chooser, and at the bottom it'll give you the option of applying the new themes to just the selected slides...
    I've had several themes active within the same presentation with no problem.

Maybe you are looking for

  • How to Limt Standard Text through Javascript

    Hi, I have an urgent requirement , I need to print only 2 lines of Text entered in the Header/Item Text in PO. When the text exceeds more than 2 lines I need to truncate the rest. I am using an include text for this. I hv tried limiting the char / al

  • Customer Receivables Ageing - post 8.8 upgrade issues with PLD changes

    I'm relatively new to SBO. After upgrading to 8.8 (from 2007A) a report developed using PLD before the upgrade is not showing the last Ageing Interval (91+ days) text and value. The report originally reported 30,60,90, 90+ values. The report is being

  • Process and save a picture

    Hello I tryed to make a code with Labview to process and save a picture. I have 2 cameras, connected to a CVS, and I want to save only the red, so I created a Labview code to extract only the red with Vision Assistant, and I add this to the exemple c

  • Changing Exchange Rate Posting in General Settings

    Hi, Plesae I need your help concerning the exchange rate. i'm using SAP Business One 8.8 PL 15. In the display tab in Administration -> System Initialization -> General Settings, I chose "Indirect". However, many transactions (invoices) were done. I

  • Everytime I Click On An App the Screen Goes Black then to the Menu

    Everytime that I click on an app (except the preset ones from apple), the screen goes black (or to the initial start up screen for that app) and then goes to the main menu. HELP! PS: I've tried restoring it, AND removing all apps and putting certain