12-10-2007 11:51 PM
Hi SDN's,
How can we print Terms and Conditions at last page in the script form with out modifying the print program?
Right now i have FIRST and NEXT Pages... I have created LAST Page and one window with Terms and conditions( Using Standard text-SO10). But i am unable to print this last page...
What r the steps i need to take to get print this in the last page...
Please help me..
Thanks in advance...
Regards,
Rahul
12-11-2007 12:31 AM
Hi,
In MAIN WINDOW of First Page ...write at end like
IF Terms = 'X' ( variable to check whether T & C available or not )
NEW-PAGE LAST
ENDIF.
Reward if useful
PRa
12-11-2007 12:47 AM
Rahul,
The easiest way is to create a page with a MAIN window that covers the entire printable area of the page. Determine which is the last text element called in the standard print program before the CLOSE_FORM command. Insert the following command into this text element:
/E TERMS_AND_CONDITIONS
/: NEW-PAGE TCS
/: INCLUDE 'ZT&C_ENGLISH' OBJECT 'TEXT' ID 'ST' LANGUAGE 'EN'
In this example, text element TERMS_AND_CONDITIONS calls page TCS, then writes the contents of standard text ZT&C_ENGLISH into the MAIN window of this new page.
Standard texts are created and maintained in transaction SO10. They can easily hold an entire page of "fine print" like a Terms and Conditions statement.
Juan Suros
Kyocera