on 07-22-2009 5:38 PM
Hi,
I am using 2 SMARTFORMS in my Driver program.
One Set of data goes to One FORM, and
another set of data goes to Second form.
But, when I execute that,
I am not able to see the Print priview for Both.
Only, one Print priview I am able to see.
please let me know, how can I see the Priview for BOTH.
Thanks,
Sandeep.
Hi,
Option1: Try to Put the below code and call the form as show below.
IF sy-ucomm = 'VIEW'.
g_ctrl_op-preview = 'X'.
g_output_options-tdimmed = ' '.
g_output_options-tdnoprint = 'X'. " No printing from print preview
ELSE .
g_ctrl_op-preview = ' '. " No Print preview.
g_output_options-tdimmed = 'X'. " Print Immediately
g_output_options-tdnoprint = ' '. " No printing from print preview
ENDIF.
Call the Form1
IF sy-ucomm = 'VIEW'.
g_ctrl_op-preview = 'X'.
g_output_options-tdimmed = ' '.
g_output_options-tdnoprint = 'X'. " No printing from print preview
ELSE .
g_ctrl_op-preview = ' '. " No Print preview.
g_output_options-tdimmed = 'X'. " Print Immediately
g_output_options-tdnoprint = ' '. " No printing from print preview
ENDIF.
Call the Form2
Option2: Click on the back button on top of the print preview of form1.
here you can see the second print preview of form2.
Let me now if this helps....
Regards,
Sathish Donthula
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.