cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Problem

Former Member
0 Kudos

Hi Experts,

I want to print Smartform output directly with any dialog box. I am doing like this.

wa_control_parameters-no_dialog = 'X'.

wa_control_parameters-device = 'PRINTER'.

wa_output_options-tddest = 'ZLOC'.

wa_output_options-tdnewid = 'X'.

wa_output_options-tdimmed = 'X'.

wa_output_options-tddelete = 'X'.

I am passing this structure to FM. I am not getting any dialog box. IT is creating the spool also if i check in SP02. But this is not priniting the output.

Where m i wrong.

Please help me. its urgent.

Regards

Azad.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I suspect spool request is being generated in the backgound and can't use the frontend printer. However, some questions for more detail;

Is ZLOC using the local windows printer?

Is the smartform being generated in a backgound process?

What is the status of the spool request (complete/wait/etc)?

Regards,

Nick

Former Member
0 Kudos

Hi Nick,

Yes i want to run smartform in background.

ZLOC is my local printer.

spool request status is ' - '.

Thanks for reply.

Regards,

Azad.

Former Member
0 Kudos

Because your printer ZLOC relies on a component of SAPgui called SAP printer daemon (previously saplpd) to transfer from the SAP spool to your Windows printer you can only print this way in dialog. You need to have a printer defined from the SAP server, probably using access type U to print via a Windows print server. Your Basis team will know better what's posiible in your particular network.

Regards,

Nick