cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict second page

Former Member
0 Kudos

Hi,

In one of the smartform printing, the second page is blank but still it comes. How can I restrict the blank page so that only one page should display.

Regards,

Jeetu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hard to guess where it comes from since there can be various reasons for it.

But most probably you are printing some empty lines with paragraph formats not having tagged the option "no empty line".

This leads to the main window overflowing due to empty lines.

He then prints those overflowing empty lines to next page.

Since they are empty you cannot see them, but all the other stuff that is on next page and not in main window.

Former Member
0 Kudos

Hi ,

Thanks for ur reply. But there is not main window defined on page1.

Former Member
0 Kudos

ok, we got no main window in page 1, check.

Do we have a secodn page declared? and may this second page be set as sucessor page of first page?

If thats as well not the case, we may have a manual trigger of a new page.

Check for command nodes in SMARTFORMS or NEW-PAGE Commands in SAP-SCRIPT

Former Member
0 Kudos

You can try using COMMAND to restrict the second page.

There in the conditions tab you can provide the condition.

Regards,

M

Former Member
0 Kudos

Hi Jeetu,

I am not sure if this is the case but can you check with a Main window in the first page...?

Regards,

Krishna Chaitanya

Answers (1)

Answers (1)

Former Member
0 Kudos