cancel
Showing results for 
Search instead for 
Did you mean: 

Driect Print Preview for SFM

Former Member
0 Kudos

Hi Abapers,

Am displaying a smartform so when i press F8

it should directly display the print preview with out showing the dialog box.

am using the form interface CONTROL & COMPOSER Parameters.

but iam not getting which parameters i have to make disable.

could any one pls give the solution for it..!

Thanks & Regards,

Rajeshk

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks .. in SU01 device is not configured..!

after providing the DEVICE name then its working..!

Former Member
0 Kudos

Hi

in the Contriol Parameters structure, No dialog is X and Also Print Preview is X.

Vishwa.

Former Member
0 Kudos

Hi vishwa.!

am declaring like this.

ls_control_param-NO_DIALOG = 'X'.

ls_control_param-PREVIEW = 'X'.

and even am passing it to form interface. FM.!

not working,..!

Former Member
0 Kudos

c_par-no_dialog = 'X'.

c_par-preview = 'X'.

out_opt-tddest = tddest.

out_opt-tdprinter = tdprinter.

CALL FUNCTION fm_name

EXPORTING

control_parameters = c_par

output_options = out_opt

user_settings = space

vbeln = it_vbeln-vbeln

pdf = r2

rbiclear = c3

IMPORTING

job_output_options = job_out

einv = einv.

Former Member
0 Kudos

>

> Hi vishwa.!

> am declaring like this.

>

> ls_control_param-NO_DIALOG = 'X'.

> ls_control_param-PREVIEW = 'X'.

>

> and even am passing it to form interface. FM.!

> not working,..!

Hi

I am getting it here. I am able to see the preview without the dialog. Please check once again.

Vishwa.

Former Member
0 Kudos

Hi

in the Output Options structure, there is a field No dialog, pass X to that.

Vishwa.

Former Member
0 Kudos

thnXs for ur reply vishwaa.!

even am doing the same..!

NO_DIALOG = 'X'.

but its not working out...!