Hi Srikant,
check these points, you might have missed some points, otherwise you will not got any error
or dump, anyhow these are the checklist you have to match with.
1. Make 2 pages having a secondary window in both, all the properties of main window
in both the pages should be same.
2. I am supposing that, both of your pages having same contents, if it is ok
then in the properties of First page put next page as PAGE2. (Keep mode as increase counter).
3. When the data in the main window ends, put a command node and in the general properties
check the go to new page and in the box put PAGE2., and in the condition tab of the command
node give the condition for which you wants to trigger your second page.
i.e, after how many data you wants to trigger your second page.
4. Afer the comand node put all your elements for the second page, when its contents gets filled
again put a command node, in the general properties of this command node, keep check box
blank, and in the conditions tab write your conditions, at which you wants to display your data.
i.e, for how much records you wants to show in this page,
Generally it is done by using
COUNTER <= LT_COUNT.
where lv_vount will be the no of records, in your internal table
you have to provide a code within your main window in first page as shown below.
Write your code logic as (In the global definition tab of smartforms, declare lt_count
and counter are of type i )
DESCRIBE TABLE IT_BID2_TEMP LINES lt_count.
COUNTER = COUNTER + 1.
5. In the properties of second page keep the next page as itself , Next Page = PAGE2.
This will definetaly solved your issue.