Dear all ,
I have come across the situtaion as follows :
a) Will want to open the file from the desktop
b) Take the screen shot of that open file
c) Close the file
d) Then want to attach that screen shot in the PDF
e) In the similar way i will do for 4 files and then finally incorpate all these into one PDF and want to send mail .
Is this possible in ABAP .
I am stucked in this situation i open the file then the control is not there in my ABAP program after opening the file .
Secondly there is no FCODE available for the Print screen key so not able to take screen shot .
Could anyone suggest me how to proceed for this situation further .
if you have a .net exe to do the same. then keep a .net exe which can create a word file in dextop of this print command.
or else try creating a .bat file for this.
from ABAP query, call FM GUI_RUN to run this EXE. (this has to be present in presentation server).
and then with GUI_UPLOAD to upload this created word file from the exe.
dont know how it will work but just making a suggestion.
Go through this linik it has step by step process for taking screen shot.
Hope this helps you and sloves your problem, revert if you need some more help.