‎2014 Jun 13 8:54 AM
Hi Folks,
I have a scenario in SMARTFORM in which i have 3 pages....
First page is with a main window with a table to display some data.
Second page is with secondary window with some data in int.
Third Page is again a different main window with a different table data in it.
Now my issue is ....Iam unable to call the page3...
I tried by General properties of Page2 and giving the next page as Page3 ( not working)
Tried with command node by gave the GO TO NEW PAGE : PAGE 3 ( not working)...
Please help me in resolving the issue...
Thanks in advance..
‎2014 Jun 13 11:40 AM
Hi Reddy
Smartforms only allow one main window in a single form. If every page have a main window, the second main window of second page will not display. If one page have multiple main window will run time error.
So, maybe you can create two smartforms,when print, combin this two to one.
regards,
Archer
‎2014 Jun 13 11:40 AM
Hi Reddy
Smartforms only allow one main window in a single form. If every page have a main window, the second main window of second page will not display. If one page have multiple main window will run time error.
So, maybe you can create two smartforms,when print, combin this two to one.
regards,
Archer
‎2014 Jun 13 1:02 PM
Thanks for your quick reply Zhang
You have cleared my several doubts about main window in a smartform... Reading so many documents did not help me, but your answer gave me a clear idea of main window in smartform...
So finally the conclusion is , A smartform can have only one main window...
Thanks
Reddy
‎2014 Jun 13 1:55 PM
Yes sure, you can have only ONE main windows either in SMARTFORMS or SAPSCRIPTS, which are the same but they differ only in the development point of view and for some details even in the graphical point of view since SMARTFORMS are the recent ones used for creating FORMS.
The other page, are the following data which does not fit just in the first page and they will fit on the NEXT pages with the SAME TEMPLATE you choose on your main window.
The idea is that you create your template (a 1 page template) and then you can create your logic in order to let you decide what to put as CONTENT in pages, you can put a logic to say "BYE BYE" if the PAGE is the LAST ONE, or you can put "HELLO" if the page is the first one, but in order to achieve that, you must have good practical knowledge in creating SMARTFORMS (in that case).
So, start writing them and creatin objects within them
Denis
‎2014 Jun 13 2:32 PM
Hi,
Not sure, if this is unnecessary remark, but... yes, one Main Window per SF, but the Main Window may of course span over several pages, and may have different height, positioning, shading and borders on each of those pages... Something like this, produced by SF in attachment:
cheers
Janis
‎2014 Jun 13 2:07 PM
Hi Reddy,
As per my understanding you want 2 main windows in same smartform because you have the requirement to call next page (same page ) if data is more then the window size ( at run time ).
For this issue we have one more work around other then creating 2 smartform .that by counting the number of records we can increase the PAGE-NO ( Smartform system parameter ) by 1.
So it will show the remaining records in next page.
Thanks & regards,
Susheel Joshi