on 08-05-2008 2:45 PM
Hi All,
I want to keep two table in one page.
As given below
1st table
slno date invoicenumber amount
2nd Table
slno date invoicenumber amount description other tax
The both are interrelated and what ever number of data will be there in first table thats same number of data will be in 2nd table. and this both are contineous means if its going to second page it should be contineous. So how can i handle this scenerios?
Thanks
Manas
use two VAR type window in each page instead of main...
Inside them u display ur tables
see below....
WINDOS IN SCRIPT:
3 types of windows are available in sapscript.
u2022 MAIN
Main window in which continuous text is printed. This is the window used by dialog users of a print program and form. For example, the body text of a letter would be entered in MAIN.
The text in the main window can extend over several pages. If the text fills one page, output continues in the window of the next and subsequent pages, as long as MAIN has been defined for these pages.
u2022 VAR
Window with variable contents. The text can vary on each page in which the window is positioned. Variable windows are formatted for each page.
To every window you can assign text, which is printed in the corresponding window when the form is formatted. To assign text, use text elements, which are stored with the form.
To create and maintain text elements with the SAPscript Editor, choose Text elements. Should the text selected for the window exceed the window size, then the text is cut off.
u2022 CONST
Window with constant contents that is formatted only once.
Currently, CONST windows are processed in the same way as VAR windows. You should only use windows of type VAR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Protection against page break for several table lines
- Expand the main area of your table node in the navigation tree.
- Insert a file node for the table lines to be protected in the main area.
- If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file.
- Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In your Smartform, Create like:
MAIN window
.. TABLE
.... HEADER
.....MAIN
........cell1
........cell 2
.....FOOTER
.. TABLE 2
.... HEADER
.....MAIN
........cell1
........cell 2
.....FOOTER
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.