Skip to Content

Print Terms and Conditions on backside in SAPScript

Hi All,

I have a requirement to print one page long terms and conditions on the backside of invoices for a particular Z output type. We already print invoices for all output types using SAPScript. So, I am looking for steps which could be added in the existing setup. Could you please tell me the steps to be followed in detail, in SAPScript and in report program. Also, second question: should I save and extract T&C in SAP text(tcode SO10). I found a lot of posts on this but none could help me.

Any comment/suggestion would be highly appreciated.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 10, 2018 at 11:19 AM

    Hi Wrish,

    you should define your form on the following way: Please create your page BACK and put a non-MAIN window on the page and put the text of the terms of invoices into this window (e.g. via an INCLUDE). Add a MAIN to page BACK (the size is not important, because no text will
    be printed into this window. The window must only exist and the height must be greater than 1 LN)

    After this you should have the following pages:

    FIRST (next page is NEXT, Print Mode 'D')
    NEXT (next page is NEXT, Print Mode 'D')
    BACK ( Print Mode ' ')

    On the last page NEXT the processing of the MAIN window is finished. There is no reason for the Sapscript to do any further page breaks.

    So there is no BACK page on the back side of the last page. To get around this problem, you must do this last page break by hand.

    Create a new text element in the MAIN window with the following contents:


    and call this text element just before the CLOSE_FORM.

    Best regards,

    Add comment
    10|10000 characters needed characters exceeded