cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to see the next pages in smart form

Former Member
0 Kudos

in my smart form i designed 3 pages...

in the first page i don't want data in main window...but i gave the main window dimensions as in 2nd and 3rd page(same height and width)...

in 2nd and 3rd page i want to display the data in main window...

but when i am trying to see the output i am able to see only the first page ...

Please suggest me the suitable solution..

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Use command node to navigate to second page.

i.e in main window create a command node and in next page give page 2

without command node it will not show next page.

Next page will be printed only if the data is overflow in main window of first page.

Otherwise we have to use command node.

Right click in main window

Create-> Flow logic---> command

Then check the go to new page check box.

and give the next page there.

Edited by: Richa Wahi on Feb 15, 2010 12:21 PM

Former Member
0 Kudos

Hi Richa,

thanks for quick reply...

now i am getting the second page...but it is coming as blank...please suggest me how can see the data in second page..

another question---how trigger the third page..where i need to the command?

Former Member
0 Kudos

Hi,

You've originally said.

in the first page i don't want data in main window...

yet using a command node to trigger the next page means you have to include a (presumably) empty main window in the first page.

Your main window has to contain some output (a table usually) and it's contents are the same on every page (only it's height can change). So, you can't have a blank main window on page 1 and a main window with data on pages 2 and 3.

Remove the main window from page 1, set page2 as the next page for page 1.

As for how to trigger page 3 you'll need to provide more detail on what the condition is. Do you want multiple copies of page 2 to hold all of the main window data, or just one? Do you want one copy of page 2 then the rest of the data on multiple copies of page 3. Be specific.

Regards,

Nick

Former Member
0 Kudos

Hi

use command node at second page also at the main window.

For data display use the sequence.

1. Create one main window at page 1

2. Copy the main window to page 2 and page 3.

In main window

1.First create command node and give 2nd page as next page.(Command node should be first)

2. Display data which u want to display for second page. (Logic of second window)

3.Again create command node and give third page as nex.

4. Data of third page

This logic is only for main window and whioch is common for all three pages.Main window will be same for all pages

All other windos you can display as you want.

Edited by: Richa Wahi on Feb 15, 2010 1:05 PM

Former Member
0 Kudos

Hi Nick..

In my first page i need to display static data...

in second page i need data from internal table 1

in third page i need data from internal table 2...

this is my criteria..

can we see output without empty main window in 1st page?

please suggest me..

Former Member
0 Kudos

Hi,

I would do the following;

PAGE1 - static text only, no main window, next page PAGE2

PAGE2 - Main window to display data from internal table 1, next page PAGE2, trigger PAGE3 at the end of the main window using a command node.

PAGE3 - Main window to display data from internal table 2, next page PAGE3.

You are essentially using two different main windows, so this won't work if you're on release 4.6. It has the advantage that the main window on pages 2 and 3 can be different widths.

There are other ways of achieving this, but I wouldn't put a main window on the first page just for the purpose of triggering the second, it's just not necessary.

Regards,

Nick

former_member217544
Active Contributor
0 Kudos

Hi Nandu,

Is there any particular reason for using main window in page1?(even thoguh you dont want to display data in that)

Regards,

Swarna Munukoti

Former Member
0 Kudos

Hi Nick..

I have done as follows..

i removed the main window in 1st page...

2nd page next page ---2ndpage

in the 2ndpage after table footer-i put the command as ...go to next page-page3

upto 2nd page its ok...

but page3 not triggering please suggest me?

Former Member
0 Kudos

Hi,

I've created a prototype of what I suggested, and it is triggering the third page, but not processing the main window in that page.

You could combine your two main windows into one and put the command to trigger page 3 between the processing of the first internal table and the second (similar to Richa's suggestion).

I'll look into why the second main window doesn't process and update the post if I get any success.

Regards,

Nick

Update: It looks like even though the editor will let you create multiple main windows in a smartform only the first one gets processed (Even the online help for Netweaver 7.0 says only one main window is allowed). You'll have to use one main window with two tables and a command between them to satisfy your requirement

Edited by: Nick Young on Feb 15, 2010 1:27 PM

Former Member
0 Kudos

Hi Nick..

I didn't get the update which you have sent..

Could you elaborate?

Former Member
0 Kudos

Hi,

In summary it is this; Smartforms lets you create multiple main windows, but will only process the first one.

So, your solution is to use one main window like this;

PAGE1 - static text only, no main window, next page PAGE2

PAGE2 - Main window, next page PAGE2.

PAGE3 - Main window, next page PAGE3.

Main window structured as follows;

Table to process internal table 1

Command node to trigger page3

Table to process internal table 2

Regards,

Nick

Former Member
0 Kudos

Any way i am not getting layout as per my requirement...i will try my best to get this...

Thank you nick for your elaborated explanation...

Former Member
0 Kudos

Hi All,

one of my friend suggested me to put the 2 tables into 2page main window..

in this case how can we split the main window to new page with the 2nd internal table data?

Please suggest me...

Former Member
0 Kudos

Hi All,

one of my friend suggested me to put the 2 tables into 2page main window..

in this case how can we split the main window to new page with the 2nd internal table data?

Please suggest me...

Answers (2)

Answers (2)

Former Member
0 Kudos

Nick is right, please check whether you have mentioned the next page as second page name in general attributes tab of first page.

Former Member
0 Kudos

Hi,

What is the 'Next Page' you have set for the first page? It should be the name of the 2nd page, not blank.

This should be enough to trigger the second page once the first is complete.

Regards,

Nick