<?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: PDF with object method : how put data from an internal table ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-with-object-method-how-put-data-from-an-internal-table/m-p/8400683#M1644737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi u can use  'Convert_OTF'. I have not seen any method for the same even when i did my dynpro object also we were using the same FM as no methods were available. I am not pretty sure on the methods availability though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Dec 2011 08:59:23 GMT</pubDate>
    <dc:creator>lalitha_mantha</dc:creator>
    <dc:date>2011-12-20T08:59:23Z</dc:date>
    <item>
      <title>PDF with object method : how put data from an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-with-object-method-how-put-data-from-an-internal-table/m-p/8400680#M1644734</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 need to put some data on a pdf coming from an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me the object method from if_fp_pdf_object to do it ? Is it set_data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 14:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-with-object-method-how-put-data-from-an-internal-table/m-p/8400680#M1644734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-19T14:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: PDF with object method : how put data from an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-with-object-method-how-put-data-from-an-internal-table/m-p/8400681#M1644735</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;You can put internal table data into PDF by using the following FM in sequence.&lt;/P&gt;&lt;P&gt;1.) "CONVERT_OTF"       -&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt; Put Format = "PDF"&lt;/P&gt;&lt;P&gt;2.) "SX_TABLE_LINE_WIDTH_CHANGE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that if you want to mail this pdf as an attachment in email, you can use this FM "SO_NEW_DOCUMENT_ATT_SEND_API1".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward with points if it is helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Virendra Kedia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 05:53:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-with-object-method-how-put-data-from-an-internal-table/m-p/8400681#M1644735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T05:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: PDF with object method : how put data from an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-with-object-method-how-put-data-from-an-internal-table/m-p/8400682#M1644736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i want to know if there is a method to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a part of my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TRY.&lt;/P&gt;&lt;P&gt;*Create pdf object.&lt;/P&gt;&lt;P&gt;      l_pdfobj = l_fp-&amp;gt;create_pdf_object( ).&lt;/P&gt;&lt;P&gt;*Set template.&lt;/P&gt;&lt;P&gt;      l_pdfobj-&amp;gt;set_template( xftfile  = l_xftref&lt;/P&gt;&lt;P&gt;                            fillable = p_int ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set data&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     l_pdfobj-&amp;gt;set_data( formdata = t_opnot_ef ).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*Tell PDF object to create PDF.&lt;/P&gt;&lt;P&gt;      l_pdfobj-&amp;gt;set_task_renderpdf( dynamic = p_dyn ).&lt;/P&gt;&lt;P&gt;*Execute, call ADS.&lt;/P&gt;&lt;P&gt;      l_pdfobj-&amp;gt;execute( ).&lt;/P&gt;&lt;P&gt;*Get result.&lt;/P&gt;&lt;P&gt;      l_pdfobj-&amp;gt;get_pdf( IMPORTING pdfdata = l_pdfresult ).&lt;/P&gt;&lt;P&gt;    CATCH cx_fp_runtime_internal&lt;/P&gt;&lt;P&gt;          cx_fp_runtime_system&lt;/P&gt;&lt;P&gt;          cx_fp_runtime_usage INTO l_fpex.&lt;/P&gt;&lt;P&gt;      l_error = l_fpex-&amp;gt;get_errmsg( ).&lt;/P&gt;&lt;P&gt;      MESSAGE l_error TYPE 'E'.&lt;/P&gt;&lt;P&gt;  ENDTRY.&lt;/P&gt;&lt;P&gt;  PERFORM download_file USING l_pdfresult p_pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to know which method i can use for object  l_pdfobj to put data from an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 08:13:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-with-object-method-how-put-data-from-an-internal-table/m-p/8400682#M1644736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-20T08:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: PDF with object method : how put data from an internal table ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-with-object-method-how-put-data-from-an-internal-table/m-p/8400683#M1644737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi u can use  'Convert_OTF'. I have not seen any method for the same even when i did my dynpro object also we were using the same FM as no methods were available. I am not pretty sure on the methods availability though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 08:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-with-object-method-how-put-data-from-an-internal-table/m-p/8400683#M1644737</guid>
      <dc:creator>lalitha_mantha</dc:creator>
      <dc:date>2011-12-20T08:59:23Z</dc:date>
    </item>
  </channel>
</rss>

