cancel
Showing results for 
Search instead for 
Did you mean: 

Print Preview in Smartforms

Former Member
0 Kudos

Hi,

I create a smartforms that is converted into PDF and is emailed directly to its recipient.

My problem is when i run the smartforms and clicked the Print Preview, the form is not displayed.

What shall i do to make the print preview possible?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member195383
Active Contributor
0 Kudos

Hi,

In the print program you will be using one subroutine...uncomment that..

PERFORM processing.

Then when you are calling the smartform comment out the following parameters

control_parameters = wa_control_parameters

output_options = wa_output_opt

in the FM.

Then if you are having one statement like wf_vbeln = nast-objky.

comment it out and put some hardcoded value for the vbeln.

After that execute the print program ...u will see the print preview....

Reward points...if helpful...

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Check for the printer, page formats, data.... etc

former_member187452
Contributor
0 Kudos

Hi,

There may be many reason for not displaying the preview, like template does not fit into window etc.

Run you smartform through its function module, if there is any error in smartforms then it will give error there,

Regards,

Bharat