on 05-05-2010 4:30 PM
Hi
When I use Smartforms print and after I execute dialog box to print and when I press cancel button "X" then I got
a msg "Output terminated by user" and this close my transaction at all.
Maybe I must add some close smartforms function or what?
Try to catch the exception by adding at the end of your smartform function call
exceptions
user_canceled = 1.
This way, if it exits by user cancellation, it won't show the message, and sy-subrc will get a value of 1, so you can detect this happened and act accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.