Enhancement to "print" action
When user presses a "print" button in any transaction, I'd like to be able to do something about it programatically (e.g. create an entry in Z table which records all print attempts). I don't know is there a way to achieve this, but I had in mind several options:
1) A special device type, which would run code instead of just printing.
2) Any kind of enhancement (user-exit, CMOD function, BADI) which would catch the print action
Is there anything?