on 09-25-2007 9:11 PM
Hi all,
how to take print out of a smart form?
Title was edited by:
Alvaro Tejada Galindo
Hi,
As others have mentioned already, we can take printout using code.
Also, when u select the output type of the smartform, there also a print icon is available using this icon also, we can take printout.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
good
go through this code,this might help you to solve your prob
**Set Print control
PERFORM frm_set_print_control USING g_lines g_index.
&----
*& Form frm_set_print_control
&----
text
----
-->P_G_LINES text
-->P_G_INDEX text
----
FORM frm_set_print_control USING p_lines
p_index.
CASE p_lines.
WHEN 1.
gfc_control-no_open = space.
gfc_control-no_close = space.
WHEN 2.
CASE p_index.
WHEN 1.
gfc_control-no_open = space.
gfc_control-no_close = 'X'.
WHEN 2.
gfc_control-no_open = 'X'.
gfc_control-no_close = space.
ENDCASE.
WHEN OTHERS.
CASE p_index.
WHEN 1.
gfc_control-no_open = space.
gfc_control-no_close = 'X'.
WHEN p_lines.
gfc_control-no_open = 'X'.
gfc_control-no_close = space.
WHEN OTHERS.
gfc_control-no_open = 'X'.
gfc_control-no_close = 'X'.
ENDCASE.
ENDCASE.
ENDFORM. " frm_set_print_control
thanks
mrutyun^
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DATA : W_OUTPUT_OPTIONS TYPE SSFCOMPOP,
W_CONTROL_PARAMETERS TYPE SSFCTRLOP.
START-OF-SELECTION.
W_CONTROL_PARAMETERS-NO_DIALOG = 'X'. 'skip dialog screen
W_OUTPUT_OPTIONS-TDDEST = 'FRT'. 'set print
W_OUTPUT_OPTIONS-TDIMMED = 'X'. ' set print immed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.