cancel
Showing results for 
Search instead for 
Did you mean: 

event new page in sapscript

ifat_bar
Participant
0 Kudos

Hello ,

I am using print program RFFOUS_C ' which is a standard program for checks.

In my sapscript I have only first page that goes to first page.

My problem is that if there is more then 6 items per vendor there is an overflow to the next page. I want to catch this overflow in order to write remark in the check.

In the debugger I saw that there is event NEW PAGE but in the print program I tried to look for function 'control_form'' and i couldnt find it.

I would like to know how can I catch the event new page ? Or if there is system/sapscript parameter that I can use ? ( parameter page doesnt work in this case always = 1 ).

Thanks

Yifat

Accepted Solutions (0)

Answers (5)

Answers (5)

ifat_bar
Participant
0 Kudos

Hi,

How can I use it only on the last page.

The probem is taht I dont know , when there is an overflow ..... and a next page is starting.

Yifat

Former Member
0 Kudos

Hi

I thimk u don't need to know it.

TOP/ENDTOP writes something at the beginning of the main

But I would use a another windows not the main.

Max

ifat_bar
Participant
0 Kudos

hi,

at the begining of the MAIN window.

Thanks

Yifat

Former Member
0 Kudos

try to use TOP/ENDTOP

/: TOP

  • Remark

/: ENDTOP

but probably it'll be printed in the first page too, so I think it's better to create a new window (just before the MAIN) where to write remark, if you place this new windows in the next page u should have the effect u need.

Max

ifat_bar
Participant
0 Kudos

Hi,

I need to write the remark only on the next page.

Yifat

Former Member
0 Kudos

in which position?

max

ifat_bar
Participant
0 Kudos

Hi,

Thanks for your answer , I need to write the remark in window MAIN only when there is page break .

Yifat

Former Member
0 Kudos

that'ok

but in which page? the current or the next one

Max

Former Member
0 Kudos

Hi

Probably the new page is called automatically because of the overflow, the event new-page could be used just to force the calling.

So where do u need to write the remark?

Max