Skip to Content
author's profile photo Former Member
Former Member

How to get the print preview of smart forms.

When i am converting the smart form into pdf format and attaching it in a mail, i am not able to get the print preview.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2007 at 07:41 AM

    Hi Gaurav,

    Before calling the function module for conversion to pdf, you need to declare in the following manner:

    data: cparam type ssfctrlop,

    out_op type ssfcompop.

    now to enable the preview popup.

    out_op-tddest = 'LP01'.

    cparam-no_dialog = ' '.

    cparam-preview = 'X'.

    cparam-getotf = 'X'.

    And perform the following operation:

    calling the generated function module

    call function fm_name

    exporting

    control_parameters = cparam

    output_options = out_op

    (......).

    finally

    call function 'CONVERT_OTF'.

    *Reward Points.

    Regards,

    -Syed.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2007 at 07:34 AM

    hi gaurav,

    just excute your smartforms<b> fm</b> to see the privew of smartforms.

    regards,

    seshu.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2007 at 10:46 AM

    hi

    good

    while tesing the smartform enter the printer as lp01 and click the print preview button.

    thanks

    mrutyun^

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.