Problem in page break of smart forms

Hi Gurus,
I am using smart forms for printing on cheque.  What is the problem i am facing is i have three entries in my internal table which i am passing to the smart forms from my driver program. But In the output i am getting four print outs last one having the details of the previous one.
My logic flows like this,
I have used one loop for main window and have added the command for page break, and then I have read the values for the other windows. I have tried in many ways like counting the number of values in internal table and added that in command but its not working.
Anybody please help me to fix the problem.
Thanks in advance

Hello friend,
If you have a problem of getting one page printed in addition to the other pages then handle the situation as follows,
Try to create a folder and handle this problem or create alternatives and put the page break commands inside it so that you can handle the situation by giving condition in the alternatives.
If your problem still exists please revert back to me i will help you.
Thanks,
Sri Hari

Similar Messages

  • How to achieve dynamic page break in Smart form

    Hi
              1.How to achieve dynamic page breaks in Smart forms.
               2.What are the various table types in Smart forms.
    Regards

    <i>Dynamic page break : </i>
    create a node of type COMMAND and in its attributes check "Go to new page".
    <i>There are Tables and Templates in smart forms :</i>
    Use node type <i>Template</i> to display a table whose layout and size (number of lines and columns) is determined before the runtime of the print program else use <i>Table</i>.
    Take a look at <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf">SAP Smart Forms (BC-SRV-SCR)</a>
    Regards

  • Page breaks in smart form based on condition

    Dear all,
    I want to give a page break based on month in smartform.
    How can i do it.
    Thanks In advance.
    Regards
    satish.

    Hello,
    sorry for the delayed response,
    1. Please put MAIN window first in the hierarchy. Then if you have other type of windows in your SSF will come. This is done to avoid the extra page in the output.
    2. In the end of the the main window, you can create an 'Alternative' node type for page break to check the month where you need a page break, if true, you create a 'Command' node type under 'True'. In the general attributes of this 'Command' node you check the 'Go to New Page' Option.
    I assume that you are working on SAP 46C
    Let me know how this goes about. Hope this helps you.
    Best Regards, Murugesh AS
    Message was edited by: Murugesh Arcot

  • Page Break In Smart Forms

    Hello Expert,
              while print invoice form on continuous stationary first page comes accurate but the next page  print start  before the line .
    Thanks in Advance.
    Annasaheb.

    Hi
    References
    1) http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    2)http://www.sap-img.com/smartforms/smart-006.htm
    This will be of help to you.
    Regards
    Shan

  • Issue tabbing across page breaks in dynamic form

    Hi all,
    I have a strange problem that I'm having trouble getting to the bottom of, relating to my dynamic form.
    This form grows and shrinks depending on how the user fills it out.  I have a questionnaire section where certain questions are hidden or shown depending on previous input.
    Things get interesting when I look at the tab order.  Sometimes when tabbing forward or backward across page breaks, the focus lands on a spot that I cannot identify.  There will be no cursor and I can not type.  However if I continue to tab in the same direction, I can see that it is still going in the correct sequence.  It just looks like for some reason, in those places, focus is put in the wrong component.  But if I type different input into the prior fields (ones that affect the length of the pages) that causes the field to move to different place where it's not adjacent to a page break, and then tabbing to the field in either direction works fine.  It seems that only when it's beside a page break, it becomes problematic.
    Also, it only seems to be a problem if the field gets moved to be adjacent to a page break AFTER the form is initially rendered.  If the field was originally beside a page break by default, then it seems to work fine.
    Just to rule out a possible problem with the tab order configuration, I set my from to Automatic tabs, and even went as far as removing all the <traversal> elements from the form.
    After doing either of those things, the problem still persists.
    Has anyone seen this before?

    Hi Eric,
    I have seen funny behaviour when tabbing within Preview in LC Designer. It may be picking up a read-only item in the Master Page.
    Good luck,
    Niall

  • PAge Numbers in Smart forms

    Hi,
    I m trying to print the total number of pages in the smart forms using the system field SFSY-FORMPAGES. This is showing from page 10 and in the previous pages it is shown as *. Kindly help me on this.
    Thanks.
    Ashok

    Hi,
    Maybe there is an issue in the display of the page number. Rather than passing the sfsy-formpages to the text element directly, declare a global variable, and assign it the sfsy-formpages. then use this variable in the text element.
    data: v_page like sfsy-formpages. "declare in global definition
    move: sfsy-page-formpages to v_page.
    Also, try increasing the width of the window displaying the page number.
    Regards,
    Zaheed

  • Tcode for creating new page size in smart forms

    dear friends ,
    can any one tell me the tcode for creating new page size in smart forms.
    thanks&regards
    veerachamy

    page formats?
    check in SPAD.
    Regards
    Prabh

  • How to use At New Cntrol Break in smart form LAyout

    Hi all respected seniors and experts.....
    I am facing one problem in smart form I am creating layout for Tax Invoice in that I want to display in Header area "ARKTX" Short text for sales order item and sum of quantity "FKIMG" and Rate "GKBETR" and Gross amount after multiplying of FKIMG and GKBETR with respected to cheking Rate "GKBETR" and "ARKTX " .
    Rate is changing for diffrent documnet no. e.x VBELN .....
    means some time for changing of every  VBELN  rate is different "GKBETR"
    so i want to print the same RATE's quantiy on one page and changing of Rate should print on next page onwards .....
    and details of quantity with all diffrent vbeln should display on Body of layout....
    I think it will solve by using At New control break .....but can any body tell me what is the exact solution of this problem
    Thanx in advance

    Hi,
    Please check this link ... and please ensure you sorted the internal table prior to use the control break events (at new and at first).
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9f1f35c111d1829f0000e829fbfe/content.htm
    Regards,
    Ferry Lianto

  • Need Urgent help to control extra page (Last page) display in Smart forms

    Dear all,
    I have supplier data in Header and corresponding line item data in another internal table.
    I am passing both to my smart form. I am using loop in Main Window with both the internal tables linked with GUID field.
    I am having 2 problems with  smart form output.
    1. One more extra page is displaying at the end (With header and footer but without data).
    2. when Data in a particular page exceeds, Next page is not having Header and Footer..Only data is displaying without Header and Footer.
    Can any one help ...
    Regards,
    Srini

    Dear all,
    I have supplier data in Header and corresponding line item data in another internal table.
    I am passing both to my smart form. I am using loop in Main Window with both the internal tables linked with GUID field.
    I am having 2 problems with  smart form output.
    1. One more extra page is displaying at the end (With header and footer but without data).
    2. when Data in a particular page exceeds, Next page is not having Header and Footer..Only data is displaying without Header and Footer.
    Can any one help ...
    Regards,
    Srini

  • Problems with Page Break in an Interactive Reporting report

    Hello everybody,
    Platform: Hyperion System 9.3.1.
    I have serious problems in managing the 'page break' in an Interactive Reporting report.
    The report shows sales data by store, with article and colour details and it is organized like this:
    group 1: geographic area
    group 2: country
    group 3: city
    group 4: store
    columns: article, colour
    facts: quantity, price, value
    My client's request is to perform a page break at the store group level, meaning that apart from the first store occurance, any change in the store value shoul start a new page.
    The requested result is like this:
    page1: geographic area1
    country1
    city1
    store1
    data store1...
    page 2: store2
    data store2...
    page3: store3
    data store3...
    I tried several combinations of using Break After and Break Before on the store group, with Keep Next / Keep Together and it was impossible to obtain the desired result.
    If I use Break Before the result is as follows:
    page 1: geographic area1
    country1
    city1
    page 2: store1
    data store1...
    page 3: store2
    data store2...
    If I use Break After the result is as follows:
    page 1: geographic area1
    country1
    city1
    store 1
    page 2: data store1...
    store 2
    page 3: data store2...
    even if I specify 'Keep with next' or 'Keep together' for store group and the store data table.
    Any help will be very very appreciated because I've been trying for weeks to figure out this issue.
    Daniela

    First start without using any of the Keep with Next and Keep together.
    Second. try putting the Page Break in the Group Footer. You do not need to keep it visible
    Then you may want to repeat headers on Store in case the Store's Detail rolls onto next page
    Hope this helps
    Wayne

  • Problems with page break

    I have a report that is group Row by Land then for each current group by Parcel. So in other words this report is group by Land number and within each land number are the parcel details for this land. My problem is when the next land number with the detail portion of the land number cannot fit all on the same page, I want it to go to the next page. Is there a way to programatically find the number of lines on a current page and when there is only a certain amount of lines left to have it go to the next page? I am using this logic now for my page break and it doesn't work like I want it to:
    <?if@row:position() mod 7=0and position()!= last()?><xsl:attribute name="break-before"xdofo:ctx="incontext">page</xsl:attribute><?end if?>
    Plus for some reason I get a blank page for page 5???
    Anyone that may have any suggestions for me will be greatly appreciated.
    Susie

    hi
    you have to write
    <?split-by-page-break:?> syntax before the <?end for each?> of the parcel group.
    the o/p wouldn/t contain any blank page.

  • Problem with Page Break In ALV Report

    Hi
    I have got a problem in my ALV report. I have a checkbox in the user input screen where users decide whether they want a page break or not in the print preview (or print) page. Now i also have the option to have layout name in the input screen. so If i leave the layout box empty the check or not check of page break works fine. but if use a save layout name in the layout box the add check box doesn't work anymore. If i have a layout name in the layout box it doesn't matter whether i have checked for page break or not it does the same thing.(in one report it always puts the page breaked)
    Any ideas where to look for the error?
    here is the code for the page break. Opt5 is the check box.
      perform build_sort tables pt_sort changing ls_sort.
      ls_sort-fieldname = 'PERNR'.
      ls_sort-subtot    = 'X'.
    IF OPT5 = 'X'.
       ls_sort-GROUP = '*'.
      ENDIF.
      append ls_sort to pt_sort.
      ls_sort-subtot    = ' '.
      ls_sort-GROUP = ''.

    Never mind it was acting like the page break was not working because the layout was saved with the page break on/OFF.

  • Linking 3 pages in a smart form.

    Hi!
    I have created a smartform with about 5 tables in the main window. I need three copies of the same form with only the signatories at the bottom changing. U can say the last two rows of the last window in the smart form. Rest everything will be exactly the same. I created two pages and copied the details from the first page. Just the last window I have freshly created on each page. Now I am not able to link the three pages. Please suggest.
    thanks,

    Hi,
    To link the pages just do like this,
    right click on your main window of firts page,
    select create,
    select flow logic,
    select command,
    here in general attribute tab enable go to new new page check box, in the input give the your second page name,
    then for third page do same as above,
    finaly save and activate.
    seshu.

  • HTML to PDF conversion - problems with page-breaks and bookmarks

    Hello,
    My company is currently considering updating your software (from Acrobat 9 Pro to Acrobat XI Pro) and I’ve been assigned to research its features and make sure that it is a right fit for our goals. Basically we want to automate the whole process as much as possible and we want to create PDF directly from HTML. We’re providing a lot of content in HTML and we need a fast way to transfer it into PDF format. There are however some guidelines:
    We want page-breaks in is this kind of documents, and thus - your app needs to be able to interpret HTML and put them where we want to;
    We need to have bookmarks in there. Converter must be able to make them based on headlines from HTML source or afterwards, directly in PDF by using some auto-bookmarks feature;
    There has to be table of content generated, based on HTML Link Tags if possible. Here’s sample of TOC structure that we have currently:
    <A NAME="redirect">sample_text</A>
    <A HREF="#redirect">sample_text</A>
    Of course we can modify HTML in any way you want us to. The important thing for us is to make it work in PDF without the need to make a lot of manual changes after conversion.
    I’ve been messing with Acrobat 9 Pro and reading some documentation that you have provided and I’m convinced that point 3 is not a problem. I’m aware that Acrobat 9 Pro is not having any difficulties with links in document and they work fine in PDF format that has been created from HTML.
    Page-breaks on the other hand are bothering me. Your app is apparently ignoring every HTML code that the Internet is advising me to use to force page-break where I want. Honestly - I’ve tested like ten ways to make them and not even one was working. That’s why I’m asking for your help.
    Another problematic subject for me is the bookmarks creation. I know that they are not a problem if I’m doing DOC to PDF conversion. Then I’m able to decide what header should be used as a curtain level of bookmarks and everything is working great at the end. However - with direct HTML to PDF conversion - I really don’t know how to generate bookmarks that are based on the source of the input document. Is there any way to make fully working 2 level bookmark tree in this case? Here’s an example of the structure we want at the end:
    header1
    header2
    header2
    header1
    header1
    header2
    Could you please help me in finding the solutions? Just like I’ve mentioned - we can modify input HTML in any way, but in the end we would like to achieve our goals as quickly as possible.
    Please excuse my English.
    I am looking forward to your response,
    Lucas

    Frankly - we would like to avoid using Word. We are using it currently but there are long-term plans of improving whole conversion process, eliminate any mid-steps and automate as much as possible even though conversion is not going to be done unattended on a server. Thank you for your response, but I hope that maybe someone else would have any idea?

  • How to change the page break in adobe forms

    Does anyone know how to change the page break on an adobe form?  I'm hoping it will be the same way you change the page view in excel.
    Can anyone help?
    Thank you in advance,
    Priscilla

    HI
          YOU CAN USE THE FOLLOWING SYSTEM FIELDS OF SMARTFORMS FOR THE MENTIONED PURPOSE
    <b>&SFSY-PAGE& </b>
         Inserts the number of the current print page into the text. You determine the  format of the page number (for example, Arabic, numeric) in the page node. 
    <b>&SFSY-FORMPAGES&</b> 
         Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output
    <b>&SFSY-JOBPAGES& </b>
         Contains the total page number of all forms in the currently processed print  request.
    REGARDS
    ANOOP

Maybe you are looking for

  • Zen Vision M track t

    I have the latest firmware installed on my 30 Gb Vision M player. Even though I have verified that all my music has the proper track ID tags on my PC, they do not show up properly on the M. They are usually displayed as Track 0 on the Zen, but for so

  • Standard Business Content - Loan Management & Term Deposit

    Hi ALL, I would like to does anyone has used Business Content Cubes on Loan Management & Term Deposit and its report, please advise me which cube appropriate Thanks BR Nathan

  • Bug? How to add text maxField width

    Came across an abnormality when passing values to a page's text field when branching to it. The defined size for the text field is ignored when returning a filed/value pair when branching to the target page. Caught me out when passing a 7 char value

  • Processing Pattern task runs multiple times

    I am trying out the processing pattern with some long running tasks. The tasks are submitted by the first node in the cluster to start up. I seem to see multiple copies of my task running as I start up other nodes in the cluster. It would appear that

  • Jar not  available

    hi,    i want to upload a par file but when i am trying this i am getting error as some jars are missing. but those support jars are available inside the par file itself .. how to resolve this