cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Smart Form Printing, Print Preview issues

Former Member
0 Kudos

Hi,

I have couple of issues regarding Smart Form Printing, Print Preview.

In my program i am passing below parameters to smart form function module:

t_control-device = c_printer.

t_control-no_dialog = space.

t_control-preview = space.

t_control-no_dialog = c_x.

t_output-tddest = g_spld.

t_output-tdimmed = c_x. " Print Immediately

t_output-tddelete = space. " Don't Release spool after output

g_user_settings = c_x.

<b>Issue#1</b>: Though i have set preview paramter to space, after executing program it is prompting for Preview Screen, There again i have to give printer name though i am passing printer name as above and i need to hit on print preview button to set Layout output.

Here how can i go directly to layout output without preview screen.

<b>Issue#2</b>: In some cases we need to Print the layout set output after executing program immediately without prompting for preview screen and then Layout set output should also be shown after printing the output.

How can i solve these issues!

Thanks in advance.

Thanks,

Deep.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

In the SAP menu screen goto <b>System->User Profile->Own data</b>

There in the defaults tab, for the output device give the value you had maintained for <b>g_spld</b>. This will not prompt you a dialog screen, and if you want to print immediately select the checkbox as well. Then try to execute the smartform. Hope this solves ur issue.

Tushar

Former Member
0 Kudos

Hi,

ANy solution for above issue!

Thanks,

Deep.

Former Member
0 Kudos

Hi,

Can anybody give solution to above posted issues!

Thanks,

Deep.