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

How to create a printscreen image using ABAP

Former Member
0 Likes
1,002

Hello,

Is there a way to simulate a printscreen operation using abap ?

Thanks

Ziv.

Hello,

Is there a way to simulate a printscreen operation using abap ?

Thanks

Ziv.

7 REPLIES 7
Read only

Former Member
0 Likes
936

How about clarification of what you need to do? Your user can print screen now from his/her 'customize local layout' icon at the top right of the GUI.

Read only

0 Likes
936

I'm tring to save the printscreen image as an attachment and send it via sap service desk system.

Regarding your reply : How exactly do I use printscreen from "customize local layout" , I didn't find printscreen in the menu.

Ziv.

Read only

0 Likes
936

You will find the option "Hardcopy". Try that.

Rob

Read only

0 Likes
936

If you want to trigger a print screen automatically and you're using Web Dynpro for ABAP you might want to check out this thread: . If you're using SAPgui though with classic ABAP, I'd suspect it should be possible to somehow program this using class CL_GUI_FRONTEND_SERVICES. Not sure if there's some magic command in Windows to trigger a print screen or if you'd need some additional software. I couldn't find anything for the first case, so it might not be an option. Otherwise a combination of methods EXECUTE (to trigger the screen print to clipboard) and CLIPBOARD_IMPORT might do the trick.

Cheers, harald

Read only

0 Likes
936

Thanks rob,

Do you also happend to know what goes on behind the scenes ?

I need to replicate the activity usign ABAP coding.

ziv

Edited by: Ziv Katz on Mar 24, 2010 9:36 AM

Read only

0 Likes
936

It's a GUI function, not ABAP. And if it weren't, how would you implement this? Modify all SAP programs??

Rob

Read only

0 Likes
936

snob