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: 

Why the 2nd page is printing, even though there r no contents in MAIN wind?

Former Member
0 Kudos

Hi Experts.

Am working with Customer statement of a SAP Script.

Here, I hv 20 line items, and they are ALL 20 line items r printing on the 1st page in the MAIN window........fine.

But, still am getting the 2nd page, which does not conatian any MAIN window column headings, line items(anyways, all 20 line items are completed in the 1dt page itself)!!

This 2nd page contans only ADDRESS , INFO, FOOTER contants!!

So, - Why eve though there r no more line items, still 2nd page is printing?

- How to correct it?

When I debugged it, I noticed that, in the MAIN of this script, there is no PROTECT command(anyways, i guess, there is no sense using the PROTECT in MAIN), but this PROTECT is triggering from CONNTROL_FORM call!!

replies r appreciated.

thanq

Edited by: SAP ABAPer on Dec 2, 2008 1:03 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

u might have given Starting page = page2 so it is printing second page.

check it out that.

Give START PAGE = PAGE1.

Regards,

Flavya

5 REPLIES 5

Former Member
0 Kudos

check whether cursor is positioning at the next line after the sentence..

if so place the cursor at the sam eline

0 Kudos

thanq

u mean, in the MAIN window? and i did not undesrtood ur tip, pls. eloborate it.....like, How to check a cursor position, how to place it correctly?

thanq

Former Member
0 Kudos

u might have given Starting page = page2 so it is printing second page.

check it out that.

Give START PAGE = PAGE1.

Regards,

Flavya

0 Kudos

thanq

no, i dont think so.....bcoz, if the lne itmes are 5, then i am getting ONLY 1 page!!

thanq

0 Kudos

hi,

do like this, increase the size of the main window in form layout little bit and see whether it is behaving in same way...just try it...

Rgds.,

subash