cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove printing of page 2 on smartforms

Former Member
0 Kudos

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 😃

Accepted Solutions (1)

Accepted Solutions (1)

former_member195383
Active Contributor
0 Kudos

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....

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi,

Check this link it will be helpful

Regards,

Nisrin.