‎2020 Sep 08 12:50 PM
Hello Experts,
I am facing a very strange issue.I am using the Function module SSFCOMP_PDF_PREVIEW to display the o/p of the smartform. The smartform output displays as a PDF file.
Now, when I use Ctrl + P no print is generated, however when I click on the printer icon on the O/p pdf the print gets generated.Now, everytime the print gets generated even if I press Ctrl + p if after I click the print button.
This means in order to initialise the print I need to click the print icon once then only command Ctrl + p works fine.
Kindly suggest.
‎2020 Sep 08 3:29 PM
Maybe it's a matter of what object is focused because keyboard action is handled only by one object/application. Maybe Ctrl+P was handled by SAP GUI, but it should be handled by Adobe Acrobat Reader, or vice versa.
Try to click the PDF or SAP GUI first, to put the focus on it, and then click Ctrl+P.