cancel
Showing results for 
Search instead for 
Did you mean: 

smartfrom - nextpage problem

Former Member
0 Kudos

I have 2 pages in a smartform

first_page:

with a main window containing template and normal window with temple

second_page

with a main window containg template

I had specified next page as second_page for frist_page

and

I had spedified next page as second_page for second_page.

the problem:

When i generate the function module and press f8 to test it. it is showing up only frist page only and the second page.

Why is it happening ? what should i do to fix it?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

if u want to display second page always ... in the last window of first page create a command node....

set the command as move to next page ....

Former Member
0 Kudos

I had placed the command after the main window and i could label to see the second window BUT the problem is that I can not see my template3 know in the second page. what is the problem with it?

does some thing needs to be changed?

valter_oliveira
Active Contributor
0 Kudos

and i could label to see the second window

So, the next page is now appearing but empty, is that it?

Templates 1 and 3 are in both MAIN windows, right? Template 3 can have a condition to print only in second page. Also, did you insert the command before or after template3 (in page one)?

Regards,

Valter Oliveira.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If the data filled completely in fisrt page and remaining data going to second page then only the Second pae will print other wise it will not.

other wise you have to put COMMAND node to put explicit page break.

valter_oliveira
Active Contributor
0 Kudos

The second page will only be called in two cases:

1 - The lines of MAIN window don't fit the height you defined for it in first page (which means a big itab in your template)

2 - you implicitly create a PAGE_BREAK command

Regards,

Valter Oliveira.

Former Member
0 Kudos

in the frist page - template1 and template2 are being used as labels

in the second page - template3 is also being used as labels

there is no question of these templates expands.

note - template 1 , tmeplate2 and template 3 are different templates and i need them to dipslayed when i generate the function module and press F8 to see the preview. Before this is configured to the original print program.

Former Member
0 Kudos

Hi,

Then you have to call the second page dynamically by putting COMMAND node.

valter_oliveira
Active Contributor
0 Kudos

If you allways want a second page, must create a command node like:

Go to your MAIN window->click mouse right button->Create->Flow-logic->Command->Mark next page command.