on 02-15-2010 11:15 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
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
Nick is right, please check whether you have mentioned the next page as second page name in general attributes tab of first page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.