‎2008 Jul 18 8:09 AM
i write some code before calling the print FM . the code is used to work on if the use have to right to print the form when he press "PRNT" ucomm . but these is a question,if the use press "VIEW" ucomm, the press print in the view window, the code won't work any more . advice is indeed !
thanks®ards
thomas
‎2008 Jul 22 6:04 AM
Say user can only view the form in print preview...ut he should not print the form from printpreview..to do this...
pass X to field TDNOPRINT(No printing from print preview) of structure SSFCOMPOP. And pass it to OUTPUT_OPTIONS parameter of smartform FM.
Regards,
Joy.
‎2008 Jul 22 5:57 AM
Hi Thomas
The solution is very simple!
In your smartform, in the initialization, write the User authorization code(the one you've written in print prog).
whenever the condition is satisfied, just raise an exception. Define an exception in the the "Exception tab" in the global data.
Hope this solves your problem.
Regards
Ravish
‎2008 Jul 22 6:04 AM
Say user can only view the form in print preview...ut he should not print the form from printpreview..to do this...
pass X to field TDNOPRINT(No printing from print preview) of structure SSFCOMPOP. And pass it to OUTPUT_OPTIONS parameter of smartform FM.
Regards,
Joy.