Skip to Content
author's profile photo Former Member
Former Member

Page Break

Hi all.

I am showing a purchase order in smartform and i want 5 line item on every page ..after that i need a page break plz tell me the logic for this....

Regards

Lalit

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 21, 2007 at 01:17 PM

    Hello,

    To insert a page break in smartform, you need:

    1. Create a command in the page. Create --> Flow Logic --> Command

    2. This command should go at the end of the corresponding page.

    3. Double-click the command, in 'General Attributes' tab, select the checkbox 'Go to New Page', here you select the next page to jump.

    I hope it will help you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 21, 2007 at 01:27 PM

    Declare a program lines in the loop of main window

    after printing all the data,then declare a count variable and keep on incrementing.

    if c_count > n

    then create a textelement and write

    &SFSY-PAGEBREAK& .

    REward if useful.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi, this is the flexible method than the previous one.

      1. Create a command in the page. Create --> Flow Logic --> Command

      2. This command should go at the end of the corresponding page.

      3. Double-click the command, in the 'Conditions' tab Give

      sy-index > n.

      i n 'General Attributes' tab, select the checkbox 'Go to New Page', here you select the next page to jump.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.