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

SMARTFORM

Hi ,

I have developed a SMARTFORM which looks good. But when i use TCODE "PDF!" it looks better than the normal SF.

When i give print the SF is coming as normal one not as PDF!.

is there any way to make a SF look and feel much better or like PDF! when we give a print?

Thanks

Vijay Vikram

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 10, 2013 at 07:01 AM

    Try passing the OTF table of the smartform to the function module SSFCOMP_PDF_PREVIEW.

    To get the OTF Format

    While calling the smartform get the importing parameter job_output_info and get the details of table otfdata in job_output_info.Pass the importing parameter control_parameters with

    getotf = 'X' and no_dialog = 'X'.


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      To print a Smart Form in PDF, the Smart Forms OTF output has to be converted to PDF.

      The restrictions in Note 323736 apply to all the options listed below for PDF conversion.

      You can print a Smart Form in PDF as follows:

      • As of Basis Release 4.6D, you can use the device type PDF1 to print documents in PDF. This device type does not, however, contain all possible fonts and has to be extended for customer-specific fonts. See Note 317851 for PDF output in older releases.
      • You can return OTF as a table in the application program and convert this output to PDF. You can dynamically assign a device type for multi-lingual forms, using a function module (see Activities).
      • You can activate a PDF conversion when printing a Smart Form using SAPconnect.

      http://scn.sap.com/thread/369787

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.