cancel
Showing results for 
Search instead for 
Did you mean: 

How to link Multiple pages in smart forms?

Former Member
0 Kudos

Hi experts,

am creating one smartform in that i have 4 pages each page is different from the other.

am linking the pages as

for page1 -


next page = page2

and create a command on main window in that go to next page(checked) page2.

similarly all the pages i have given

for page2 -


next page = page3

and create a command on main window in that go to next page(checked) page3.

but in output am getting only 2 pages only

will u help for this.

thanks and regards

taj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

If the several pages are set as next page of the previuos one, the smartform will triggered them automaically as soon as the data of main are too uch to be place in single page.

So if you always need to print all page, you have to insert the command to skip to the next page, but it important where youl'll place these command in the main

Max

Former Member
0 Kudos

Hi max,

yes i created command in all pages main window

in page1

mainwindow1

command(in mainwindow1)

page2-mainwindow2-command

like this in all 4 pages i have given

but not getting the output of 4 pages

only getting the 2 pages

those are first page and the page that is connected to first page either it is 2nd or 3rd or 4th

how this am not getting the solution.

help me

thanks

Former Member
0 Kudos

Hi

The main should be the same for all pages, so it depends on where you've placed the command to skip to the next page.

For example I've created a simple smartform having 4 pages, in every page I print the page number, the flow in my main is:

TEXT1 ( It writes "Page 1")

COMMAND TO SKIP TO PAGE2

TEXT2 ( It writes "Page 2")

COMMAND TO SKIP TO PAGE3

TEXT3 ( It writes "Page 3")

COMMAND TO SKIP TO PAGE4

TEXT4 ( It writes "Page 4")

So in page1 my smartform will run TEXT1 and then the command to skip to the page 2, in page 2 it'll run TEXT2 and then the command to skip to page 3 and so....

The result will be to print 4 page

Max

Former Member
0 Kudos

it is ok but in each page i have multiple windows

so how process this.

Former Member
0 Kudos

Hi

Try to place the main as last window

Max

Former Member
0 Kudos

HI sir,

before posting my question in to forums i did all these things

created command last in each page even though it is not coming.

is any other conditions for this.

thanks for u r response.

Former Member
0 Kudos

Hi

I think the problem is how you've arranged your smartform, where the commands are in the main , where the main is in the page

Let's know how you've arranged your smartform

Max

Former Member
0 Kudos

Hi sir,

my form designing like this

page1

page_no_window

title window

date window

address window

text window

main window

in main window command

page2

top_window

bottom_window

text_window

main2 window

like this 4 pages i have created

at last only i kept the main window and the command

but not getting.

Former Member
0 Kudos

HI sir,

one of my friend told me that if u r not getting 4 pages using command

then create another smartform and create those remaining pages in that call the form after the first form

is it correct procedure to follow this.

Former Member
0 Kudos

hI

No because I've tried to create a sf with 4 pages and it works fine

Have try to check if the commands are triggered?

Before the command try to insert an abap node and insert a break-point

Max

Former Member
0 Kudos

k sir,

i will try.

u tried with different pages or same pages

Former Member
0 Kudos

different pages but with the same main window

Max

Edited by: max bianchi on Nov 8, 2010 11:28 AM

Former Member
0 Kudos

Thanks sir

i got the output.

Answers (0)