Skip to Content
avatar image
Former Member

how to call last page from the print program .

Hello ,

I have created a LAST page in the SAPSCRIPT form layout and it has a window which should print all the material numbers with Barcodes after printing a sales order .

My question is how do I call this last page from the print program after the sales order has been printed ?

Thank you ,

Teresa

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 02, 2008 at 08:11 PM

    You can use the command NEW-PAGE for this purpose.

    In your FIRST page, in the last window (Say LAST_WINDOW), create a element. Say NEXT_PAGE.

    /E NEXT_PAGE
    /: NEW-PAGE LAST
    

    Now, in your pogram call this Window's Elelment

    CALL FUNCTION 'WRITE_FORM'
      EXPORTING
        WINDOW = 'LAST_WINDOW'
        ELEMENT = 'NEXT_PAGE'.
    

    Regards,

    Naimesh Patel

    Add comment
    10|10000 characters needed characters exceeded