cancel
Showing results for 
Search instead for 
Did you mean: 

sapscript main window problem

Former Member
0 Kudos

Hi All,

How to fix the lenth of a block in main window so that if a text exceeds certain limit it get move to next page.

eg :-

01 | abcdefg

| ijklmnopqrdtuvwxyz

________________________________

02 | abc

|lmk

hgj

The thing is in this case i want to move all the details of 02 on next page (not only hgj on next page) also i am creating the box on main window under which details of line item get displayed (horizontal and vertical line in example represents the box)

Thanks & Regards,

Ruchi Tiwari

Accepted Solutions (1)

Accepted Solutions (1)

former_member585865
Contributor
0 Kudos

Hi Ruchi,

if you want the information on a single page,if it exceeds you want entire content to print in next page right,

then use protect and end protect commands.

Answers (3)

Answers (3)

Former Member
0 Kudos

not solved

Former Member
0 Kudos

Hi,

use PROTECT...ENDPROTECT before printing them..

eg:

Script:

/: PROTECT

P1 01 | abcdefg

P1 | ijklmnopqrdtuvwxyz

/: ENDPROTECT

Hope it helps!!

Rgds,

Pavan

Former Member
0 Kudos

tried but it did not worked when the content is moving to nest page it overlaps the header line

__________________________________

material plant etc......

__________________________________

bcd

instead of this its coming like

__________________________________

material plant etc......

bcd

Uline is disappering.

former_member585865
Contributor
0 Kudos

Hi Ruchi,

give everything in the protect and end protect including the uline.

Former Member
0 Kudos

try to give the Horizontal BOX line also in PROTECT...ENDPROTECT...

Rgds,

Pavan

Former Member
0 Kudos

Hi,

could you kindly be more specific, cause as per my knowledge we dont need to do anything to print the data on the next page once the data completly filled in previous page.. if you are printing it in the MAIN window, the data will get printed automatically on to next once it completes the previous page..

Rgds,

Pavan

Former Member
0 Kudos

hi ,

the data is going to next page but as i stated in my example only last line goes to next page i want to move line item 02 completly to next page.