‎2009 May 12 8:20 AM
Hi All,
I want to display the list of material like report after some user command in module pool.
How can I achive the same.
Regards
Sagar
‎2009 May 12 8:29 AM
Hi,
There are 2 approaches.
Either you can use a table control to display your report or you can use ALV grid to display the report.
Incase of ALV you can use CL_GUI_ALV_GRID object.
Please check the various example programs in SE38 for ALV grid.
Regards,
Ankur Parab
‎2009 May 12 9:04 AM
Hi,
If you want to display in ALV, you can use REUSE_ALV_GRID_DISPLAY FM also, which will call standard program from module pool and will display the list.
If you use module pool, it is not mandatory that you have to use only OO ALV.
You can create list output also from module pool. For that in user command you can write like
IF sy-ucomm = '.....'.
leave to list processing and return.
write 😕 '..............'.
............
............
Endif.
Thanks and regards,
Venkat
‎2009 May 12 9:41 AM
‎2009 May 12 9:41 AM