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

Problem with 'PRINT' button in OOPs ALV

Former Member
0 Likes
728

Hi All,

I have developed a OOPs based ALV report. When ever we create an ALV we also have to create Menu bar I did that providing fuctionality for 'BACK' and 'CANCEL' buttons in main toolbar. But user wants funtionality for 'SAVE' and 'PRINT'.

How do I do this ? Is there any stadard code which I can paste in PAI and use it. Classic ALVs handle this by default and OOPs doesn't do this it handles only a table level. But in my report I have a header information also. If user uses the standard 'PRINT' button at table level, only table contents are printed not the header information.

Please let me know how to handle 'PRINT' & 'SAVE' button in OOPs ALV.

Thanks in advance.

Hi All,

I have developed a OOPs based ALV report. When ever we create an ALV we also have to create Menu bar I did that providing fuctionality for 'BACK' and 'CANCEL' buttons in main toolbar. But user wants funtionality for 'SAVE' and 'PRINT'.

How do I do this ? Is there any stadard code which I can paste in PAI and use it. Classic ALVs handle this by default and OOPs doesn't do this it handles only a table level. But in my report I have a header information also. If user uses the standard 'PRINT' button at table level, only table contents are printed not the header information.

Please let me know how to handle 'PRINT' & 'SAVE' button in OOPs ALV.

Thanks in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
690

hi

Check this report

BCALV_TEST_GRID_PRINT

Read only

Former Member
0 Likes
690

I have checked BCALV_TEST_FULLSCREEN_PRINT,

BCALV_TEST_GRID_PRINT.

They are not helpful.

Regards

Ravindar.

Read only

Former Member
0 Likes
690

Cancelled

Read only

0 Likes
690

Hi Ravindar,

This programe BCALV_TEST_GRID_PRINT has used the normal class cl_gui_alv_grid where as I have used CL_GUI_ALV_TREE class.

Regards,

Deepthi.