Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Display the list in module pool program

Former Member
0 Likes
867

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

4 REPLIES 4
Read only

Former Member
0 Likes
736

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

Read only

Former Member
0 Likes
736

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

Read only

Former Member
0 Likes
736

Solved

Read only

Former Member
0 Likes
736

Solved