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

In SAP Script / Main window pb

Former Member
0 Likes
751

would like to print in main window only 10lines. Usauly If main window full,it will overflow to next page. but my condition its not like that, If it is 10lines , remaining has to print in next page. I cannot adjust my main window for the 10lines. can any1 suggest pls..

Thanks in advance

would like to print in main window only 10lines. Usauly If main window full,it will overflow to next page. but my condition its not like that, If it is 10lines , remaining has to print in next page. I cannot adjust my main window for the 10lines. can any1 suggest pls..

Thanks in advance

6 REPLIES 6
Read only

Former Member
0 Likes
732

Hi,

you decrease the size of the main window.

this will solve your problem

reward if helpful,

kushagra

Read only

0 Likes
732

No, I dont want to decrease my window size.tel me any other suggestion pls. because I have used Mainwindow in 2places in first page itself. if first mainwindow full, its started to print in Next main window.Instead of priting in next main window,it has to go for next page.

thanks for ur reply.

Read only

Former Member
0 Likes
732

hi,

u can put a counter and keep incrementing it till 10 and as soon as it reaches it call the command NEW-PAGE.

Read only

Former Member
0 Likes
732

Hi,

In the driver program you can control the same.

Set a counter if this is equal to 10 then print those lines, else trigger a NEW-PAGE and print the next 10 lines..

Read only

Former Member
0 Likes
732

hi

good

Set a counter if this is equal to 10 then print those lines, else trigger a NEW-PAGE and print the next 10 lines..

thanks

mrutyun^

Read only

mahaboob_pathan
Contributor
0 Likes
732

hi,

in u r driver write a condition that and set the counter if line count is 10 then new-page.