‎2008 Feb 27 4:00 AM
Dear all,
How can we remove Print Preview Dilog Box while executing the Smart Form ?
Please comment.
Thanks in advance.
‎2008 Feb 27 4:05 AM
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.....
‎2008 Feb 27 4:18 AM
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.