cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Printer Dialog window in Smartforms

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved by self

Former Member
0 Kudos

Hi,

Please explain how did you solve your problem. I am facing the same problem.

Regards,

Kaustubh.