<?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: Problem with PDF generation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-pdf-generation/m-p/6918416#M1483902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After converting PDF you can FM - QCE1_CONVERT to convert the Binary data in readble format. The FM also solve character lenght issue when character lenght is more then 132 characters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 May 2010 11:38:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-07T11:38:42Z</dc:date>
    <item>
      <title>Problem with PDF generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-pdf-generation/m-p/6918413#M1483899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FM u2018u2019 to convert spool to PDF using below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      src_spoolid              = v_sid    u201Cspool id&lt;/P&gt;&lt;P&gt;      no_dialog                = c_x      u201CX&lt;/P&gt;&lt;P&gt;      dst_device               = c_dest    u201CLOCL&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      pdf                      = it_pdf  &lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      err_no_abap_spooljob     = 1&lt;/P&gt;&lt;P&gt;      err_no_spooljob          = 2&lt;/P&gt;&lt;P&gt;      err_no_permission        = 3&lt;/P&gt;&lt;P&gt;      err_conv_not_possible    = 4&lt;/P&gt;&lt;P&gt;      err_bad_destdevice       = 5&lt;/P&gt;&lt;P&gt;      user_cancelled           = 6&lt;/P&gt;&lt;P&gt;      err_spoolerror           = 7&lt;/P&gt;&lt;P&gt;      err_temseerror           = 8&lt;/P&gt;&lt;P&gt;      err_btcjob_open_failed   = 9&lt;/P&gt;&lt;P&gt;      err_btcjob_submit_failed = 10&lt;/P&gt;&lt;P&gt;      err_btcjob_close_failed  = 11&lt;/P&gt;&lt;P&gt;      OTHERS                   = 12.&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;However, when I check the generated PDF table it is not in readable format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ㄭ㌮਍쿣ී㈊〠漠橢਍圯湩湁楳湅潣楤杮਍湥潤橢਍u2033u2030扯൪㰊഼┊敄瑶灹⁥佐呓u2032u2020䘠湯⁴佃剕䕉⁒渠牯慭⁬慌杮䔠ൎ⼊祔数⼠潆瑮਍匯扵祴数⼠祔数റ⼊慂敳潆瑮⼠潃&lt;/P&gt;&lt;P&gt;⤵਍䌯敲瑡牯⠠潆浲堠偟偁剅䔠⥎਍倯潲畤散⁲匨偁丠瑥敗癡牥㜠㄰⤠਍匥偁湩潦瑓牡⁴佔彁䅄䅒਍䘥乕呃佉㵎 u2020⤠਍䴥乁䅄呎⠽u2020⤠਍䐥䱅䑟呁㵅〨〰〰〰⤰਍匥偁&lt;/P&gt;&lt;P&gt;⠽u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020ഩ┊但䵒剁䡃噉⠽u2020ഩ┊䕒䕓噒㵅 u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020ഩ┊低䥔㵚 u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020⤠਍ⴥ u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020&lt;/P&gt;&lt;P&gt;u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020⤠਍ⴥ u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020⤠਍匥偁湩潦湅⁤佔彁䅄䅒਍㸾਍湥潤橢਍‱u2030扯൪㰊഼⼊祔数⼠慐敧൳⼊楋獤਍嵛਍䌯畯瑮〠਍&lt;/P&gt;&lt;P&gt;獕乥湯൥㸊ാ攊摮扯൪砊敲൦《㘠਍〰〰〰〰〰㘠㔵㔳映਍〰〰〰㤰㈶〠〰〰渠਍〰〰〰〰㜱〠〰〰渠਍〰〰〰〰㈵〠〰〰渠਍〰〰〰㈰㔰〠〰〰渠਍〰〰〰&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aleria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 10:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-pdf-generation/m-p/6918413#M1483899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-07T10:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with PDF generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-pdf-generation/m-p/6918414#M1483900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you debug the function module and cheke what data are you getting in  it_pdf ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depend on the data in  it_pdf  can be decide further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 11:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-pdf-generation/m-p/6918414#M1483900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-07T11:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with PDF generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-pdf-generation/m-p/6918415#M1483901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you convert spool to PDF using the FM 'CONVERT_ABAPSPOOLJOB_2_PDF'   after execuitng the FM the required table &lt;/P&gt;&lt;P&gt;it_PDF will get filled with junk character only. That is for 132 character will come after you need to convert it into 255 characters &lt;/P&gt;&lt;P&gt;after that only you can able to visble data. If you are sending as a mail attachments directly converted data you can pass into mail body that will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Thirupathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 11:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-pdf-generation/m-p/6918415#M1483901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-07T11:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with PDF generation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-pdf-generation/m-p/6918416#M1483902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After converting PDF you can FM - QCE1_CONVERT to convert the Binary data in readble format. The FM also solve character lenght issue when character lenght is more then 132 characters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 11:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-pdf-generation/m-p/6918416#M1483902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-07T11:38:42Z</dc:date>
    </item>
  </channel>
</rss>

