cancel
Showing results for 
Search instead for 
Did you mean: 

how to call a new page after the end of main window (urgent)

Former Member
0 Kudos

Hai,

i have a problem while call a new page.

example: i am having the main window and 6 secondary windows ( for header and footer )in first page. After completing all the items in the main window of fistpage i have to call a fresh page(having full length page) in which i have to pick the long text from VA03.

in the smartform i place the command condition in table (footer).but its calling the page but out text is not prinitng the next page.

so plz suggest us.

Regards

SatyaDev.P

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

use below logic

in driver program after writing all records in

loop at itab.

call function 'WRITE_FORM'

endloop.

call function 'WRITE_FORM'

element = 'E2'.

in se71

:/E2

&new-page&

Regards,

amole

Former Member
0 Kudos

Hi,

Create the second page with the main window. assign this page as the NEXT PAGE to the first page. As soon as the system comes to last line of the main, it will call the new page.

Regards,

Vara

Former Member
0 Kudos

Hi VARAPRASAD SAID,

THE CONTROL AUTOMATICALLY GO TO NEXT MAIN WINDOW IF THE THE PRESENT ON IS USED. if you want to move from one window to another use control form function module.

Thanks

venki

Former Member
0 Kudos

HI All,

We did this but it is not working. We kept condition in Footer by calling next page. but only Main Window is wipping out but other Secondary windows are coming in Second Page also

Former Member
0 Kudos

At the end of the main window, create a new node called COMMAND (under flow logic). Tick the GOto newpage and enter the name of the new page. Create a new page (not NEXT). That should direct the flow to the new page after processing all the lines in the table.

Former Member
0 Kudos

How are you trying to print the long text?

Are you passing a table with the text into the form?