cancel
Showing results for 
Search instead for 
Did you mean: 

New page in Smartform

Former Member
0 Kudos

I am working on a smartform issue... Currently the smartform has 2 pages.. ( 2nd page will be printed only if the main window extends beyond.. 1st page.).

Now I have to add one more page (3rd Page)... which needs to be printed whether 2nd page is printed or not. How can i achieve this...

Thanks.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Alexander,

Create pages as per your requirement.

In the global defintion --> initialization tab -->

Based on conditions print the data

if w_page = 1.

control_parameters-startpage = '%PAGE1'.

else.

control_parameters-startpage = '%PAGE2'.

ENDIF.

Regards,

Sravanthi

Former Member
0 Kudos

Hi,

If your third page is to be printed as a end page, after that all logic in main window is completed, you can add a command last in you main window to go to this 3rd page

Åsa Thenstedt

Colada AB

former_member188005
Contributor
0 Kudos

Alex,

You can create the new page after the first page . So the smartform will have PAGE1 and PAGE2. If the output data in PAGE1 main window exceeds then it goes to the NEXT PAGE of PAGE1 and then completes the PAGE1 output and then Goes to print the PAGE2 whcih you have defined.

Just create the 2 pages and process the form.

Regards..

Former Member
0 Kudos

Is the order really important? Because you could print the third page in first place, and then print the first an second(conditional).