Application Development 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: 

Go to new page problem in smartform

Former Member
0 Kudos

Hi Friends,

i m facing problem in calling new page from main window.

actually i m having two pages first and last, in first page i m having main window and below main window a one more window is there, but when i m writing in command go to new page in main window the data below main window is not getting printed. and if i write command got new page in below window it is giving me error . so what i have to do print that window data also.

thanks

8 REPLIES 8

Former Member
0 Kudos

Main Window.

Loop Node(loop itab --itab containing distinct material types)

Command Line(Condition if sfsy-page ne 1)

This is to prevent the first document from getting printed in a new page.

From next time every new document will be printed in a new page.

Table Node(Loop itab1-itab1 containing all the info of all the materials)

Former Member
0 Kudos

When you write go to new page in the new window, it should be based on any condition otherwise it will never go to the next window on the first page.

Former Member
0 Kudos

Are you using the command node after table node or with in the table node of the main window?

Use it next to the table node.

Regards,

Satish

0 Kudos

hello friends,

thanks for replly,

i m using command noe after table node in main window, but i want display the data below the main window , it is diplaying new page as required but only missing data below the main window.

to be more clear i want to print all the window in first page then only go for next page , so is there any condition or parmeter in main window to go next page only agfter completion of first page.

dont worry abt points.

0 Kudos

Mahesh,

Then don't use Command node.

Put secondary window next to the main window of the first page and in the additional event check the checkbox Only after end of main window.

It will be in the secondary window conditions tab.

Regards,

Satish

0 Kudos

hi satish,

i have done the same.

Former Member
0 Kudos

hi Mahesh,

Try using the condition AT END OF MAIN WINDOW in the secondary window.

Thanks,

Kasiraman R

0 Kudos

hi,

where i have tom put this condition,

plz tell in brief.

thanks.