Export Table Control to MS-Excel.
I have a thread that sounds hard to solve. I need to export to MS-Excel a dynpro that arise after this process:
1. Generate a report in ALV format. Each record in this ALV has the double-click function.
2. The Double-Clic Function makes arise a dynpro that contains a header (with info about record) distributed in an arbitrary form, and two table controls, the first of them have the same double-click function that makes appear the second table control.
3. The main idea is, export all the info in the dynpro to MS-Excel, without reformatting the order of fields in that dynpro.
This link shows you a template with the required thread. Hope it could be useful