Hi All,
I am facing issue in smartform with Print dialog window. My requirement is If I print some customer info It has to show the scustomer & spool no after that I should print immediately without showing Printer dialog screen. This is working fine in DEV.
But When I execute in QAS. A small dialog window apperaing with Printer name and IP Address with Properties button disabled only Ok button is enabled. I don't how this dialog screen is appear in QAS only. Any idea please Advice.
(The Pop window which I am getting is not same as standard dialog screen when we excute the smartform )
Please refer my below code.
lv_options-tdimmed = ''. "Print immidiately
lv_options-tdnewid = 'X'.
lv_control-no_dialog = 'X'.
V_USER = ' '
CALL FUNCTION fm_name
EXPORTING
control_parameters = lv_control
output_options = lv_options
user_settings = v_user
v_kdate = v_kdate
v_bukrs = v_bukrs
v2_kunnr = wa_cust-kunnr
IMPORTING
job_output_info = job_output_info
TABLES
it_cust = it_cust
it_tab = it_tab
it_due = it_due
it_tbalance = it_tbalance
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
Thanks