Skip to Content
avatar image
Former Member

reg sf prob?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Dec 31, 2008 at 12:01 PM

    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

    Add comment
    10|10000 characters needed characters exceeded