on 04-01-2009 8:33 AM
I have 2 different internal tables that need to displayed in main window.
upper part of the main window should be displaying first table and lower half should disply 2nd table.
this page should be repeated depending upon number of rows.
When I include bothe tables in main window, its displaying first table first and then 2nd table.
I want both tables to be displayed simultaneously...
Can anyone help me?
Thanks & Regards,
Kalyan Venigalla.
it's no problem to use a table-node within a table-node. or a loop-node within a table or a table in a loop but.... you can't use the obvious elements like header; footer; at new; at end and other nice tricks.
and you have to be creative to display each part of the tables involved.
an other solution is (with fixed rows) to create a third table with both other tables in it.
for example. on each page 4 rows of table 1 and 8 rows of table 2 are displayed so the third tabel contains a first 4 rows of data of table 1 then 8 rows of table 2. this can be repeated. use a key (which you define yourself) for each row of the third table to make things easier.
It becomes too complicated when the number of rows is not the same on each page. then you have to create your third table pretending that you are printing so you have to work with a line-counter and depending on the value of the line-counter make decisions of how to fill your table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalyan Mohan Venigalla,
Or else we can do it like this... try this once ...
1. We have ITAB1 of 10 records and ITAB2 10 records.
2. In main window only 10 line items will fit.
3. Firstly loop ITAB1 untill SY-INDEX less than 6 and them loop ITAB2 less than 6.
4. Then delete first 5 records in both internal tables.
Try doing like this...
Regards,
Suneel G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalyan Mohan Venigalla,
As per my knowledge, I guess we can't display two internal tables in Main Window.
Regards,
Suneel G
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 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.