cancel
Showing results for 
Search instead for 
Did you mean: 

reg sf prob?

Former Member
0 Kudos

hi

i have a custom sf. when ever i excute the sf there is dialogbox comes for printer details . how to avoid that ? when i checked print option on selection screen my form has to run in back ground mode n print should come how to do it ?

regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

Pass these vales to the parameter to the smartform FM output_options & control_parameters

output_options-tddest = '277H'.

output_options-rqposname = 'Test'.

output_options-tdnewid = 'X'.

output_options-tdimmed = ' '.

control_parameters-no_dialog = 'X'.

CALL FUNCTION v_fm_name

EXPORTING

control_parameters = control_parameters

output_options = output_options

p_letter = l_letter

  • IMPORTING

  • document_output_info = st_document_output_info

  • job_output_info = st_job_output_info

  • job_output_options = st_job_output_options

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5.

Edited by: avinash kodarapu on Dec 31, 2008 5:31 PM

Former Member
0 Kudos

after passing this parameters also dialogbox coming . any one help me

Former Member
0 Kudos

refer to below link...

Answers (0)