cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT AND NEXT PAGE

sylvain_vels
Explorer
0 Kudos

Hi,

I've got an issue on a sapscript .

On the main window i've got an item: there are 3 lines for one item. Like this:

-item1

info1

date1

-item2

info2

date2

All is ok, except when there is a break between 2 pages like this

First page

...

-item3

info3

Second Page:

date3

-item4

info4

date4

the date3 on the second page is the date of the first item (so date1). I don't understand why. I debuged and i 've no idea. All seems to be ok. Even the date3 in debugging but no ok in the printing.

Please help

Thank's

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

First, if you want to keep ITEM, INFO, and DATE on the same page, use

/: PROTECT

/: ENDPROTECT around the lines.

On the second page, it uses your NEXT page. Are the variables the same on this page?

Do you have multiple variables for these fields? As in, ITEM1, ITEM2, ITEM3... or just ITEM?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try having the lines you wish to be printed together in a same page within /:Protect /:Endprotect.