Skip to Content
author's profile photo
Former Member

2 output in 1 page using SAPSCRIPT

1 records consume half of the page, i need to output 2 records in 1 page what should i do?

thanks.

donna

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Sep 30, 2005 at 09:59 AM

    Hi,

    Why dont you try

    /: PROTECT.

    .......

    Code

    .......

    /: ENDPROTECT.

    Place your code in between the above syntax so that it will try to place in 1 page.

    I hope it will work.

    CHEERS

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 30, 2005 at 09:06 AM

    hi,

    i couldn't understand your question correctly.

    how you are calling write_form

    record = record1

    call write_from

    record = record2

    call write_form

    it is in main window or not?

    cheers,

    sasi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      can i assume like if you have 10 PDDREF no means you get 10 pages each page has filled only half.

      1. what is the main window size ( increase the main window size )

      or

      loop at itab

      call function 'write_form

      endloop

      once the content of the first page is filled than only it will go to next page

      cheers,

      sasi