Skip to Content

event new page in sapscript

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Jan 10, 2010 at 01:10 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10, 2010 at 01:12 PM

    Hi,

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

    Yifat

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10, 2010 at 01:24 PM

    Hi,

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

    Yifat

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10, 2010 at 01:29 PM

    hi,

    at the begining of the MAIN window.

    Thanks

    Yifat

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Jan 10, 2010 at 01:41 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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