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

How to remove printing of page 2 on smartforms

Hi,

I have two pages on smartforms, the 1st page contains the customer letter

and the second page contains the table of articles placed on the main window.

If the internal table passed has no rows page2 is still

being printed with blank or no data.

What would I do to remove the second page.

thanks in advance =)

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Aug 05, 2008 at 11:00 AM

    create a program line in ur main window....

    there use the following.....

    describe table itab LINES wf_lines1.

    then..

    make use of Command in the main window of 1st page...there put the go to new page as page 2.

    and put a condition over thr....wf_lines1 > 2

    may this will help you....

    Otherwise...while printing...u have an option to select the page that u wanna print...u may use that as the last option....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 05, 2008 at 11:29 AM

    Hi,

    Check this link it will be helpful

    Explicit Page Break in Smartforms

    Regards,

    Nisrin.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 05, 2008 at 02:55 PM

    in the conditions tab of the main window of the 2nd page , give the condition

    itab is not initial.

    where itab is ur internal table.

    Add a comment
    10|10000 characters needed characters exceeded

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.