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

OO implemented graph. Print problem.

Former Member
0 Likes
652

I am using an OO implementation of graphs in my program. It is very similar to program GFW_PROG_PIE. I am using methods to call graphics. I want to add the functionality of a print button. Could someone let me know how to do this or if there is a sample program i could use for that. I checked all programs in transaction GRAL and none of the OO programs are using the print button. Thanks

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
616

I am a little confused. In my system, working with sample program BARCBO01. When the graphic is displayed, there is an option for printing. In the menu, click graphic, then print. You will get a sort of print preview screen. From there you can print it.

Welcome to SDN!

Regards,

Rich Heilman

Read only

0 Likes
616

Hi Rich, The BARCBO01 is not using OO implementation so i cannot really use the functionality from that program. Thanks though.

Read only

Former Member
0 Likes
616

Hi,

Try using public method IF_GRAPHIC_PROXY~PRINT of class CL_GUI_GP_PRES (using your graph reference object) after adding a custom button to your screen's toolbar for printing.

Hope this helps..

Sri

Read only

0 Likes
616

Thanks Srikanth. This was very helpful.