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

Print button in ALV

Former Member
0 Likes
1,178

Hi

I want to add a print button in the alv toolbar displayed. Standard alv toolbar has print preview button but I want a button so that just by pressing i can get a print out on my default printer. i am using reuse_alv_grid _display function module to show alv. I dont want to use print button in menu bar.

Thanks

Vishal kapoor

Hi

I want to add a print button in the alv toolbar displayed. Standard alv toolbar has print preview button but I want a button so that just by pressing i can get a print out on my default printer. i am using reuse_alv_grid _display function module to show alv. I dont want to use print button in menu bar.

Thanks

Vishal kapoor

2 REPLIES 2
Read only

Former Member
0 Likes
584

hi,

Create ur own Status by

<b>SET PF-STATUS '<name>'.</b>

and create buttons in that as per ur need.

Hope it will b helpful.

Read only

Former Member
0 Likes
584

Hi Vishal,

To standard print button you have to copy any standard PF status from any standard program because if you just put code set pf status it will overwrite every thing.

So do one thing copy STANDARD pf status from sap standard program SAPKLBL to your programand activate it.

Hope it will solve ur problem.

Regards

Krishnendu