cancel
Showing results for 
Search instead for 
Did you mean: 

Explicit Page-Break in Main window not working

Former Member
0 Kudos

Hello,

I have created Smartforms with three pages

FIRST_PAGE -->calls NEXT_PAGE

NEXT_PAGE -->calls NEXT_PAGE

LAST_PAGE --> "Hard-coded terms and conditions in templates"; No MAIN Window.

The MAIN WINDOW of FIRST_PAGE and NEXT_PAGE I have a table defination which prints item level data. I require that once all data is printed in the MAIN WINDOW i.e. After ENDLOOP of the internal table, I should than explicitly go to LAST_PAGE.

I tried giving the COMMAND with "Only after end of main window" after the table defination. But that is somhow not working. I know COMMAND can not be done in a loop, which I am avoiding.

Any insight would be helpful

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Remove the condition for 'Only after end of main window' in your Command Node. Since you have the command within the main window after your loop (which is correct), you are still in the main window when you get to the Command Node, therefore it will never execute.

Former Member
0 Kudos

Thank you. It works now.

Answers (1)

Answers (1)

Former Member
0 Kudos

hi DIVYA,

My suggestion to include the terms and conditions in the next page itself.

at the end of item details you can call another element for terms and conditions

or else you use protect and end protect in your script for displaying the line items

or you can use bottom end bottom.

I guess this should solve your problem

Thanks

Venki

Former Member
0 Kudos

Thank you for your reply.

Could you please elaborate on how to use BOTTOM/END BOTTOM. I have created another window for Terms and Conditions that overlaps the MAIN Window in FIRST_PAGE and NEXT_PAGE.