I've got a program which calls a dynpro.
The dynpro has a GUI status where the standard Print button is activated (function code 'PRINT').
How can I achieve that with the normal print button, the dynpro content is printed?
I tried to use function code 'PRI' and '%PRI', but it didn't work.
I also used function 'PRINT_REPORT' and command SUBMIT...TO-SPOOL...
Do you have any idea?