I created smartform and report which calls it. When I am calling this form from report, there is a window with parameters: number of copies, printer,... and two buttons - print preview and print.
How I could detect in report which is calling this form, that there is print preview or print action? When using output using NACE, there is a form ENTRY using us_screen (xscreen). This is not accessible when calling form directly from report (without NACE).
Could you, please, give me some advice how to recognize print preview or print action in this case? I went through a lot of forums and didn't get any answer.
Thank you a lot.