<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Report :pdf format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-pdf-format/m-p/3444671#M827264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jan 2011 07:20:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-17T07:20:54Z</dc:date>
    <item>
      <title>Report :pdf format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-pdf-format/m-p/3444669#M827262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need one report wch inter table to PDF ot HTML format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 10:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-pdf-format/m-p/3444669#M827262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T10:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Report :pdf format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-pdf-format/m-p/3444670#M827263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this code it might be help you. it is for converting report to pDF format &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_cparam TYPE ssfctrlop,&lt;/P&gt;&lt;P&gt;  w_outoptions TYPE ssfcompop,&lt;/P&gt;&lt;P&gt;  w_bin_filesize TYPE i, " Binary File Size&lt;/P&gt;&lt;P&gt;  w_file_name TYPE string,&lt;/P&gt;&lt;P&gt;  w_file_path TYPE string,&lt;/P&gt;&lt;P&gt;  w_full_path TYPE string,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_otf[] = t_otf_from_fm-otfdata[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Function Module CONVERT_OTF is used to convert the OTF format to PDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        format                = 'PDF'&lt;/P&gt;&lt;P&gt;        max_linewidth         = 132&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        bin_filesize          = w_bin_filesize&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        otf                   = t_otf&lt;/P&gt;&lt;P&gt;        lines                 = t_pdf_tab&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        err_max_linewidth     = 1&lt;/P&gt;&lt;P&gt;        err_format            = 2&lt;/P&gt;&lt;P&gt;        err_conv_not_possible = 3&lt;/P&gt;&lt;P&gt;        err_bad_otf           = 4&lt;/P&gt;&lt;P&gt;        OTHERS                = 5.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;To display File SAVE dialog window&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL METHOD cl_gui_frontend_services=&amp;gt;file_save_dialog&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        filename             = w_file_name&lt;/P&gt;&lt;P&gt;        path                 = w_file_path&lt;/P&gt;&lt;P&gt;        fullpath             = w_full_path&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        cntl_error           = 1&lt;/P&gt;&lt;P&gt;        error_no_gui         = 2&lt;/P&gt;&lt;P&gt;        not_supported_by_gui = 3&lt;/P&gt;&lt;P&gt;        OTHERS               = 4.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Use the FM GUI_DOWNLOAD to download the generated PDF file onto the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;presentation server&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        bin_filesize            = w_bin_filesize&lt;/P&gt;&lt;P&gt;        filename                = w_full_path&lt;/P&gt;&lt;P&gt;        filetype                = 'BIN'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        data_tab                = t_pdf_tab&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        file_write_error        = 1&lt;/P&gt;&lt;P&gt;        no_batch                = 2&lt;/P&gt;&lt;P&gt;        gui_refuse_filetransfer = 3&lt;/P&gt;&lt;P&gt;        invalid_type            = 4&lt;/P&gt;&lt;P&gt;        no_authority            = 5&lt;/P&gt;&lt;P&gt;        unknown_error           = 6&lt;/P&gt;&lt;P&gt;        header_not_allowed      = 7&lt;/P&gt;&lt;P&gt;        separator_not_allowed   = 8&lt;/P&gt;&lt;P&gt;        filesize_not_allowed    = 9&lt;/P&gt;&lt;P&gt;        header_too_long         = 10&lt;/P&gt;&lt;P&gt;        dp_error_create         = 11&lt;/P&gt;&lt;P&gt;        dp_error_send           = 12&lt;/P&gt;&lt;P&gt;        dp_error_write          = 13&lt;/P&gt;&lt;P&gt;        unknown_dp_error        = 14&lt;/P&gt;&lt;P&gt;        access_denied           = 15&lt;/P&gt;&lt;P&gt;        dp_out_of_memory        = 16&lt;/P&gt;&lt;P&gt;        disk_full               = 17&lt;/P&gt;&lt;P&gt;        dp_timeout              = 18&lt;/P&gt;&lt;P&gt;        file_not_found          = 19&lt;/P&gt;&lt;P&gt;        dataprovider_exception  = 20&lt;/P&gt;&lt;P&gt;        control_flush_error     = 21&lt;/P&gt;&lt;P&gt;        OTHERS                  = 22.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 10:05:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-pdf-format/m-p/3444670#M827263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T10:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Report :pdf format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-pdf-format/m-p/3444671#M827264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 07:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-pdf-format/m-p/3444671#M827264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-17T07:20:54Z</dc:date>
    </item>
  </channel>
</rss>

