Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2794

How to Determime User Actions in Print Dialog Box?

$
0
0

Hi ABAP Experts,

 

I developed a custom program to print sales orders that utilizes Sapscript form. Additional requirement is to determine whether the document is for first-time printing or for reprinting.

 

My idea is to have a custom table which basically stores the status of the document (printed or not) and to update that table after the 'CLOSE_FORM' function module of Sapscript. However, the program does not detect if the user clicks Close or Cancel in Windows print dialog box, so it just continue to update the table regardless of what the user clicks.

print dialog2.JPG

In line with this, is there a way in the program to know the user actions in the print dialog box? If no, is there any other way to know that a document with a particular sales order is already printed or not?

 

I hope I made myself clear here. Thank you in advance.


Viewing all articles
Browse latest Browse all 2794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>