Hi KSRCM,
If you need to print 2 tables, you should have a common field in both the internal tables so that you can loop in the first table and loop/read the second table based on that common field.
Create a code window, build one new internal table with the fields to be printed from both the tables and use that internal table to loop and display the data in the output.
Hope this helps.
Regards,
Phani