on 09-15-2008 5:21 PM
We have had people change a purchase order, go to print preview and print the purchase order and then not save it. They now have a copy of a purchase order that does not exist as printed.
Can you disable the ability to print from print preview?
Thanks.
Hi
I suppose the program to drive and show the print is custom: so u can change that program in order to check the transaction, if it's ME23N u can abort the preview and show a warning or information message.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
SAPFM06P is the standard program to print the PO ... u copy that to Z program ... in the include FM06PE04 goto the line
call function 'FP_JOB_OPEN' .
just before that write this :
fp_outputparams-NOPRINT = 'X'.
hope this helps ...........
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the clue given in this forum.
We are able to grey out the print icon in print preview screen by adding following code in print program just before calling smart form function:
ls_output_options-TDNOPRINT = 'X'.
CALL FUNCTION lv_fm_name
EXPORTING
control_parameters = ls_control_parameters
output_options = ls_output_options
user_settings = ' '
i_nast = nast
EXCEPTIONS
...
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.