Skip to Content
avatar image
Former Member

Out Put type problem

Hi All,

I have created an outputtype for Invoice and cofigured in nace. While print previewing, it is not generating print preview. But if set a break point in samart form the focus is getting.

can u seggest me what is the problem?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Nov 04, 2008 at 08:57 AM

    Hi,

    But if set a break point in samart form the focus is getting.

    Did not get what you meant to say...pls elaborate.

    Regards,

    Saba

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2008 at 09:23 AM

    Hi,

    It seems like there is some formatting problem is coming while your smartform is generated with the supplied date. Before giving the print preview goto tcode SMARTFORM_TRACE and press the switch on button.

    Now try to print preview the smartform and then in the smartform_trace tcode refresh the traces. Now select the last trace and click on view button. You will come to know the problem.

    Regards

    Karthik D

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2008 at 09:56 AM

    Hi,

    Put break-point after calling smartform . Check sy-subrc value returned by call function 'smartform'.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2008 at 10:04 AM

    in the print program while calling the fm of smartform.

    make the <control-parameter>-preview = 'x'.

    for ex:

    ls_control_param-preview = 'X'.

    call function lf_fm_name

    exporting

    archive_index = toa_dara

    archive_parameters = arc_params

    control_parameters = ls_control_param

    • mail_appl_obj =

    mail_recipient = ls_recipient

    mail_sender = ls_sender

    output_options = ls_composer_param

    user_settings = ' '

    is_dlv_delnote = ls_dlv_delnote

    is_nast = nast

    importing

    job_output_info = it_job_output_info "Smart Forms: Return value at end of form printing

    exceptions formatting_error = 1

    internal_error = 2

    send_error = 3

    user_canceled = 4

    others = 5.

    Add comment
    10|10000 characters needed characters exceeded