cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Default Printer name in Smartforms

Former Member
0 Likes
5,819

Hi Experts,

When I am displaying Smart forms, an automatic popus is getting displayed which asks for current Printer.I am using LP01 as default printer.Can I hide this popup so while the user executes the program,he can directly view the Report screen.

regds,

Sam.

View Entire Topic
rvinod1982
Contributor
0 Likes

Hi Sam,

Yes, you can disable the popup of printer selection. In the print program you use function module

SSF_FUNCTION_MODULE_NAME where you pass smartforms name and get its corresponding function module name.

Then when you call this function module, to print the smartform.

In this function module there is an exporting parameter control_parameters available. You need to pass a structure for ex. ls_control_param of type ssfctrlop to this paratemer. Before calling the function module set the value of fields

no_dialog and preview as below.

ls_control_param-no_dialog = 'X'.

ls_control_param-preview = 'X'.

Regards,

Vinod