2009 Jun 12 5:26 AM
In main window I want to print two table one is on left side and other on right side.
Itab1 on left having 3 column .
Itab2 on reight side having column 4.
Each having 10 ,10 records , table should be dynamic.. some time 100 also.
This stuff is for Saving print paper.
2009 Jun 12 5:51 AM
Hi,
create the tables and in Table Details give the Horizontal alignment for table 1 as 'LEFT' & provide some Table width 'Half length of window' CM, for table 2 give Horizontal alignment as 'LEFT' & provide Table width as 'remaining length of the window' CM.
Hope it helps!!
Rgds,
Pavan
2009 Jun 12 5:51 AM
Hi,
create the tables and in Table Details give the Horizontal alignment for table 1 as 'LEFT' & provide some Table width 'Half length of window' CM, for table 2 give Horizontal alignment as 'LEFT' & provide Table width as 'remaining length of the window' CM.
Hope it helps!!
Rgds,
Pavan
2009 Jun 12 6:09 AM
Hi,
In main window create two tables. In first table(click Details button in Table tab) give table width as 5.50 CM. Line type length also to be changed to 5.50 CM.
In second table(click Details button in Table tab) give table width as 5.50 CM and Horizontal Alignment (Left) (7.00 CM) becoz first and second tables should not colide. Line type length also to be changed to 5.50 CM.
For both tables you can give any pattern. For your comfort change the width accordingly, but keep in mind left margin of second table should not colide with first table width.
Thanks,
Thilotham.
2009 Jun 12 6:14 AM
Hello Jim,
If you want to print two table the what's a problem?? simply do like same as u do with single internal table. create one table in smartform and divide 3 colums for itab1 and assign remaining fields like itab2.
Have a Nice Day,
Regards,
Sujeet
2009 Jun 12 6:18 AM
There will be a problem in keeping two tables in one main window because after completion of first tables data it will start printing the second table data.
So I have one good idea for it :
Create one more internal table which contains all the fields of Itab1 and Itab2.
then fill this internal table with the data of both the internal tables with looping and modifying on index.
and then take only one table in smartform's main window and print it.
I think it will solve your problem.