cancel
Showing results for 
Search instead for 
Did you mean: 

Display multipe pages

Former Member
0 Kudos

Hi Experts,

I want to display 4 static pages in the print preview of smartform. all the four pages have different contents and different windows. The data in the main window also does not flow to the next page.

I want to display 4 different pages one after the other. Though i have created 4 pages, they are not getting displayed one after the other.

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Click on Page1 then you can find 3 tabs.

On First tab you can provide next page name in NEXT-PAGE Box.

Former Member
0 Kudos

I have already done that yet it does not display the next page. I have created 4 pages and for each page i have given the next corresponding page , but it does not display.

former_member205763
Active Contributor
0 Kudos

check in debug by putting a breakpoint in each page and see if it goes to next pages or not.

Former Member
0 Kudos

I tried putting the debugger in all 4 pages but it does not go in the 3rd and 4th page. For all the 4 pages i have mentioned the corresponding page no. In the main window of each page i have created a command and in general attributes tab i have mentioned Goto next page as the corresponding next page, yet it does not work.

Now if i remove the command from the main window then the 2nd page also does not get printed.

Former Member
0 Kudos

Hi,

If you have a main window in every page then you need to give a command line window in the main window and give the option next page as the second page and so on..

you should not create a new main window for each page.

check this wiki.

[Main window in page 2|https://wiki.sdn.sap.com/wiki/x/bAZqBg]

here what ever you have in the first page main window will be reflected in all other main windows but will not be displayed in all the pages as we mention a command line window.after ever text window.

or

You said your main window does not flow, change the main window to variable window in the second, third and fourth pages so that your content will be displayed, this will resolve the issue.

Thanks&Regards

Sarves

Former Member
0 Kudos

yes it is very true that my form does not have a main window. but if i create a page without a main window it says that a page with no main window cannot point itself as next window.

And also how to give the variable window.

Former Member
0 Kudos

thanks a lot

the problem is solved . spl thanks to Sarves.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Check whether ur Print Program is calling the FORM or not in debug mode.

Rgds,

Pavan

Former Member
0 Kudos

well you need to edit the "NEXT-PAGE" parameters of your pages.

Former Member
0 Kudos

Can u please tell the settings how do i do it??

Former Member
0 Kudos

Hi,

In general attributes of pages give next page.

for page1 give page2

for page2 give page3

for page3 give page4

regards,

Thilotham.