on 08-01-2007 1:19 PM
Hi All,
I have a requirement in a smartform where i need two tables in every page. These tables should repeat on every page with regard to the data thats getting populated in it.If one table has more data it should not push the second table completely from the page.
Can anyone please give me a solution.
Declare globle variable wv_flag_tab1 , wv_flag_tab2
Insert 2 tables in main window
Manage no of rows in each table by using globle variable in condition tab
1 . at start of new page initialize wv_flag_tab1 , wv_flag_tab2
2. At each loop pass increment wv_flag_tab1 , wv_flag_tab2
3. on condition table of table check wv_flag_tab1 < max_line
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smitha,
Try with two main windows, one holding each table.
Regards,
Arun Mohan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
If you see in real time printing of Smartform documents like PO or SO or Invoice
we will see two tables data one is header data which will have a single record per document and Item data which will have mulitple records.
So header data is fixed in all pages and the Item data is printed in MAIN window and overflows to other pages depending on the data.
SO Item table data will be printed in number of pages where as the Header table data will pe constantly printed on the header part(top part) of every page.
so you can handle the 2 internal tables data as above
<b>Reward points for useful Answers</b>
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.