on 04-16-2008 10:18 AM
Hi
I am using New-Page <new page name p1> in SAP-Script, but the page p1 is not getting called.
Can anyone suggest any solution for this problem.
This is quiet urgent here.
Thanks in advance.
new-page works only in the main window, provided the page exists, and we need to check whether it has been placed in the main window or not......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
1.One thing you need to check in the Form is the defined form is assigned as next to any page .
2.If that page is self to next page.
3.Once check the control_form is called in the driver program.
4.You are way of writing the NEW-PAGE p1 is correct.
Regards,
Kumar(Reward if helpful).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check this
For page1 the next page will be page2 and for page2 NEXT PAGE WILL be page2 itself.
Also Go throuh the information below .
Explicit Page Break: NEW-PAGE
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,
Raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.