Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartforms printpreview dilogbox

Former Member
0 Likes
343

Dear all,

How can we remove Print Preview Dilog Box while executing the Smart Form ?

Please comment.

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
328

Hi,

DATA : device TYPE ssfctrlop.

INITIALIZATION.

device-no_dialog = c_x.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = c_formname_ap

IMPORTING

fm_name = ws_form_fname.

CALL FUNCTION ws_form_fname

EXPORTING

control_parameters = device

IMPORTING

job_output_info = ls_output_info

TABLES

i_final_ap = i_final_ap.

Reward if useful.....

Read only

Former Member
0 Likes
328

Hi Sudeep,

Check this Structure, SSFCTRLOP ,

You can set the attributes of the structure NO_DIALOG & PREVIEW = ' '.

And fill the SF functionmodule attributes accordingly.

CONTROL_PARAMETERS = OUTPUT_OPTIONS = USER_SETTINGS = 'X'

You can go through the Structures starting With SSF* You will get to know what else required for your requirements

Regards,

agp.