Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger next page in smart forms

Former Member
0 Likes
925

Hi Experts,

I need some adivce regarding this:

IN my first page main window i will display data in 3 columns ( each row of internal table will go in to a column).

If my internal table has more than 3 rows, i need to trigger next page and display only the main window with the same three columns ( This should continue triggering till the end of records in my internal table).

Can any one suggest me how i can accomplish this.

I know we can force the main window table to be filled up and trigger next page. Here i do not have any table to repeat lines etc.,

Thanks in Advance

Hi Experts,

I need some adivce regarding this:

IN my first page main window i will display data in 3 columns ( each row of internal table will go in to a column).

If my internal table has more than 3 rows, i need to trigger next page and display only the main window with the same three columns ( This should continue triggering till the end of records in my internal table).

Can any one suggest me how i can accomplish this.

I know we can force the main window table to be filled up and trigger next page. Here i do not have any table to repeat lines etc.,

Thanks in Advance

5 REPLIES 5
Read only

naimesh_patel
Active Contributor
0 Likes
773

First of all convert your table to the 3 column internal table which you can specify to print the data in 3 columns.

To trigger the next page, adjust your main window height which can accommodate only one row of your main table. Or you can create a COMMAND to fire the next page after printing your line


MAIN
. TABLE  " 3 column table
.. LINE 
... CELL1
... CELL2
... CELL3
.... COMMAND " Next page

Regards,

Naimesh Patel

Read only

0 Likes
773

Conversion to 3 column internal table is not an option for me and i am not triggering next page based on one row...

Please let me know if there are any alternate solutions

Read only

0 Likes
773

Conversion to 3 column internal table is not an option for me and i am not triggering next page based on one row...

Please let me know if there are any alternate solutions

Read only

Former Member
0 Likes
773

This message was moderated.

Read only

Former Member
0 Likes
773

Hi,

You can create a second page in your form and in you main window specify the Second Page as Next Page in the attributes option.

Instead of calling the next page dynamically as mentioned above , you can adjust the height of ur main window accordingly such that only 3 rows can fit in , once it becomes more than 3 rows automatically it will flow to the next page and display your remaining data on the second page.

Hope this helps...