‎2008 Mar 07 8:57 AM
Hi i am creating new page in script and giving some text in that page window.
but that page not all triggering here,
all ready first and next pages are there in my script .. i created new page,, but not coming...
could any body explain how to solve my problem..
thanks,
‎2008 Mar 07 9:03 AM
Have you mentioned the next page field ...
you have to fill it in the attributes of first page ....check it
‎2008 Mar 07 9:04 AM
Hai,
First Call That text Element Were U Used New-page Coomand.
SAPscript automatically inserts a page break when the main window of a page (MAIN) is full. You can use the NEW-PAGE command to force a page break in the text at any point you want one. The text following this command then appears on a new page. The page break is always performed (it is an unconditional page break).
The NEW-PAGE command completes the current page. This means that all the windows that are still on the page are printed immediately. If you use the NEW-PAGE command without parameters, the page defined in the current form as the next page will be taken next. If, however, your form contains a number of different pages, then you can specify any one of these as the next page to be used.
Syntax:
/: NEW-PAGE [page_name]
/: NEW-PAGE
The current page will be completed and the text in the following lines will be written to the page specified in the form.
/: NEW-PAGE S1
As above, except that the page S1 will be taken as the next page.
If, in a NEW-PAGE command, you specify a page not contained in the form, the specification is ignored.
Take care that there are no blank lines immediately before a NEW-PAGE command. If an implicit page break occurs within the blank lines, an unexpected blank page may be printed.
Regards.
Eshwar.