cancel
Showing results for 
Search instead for 
Did you mean: 

Plant Maintenance order - long text not going to next page

Former Member
0 Kudos

Hi Gurus,

I am working on sap script of plant maintenance order (iw33). Form has 2 pages and page 2 has Main window. No main window on page1.

page 1 has "Comments' window which captures all long text of the maintenance order texts. For some orders it runs into 70 lines. The page 1 prints till 15 lines of long text.

I have coded at 16 th line as new-page as given below:

if $g_ord_text16& ne space

new-page

endif

But it is not printing more than 15 lines and not going to new page.

Can any one suggest solution?

Appreciate your kind responses.

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I have figured out the solution

Former Member
0 Kudos

HI,

Did u provide NEXT PAGE option in script as PAGE2?

In PAGE Attributes u can assign the next page as PAGE2.

Regards

SAB

Former Member
0 Kudos

Hi,

My page2 has 3 windows ( main, footer and title )

(and page 1 has windows act1, activity, comment, footer and header )

so i do not know which page i should refer in new-page command. If i refer page2 , will it print my PAGE2 main window data?

what i wanted was when it is reading window 'comment', in page1 which can get upto 70 lines, it should print on next page if the existing page is over flowing.

can you give me the correct code for this situation?

Thanks in advance

Former Member
0 Kudos

HI,

OK, have u tried to give page 1 as next page?

Give Page2 as next page in PAGE Attributes for PAGE1 and Give Page2 as next page in PAGE Attributes for PAGE2.

Hope it shud work.

I think u need to configure ur PAGE settings.. then it works fine.. give some trial and error..

Regards

SAB

Former Member
0 Kudos

Hi Syed,

Thanks for your quick response. I am working on se71 form and not smart forms.

When i go to pages standard attributes, against next page drop down, i have PAGE1 and PAGE2. I can not assign "NEXT PAGE' as the drop down do not have value 'NEXT PAGE'.

How do I create NEXT PAGE in the drop down? Then only i can assign NEXT PAGE to different pages.

Appreciate your kind advise.

Former Member
0 Kudos

HI Rao,

I mean.. Page1 -Page1 and Page2 - Page2 for nextpage field not Next Page as page.

Regards

SAB