Skip to Content

Conversion of Layout to PDF

Hi !

How can i convert the Layout of a form to PDF format

than send it by mail ?

Is it possible with OPEN_FORM Function Module ?

Regards

Sachin S Murab

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Posted on Jan 04, 2005 at 12:43 PM

    Hello,

    Please follow the steps:

    1. Mark 'X' in the field TDGETOTF of the structure ITCPO of the FM: OPEN_FORM.

    2. You will get the OTF data of the form in tables parameter of the FM: CLOSE_FORM.

    3. The OTF data may be converted to PDF data by FM: CONVERT_OTF_2_PDF.

    4. This PDF data may be downloaded by FM: WS_DOWNLOAD or GUI_DOWNLOAD.

    5. You can send this as attachment as a mail by FM: SO_NEW_DOCUMENT_ATT_SEND_API1. Detailed documentation is available for this FM.

    I hope this helps you.

    Regards, Murugesh AS

    Message was edited by: Murugesh Arcot

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Jan 04, 2005 at 12:33 PM

    Hello Sachin,

    Part of your problem can be solved using

    FM:CONVERT_OTF_2_PDF

    to convert the sapscript into PDF.

    Samir

    Add comment
    10|10000 characters needed characters exceeded