Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

smartform prints every page twice

Former Member
0 Kudos

Hi ppl,

I am printing a z-smartform which is being called by a custom driver program.

In the driver report, I have added the following condition so that the form gets printed immediately:

 DATA: gs_out_opt TYPE ssfcompop,
                    gs_control  TYPE ssfctrlop. 
* Print Immediately
    gs_out_opt-tdimmed      = 'X'.

But, due to this code, each document is printed twice, though I have specified the number of copies as 1. (I have suppressed the print dialog).

 * One Copy
  gs_out_opt-tdcopies       = 1.
* For Dialog box
  gs_control-no_dialog      = 'X'.

But, when I set the code as:


    gs_out_opt-tdimmed      = ' '.

then every page is printed only once. But, I am not sure if the document will be printed immediately, once I click the print option in my driver program.

Please help me on this if you have any inputs.

Thanks,

Dawood.

1 REPLY 1

Former Member
0 Kudos

Hi ppl,

How does the field tdimmed (print immediately) of output options (type ssfcompop) affect the printing of smartform?

How will the smartform be printed if this field is left blank?

Please provide relevant inputs.

Thanks,

Dawood.