Need to print horizontal line at the end of main window in each page.

Hi,
I am printing a smartform with main window having 10 lines in footer. The problem I am facing is when the content extends upto two or more pages, I am not getting the horizontal line at the base of main window. For last page it is fine as it contains footer.
Please suggest how to proceed.
Thanks,
RKU

Hi,
If you don't have any frame set on your main window:
Go to output options and mark frames, and then go to details and uncheck checkboxes for above, laft and right, leving only below marked.
This will give you a line in the bottom of you main window.
If you dont' want to do this on the main window, can you create a new window placed at the bottom of the page and use this framing technic on that window. But in that case don't forget to mark the "always draw box and shading" checkbox. as this window contains no values, the will not get printed unless  you mark this checkbox.
Regards
Åsa Thenstedt

Similar Messages

  • SAPSCript how to print  a comment at the end of main window on first page?

    In SAP Scripts, How do I print a comment at the end of the first page (I have several pages of data) in the main window?
    - Ven

    hi
    good
    yes we can put condition.....to display the footer window get printed after all data in main window gets over.........................assingn u r footer window to next page [ i.e u r second page] ...and write the condition
    In such senario no need to use a window for footer.
    In the Script form:
    -> In the Main Window itself after all the main data create an Element.
    -> Use BOTTOM and END-BOTTOM; write your footer information between them.
    In your Driver Program:
    -> After printing all the data (means after passing to form and before closing the form) call one WRITE-FORM with the footer element.
    I'm sure it will work.
    f u r not interested to change the print program. Then simply insert simple code in the footer wondow.
    now insert this code in ur footer window
    IF &TTXSY-PAGE& = &SAPSCRIPT-FORMPAGES&.
    *all code in footer goes here.
    ENDIF.
    &TTXSY-PAGE& holds the page number of current page.
    &SAPSCRIPT-FORMPAGES& holds total form pages.
    This will work.
    write this code then the footer will be printed in last page itself
    /: IF &NEXTPAGE& EQ 0
    whatever footer you want.
    /: ENDIF
    You need to create an element in the MAIN window. You can do it in two ways:
    1. In SE71, you can create:
    /:E FOOTER
    /:BOTTOM
    Text
    /:ENDBOTTOM
    In the print program, just call this element.
    2. In you print program, populate parameter type = BOTTOM in FM, WRITE_FORM.
    Ex.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'FOOTER'
    type = 'MAIN'
    window = 'BOTTOM'
    EXCEPTIONS....
    However, if you issue new page having new header data. Thus, new item data. And if it will exceed more than 1 page, the footer will still appear. To solve this, you need to create a new element in MAIN. Ex. INIT_FOOTER. It just contains the following:
    /:E INIT_FOOTER
    /:BOTTOM
    /:ENDBOTTOM
    Call this after passing all item data.
    reward point if helpful.
    thanks
    mrutyun^

  • How to draw horizontal line at the end of table for multiple line items

    Dear Experts,
                       Pls can anyone help me how to draw horizontal line at the end of table for multiple line items . kindly help me regarding this
    Thanks
    Ramesh Manoharan

    Hi
       I tried as per your logic but it is not solving my problem .  when i am gone to table painter it is showing line type 1 and line type 2
      is below format.. if u see here line type 1 bottom line and line type 2 top line both are same..  so how to avoid this ?
                              line type 1
                             line type 2

  • How to find end of the Page in Crystal ? or I need to add one Horizontal line at the end of the page.--- URGENT HELP NEEDED

    Hi friends,
    I need to add one horizontal line  for the detail section at the end of the page.
    I tried to put that line in page footer and i tried with Box also. Both are not properly working. Some space problem is coming.
    Is there any feature to find end of the Page.
    I want report format like this.
    set id  |  set name |  date  Name
      1         x           dddd   vijay
                            dddd   sarathi
                            dddd    reddy
    (End of the page)
    Thanks in advance...
    vijay.

    Do you know how many detail records are showing up per page?
    If you do - you could create a Details B section that is suppressed except for on Record N (where N is a counter, and N is the last Detail record that will show up on a page).
    The Page footer is indeed built so that it will be rendered at the bottom of your physical page of paper.

  • Printing a Line at the end of a Repeating Frame in Reports 6/6i

    Hi Folks,
         In few of my designed reports I want a horizontal boiler plate line drawn at the end of the repeating frame on each page. The Number of Records property of the repeating frame is set to 0, i.e., depending upon the margin allocated on each page the report should fetch as many records as they can fit in the allocated area of the frame. I have also set the Page Protect property of the repeating frame to Yes, since we want the description of the records to be displayed fully on each page i.e., a record displayed last on a page should have its description on one page and it should not go to the next subsequent page. Now when I draw a horizontal boiler plate line at the end of the repeating frame in the Layout Model and set its property to Print on all Pages, the line in few pages of the report does not print at all and on the rest of the pages it is displayed at its correct position. I have even tried using an Anchor but it still does not work. Do I need to set the property of the anchor or am I missing some basic point here?
    TIA
    Hassan

    Hi there,
    I have tried that but when the records are less in number on a page i.e., 1-2 then the line do prints on each page but there is a gap between the line and the last record.I want that the line should print right after the last record. Should I use an anchor here? But we cannot use an anchor between a line and the margin.
    Any ideas??

  • Horizontal line at the end of page within for each

    I try to do the following with PO :
    When a PO lines take several page to print I want to draw a line at the end of the page.
    <xsl:for-each select=".//LINES_ROW" xdofo:ctx="3" >
    <fo:table-row keep-with-next.within-page="always" keep-together = "always" xdofo:repeat="R">
    <fo:table-cell keep-together="always" xdofo:use-attribute-sets="lc_4" >
    <fo:block xdofo:use-attribute-sets="lb_2 lb_5">
    <fo:inline id="Text12{$_XDOFOPOS}"/>
    <fo:inline id="Text10{$_XDOFOPOS}"/>
    <fo:inline id="Text11{$_XDOFOPOS}"/>
    <fo:inline id="Text5{$_XDOFOPOS}"/>
    <fo:inline xdofo:use-attribute-sets="li_1">
    <xsl:value-of select=".//ITEM_DESCRIPTION" xdofo:field-name="ITEM_DESCRIPTION"/>
    </fo:inline>
    >
    </fo:table-row>
    </xsl:for-each>
    Now when i reach the end of a page I can't draw a line is there a way to draw an horizontal line ?
    Thanks for the quick answer

    Did you ever get an answer to this? I have the same question.

  • My IP7250 is suddenly printing a bright horizontal line at the start of the page and a dark horizont

    My IP7250 is suddenly printing a bright horizontal line at the start of the page and a dark horizontal line at the end.
    Every time the lines are printing in the exact same place.
    it happens mostly when prining involves blue colors.
    the line are approx. 1 cm wide.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • Line at the end of repeat subform

    Hi Adobe experts,
    I have got a situation where in the item table is a subform which i have made it with repeat subform
    The columns of the item table are drawn by lines.
    So for every line item,the horizontal line at the end of the table appears when the subform repeats.
    I do not want the line to appear at the end of line item but only at the end of a page..
    Is it possible to do so ? or we should change the design by using insert table
    Please let me know your suggestions.
    Thanks in advance
    Regards,
    Gowthami SK

    Hello Varun,
    The line is in the end of the subform ( Placed down ),the subform only is for the item table ,so if the line is in the subform ,as the items repeat,the line also gets repeated
    I want the line only at the end of each page when the items get filled
    Regards,
    Gowthami SK

  • SAP Script: Printing the signature on main window at the end

    Hi,
    I am working on a SAP Script (Benefits enrollment form HR_BEN_ENRO).  I copied the HR_BEN_ENRO into ZHR_BEN_ENRO and making the necessary changes without modifying the driver program.
    The problem I am facing is as follows:
    In the main window there are so many Text elements.  At the end of the main window, after the last text element, I have put some text using Include statement.  The last text element is getting triggered for some employees and hence the text underneeth that is printing, but for some employees the last element is not triggering and hence nothing is printing underneeth that.
    Is there any solution to print the this text at the end of main window after printing all the remaining information.
    I also tried using BOTTOM & ENDBOTTOM. But in this case I don't know how to check that I am in last page of the main window.  I tried the following way:
    /: BOTTOM
    /: IF &PAGE& = SAPSCRIPT-FORMPAGES&
    SIGNATURE:__________   Date:__________
    /: ENDIF
    /: ENDBOTTOM
    In this case the value I am getting for &SAPSCRIPT-FORMPAGES& is 0 (zero).
    Any solution..please.
    Appreciate.

    How to link the ZHR_BEN_ENROL instead of HR_BEN_ENRO?
    I mean when I execute the TCODE: HRBEN0001 and select particular employee and click on Print form under Offer Selection area. Then standard program calls HR_BEN_ENRO. How to replace it with Zform?
    Thanks in advance.
    Regards,
    Krishna

  • Little horizontal lines at the left side of the page, printed on the HP Laserjet 4 plus?

    Folks, It seems that when I print to my HP laserjet 4 plus, I see some tiny horizontal lines on the left side of the printed page, spaced 4-5 inches apart, all at the very furthest left side of the page.  Is this something that I can turn off?  Are they some sort of binding marks?  I am printing to this printer via jet direct card, over TCP/IP, from a Windows 7 64 bit PC.  I love this printer, and recently changed out the exit assembly rollers, and now works like it was new.  I also have a 500 sheet drawer and a duplexer installed on it, and I would like to figure out how to get rid of those little horizontal tick marks that show up on the left side of the page.  Any help or assistance is GREATLY appreciated,  Thanks so much in advance!

    Hello  @MattDillon , and welcome to the HP Forums.
    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at HP Commercial Forums.
    I hope this helps!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Print a line on the last or second from last page

    I'm using Oracle Report 10.1.2.3.0.
    I'd like to print a line on the last page of a report if the report has an odd number of pages or the second from last page of a report if the report has a even number of page. It is the later second from last requirement I'm struggling with. Can anyone help me solve this problem please?
    The reason for this is that we are purchasing an envelope inserter that using Optical Mark Recognition (a series of lines on the side of the page). This only reads on the front side of a piece of paper, so when performing a duplex print the marks need to be on the odd page numbers. In this case I need to apply a mark on the front side of the last piece of paper.
    Thanks

    Hi InoL
    Thank you for your response. I have seen similar solutions to this and have investigated them. Although they give you a work around to know the total number of pages in PLSQL, they only give you a way of knowing this once the report has completed formatting the last page. Unfortunately, my requirment is to know when I'm on the second from last page to perform some conditional formatting. I don't think knowing the total number of pages at this stage is going to be possible in reports, therefore I was hoping someone may know a "clever trick" to achieve this.
    Thanks
    Neil

  • LJ 1300 printing horizontal lines and "echoes" every 1.5 - 2 "

    Hi there,
    We have an LJ 1300 (it's older, but **bleep** solid..). 
    It's started printing horizontal lines, almost line a dirty roller, or cartridge. We also get "echoes". So if you print a windows test page, you get the well printed "Windows Test page" at the top, and then a few inches below, a pale/faded copy of the same text. 
    I tried a different cartridge (IT guy at work even let me keep it..HA).  The lines stopped for a few weeks and then started again. 
    I carefully undid all the screws on the outter casing (having unplugged it), so as to expose as much of the rollers as possible, and blew (while outside), compressed air on as many of the rollers and anything in the paper path as possible.
    I also tried the HP LJ toolbox utilities, trying to printer cleaning..I did it 3 times..each time the paper came out white (yes the notes say to do it with a transparency, ..I don't have one on hand). 
    Any idea what the issue is? Another dead printer cartridge???
    Am I better to scrap it and buy another workhorse (P2035?)?
    Thanks

    Hi -
    For the Lines, how far apart are they (in millimeters)?
    For the echoes, how far apart are they (in millimeters)?
    Also, are you using Genuine HP toner cartridges?
    And what type of paper are you using?
    Sorry for all the questions, I'll try to help if I can

  • How doi print Any variable at the end of page in ALV report?

    Hi,
    Anyone can tell me that How do i print Any variable at the end of page in ALV report?
    Exmale: at the ende of alv report i want to print total no of employee who has taken house loan or education loan.

    Hi,
    Go through these links
    Thread in sdn regarding FOOTER IN ALV
    [ALV  FOOTER;
    Wiki in sdn regarding HEADER AND FOOTER IN ALV
    [https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP%20Objects%20-%20ALV%20Model%20-%20Using%20Header%20and%20Footer]
    Header and Footer in ALV
    [http://www.sap-img.com/abap/test-alv-display-with-header-footer.htm]
    Hope this helps.
    Thank you,
    Pavan.

  • How to add a new line at the end of eTEXT file

    Hi,
    I have modified the RTF template for the R12.1.3 Positive Pay File report (IBYPOS_PAY_en.rtf). Everything is good, except that the bank requires a "T" (Capital T) character in a new line at the end of the text file. Has any of you came across this before? How do I modify the template to achieve this?
    Thank you,
    Sinan Topuz

    I believe this is related to BI Publisher. Any comments would be greatly appreciated.
    Thanks,
    Sinan

  • Why do i have a grey thick horizontal line on the bottom of my screen imac

    hello
         I been having a problem with my iMac 21.5 inch mid 2011 since this monday January 7,2014. Theres a grey and some times black thick horizontal line at the bottom of the screen, I cant see my programs at the bottom of the screen. First its black then turns into grey and it starts flickering and then it stops flickering and it wont go unless I turn off my mac or put it to sleep, and then like an hour it comes back again. please could you help me Thank you.

    Hello Armando
    Check out the article below for troubleshooting your issue with the display. There are a few things that can be done, like changing the resolution of the display and also to reset the NVRAM to see if that resolves that for you.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    Regards,
    -Norm G.

Maybe you are looking for

  • I can't open a PDF file stored in dropbox or log in from Firefox. I've tested in Chrome so the files are there.

    I'm creating a funnel for a client and have uploaded a PDF file to her dropbox account. When I test the process in Firefox, I can't log in to her dropbox nor will the PDF file display when I test it from Firefox. When I switch to Chrome, I can both o

  • Duplicate messages in search results (when using Smart Mailboxes, etc)

    I've recently started using Search Folders more and more in Mail.app I've encountered this very annoying bug/feature, where duplicate messages show up in a search (inside Mail). The duplicate messages are showing up multiple times (once, for each Sma

  • SQL Developer  Version 1.5.1 Build MAIN-5440 Imported Connections missing

    I have a problem using SQL Developer Version 1.5.1 Build MAIN-5440. I have successfully imported connections from my previous version of SQL Developer. After I restart, all the connections I have imported has been gone. I tried to import the connecti

  • Who's actually in charge?

    Could someone tell me WHO my administrator is?   I was happily clicking through various parts of Mac OSX 10.6 Leopard discussions when a message suddenly appeared.   "It appears you are not authorised to view this section (or words to that effect). 

  • Display original clip date-time

    I'm using FCPX 10.0 to mount a video whish must display the original clip date-time. I have found a timecode generator, a free TimeDate generators by RippleTraining but no one to simply print the *original* clip date time, as well as I can see on my