<?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: Converting Script To PDF (Error Message) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-script-to-pdf-error-message/m-p/1723144#M315463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys, but this is the problem, the internal&lt;/P&gt;&lt;P&gt;table is not empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the error message appears when the spool file&lt;/P&gt;&lt;P&gt;is not a SAPscript. How can I check this before trying&lt;/P&gt;&lt;P&gt;to convert?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Oct 2006 09:54:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-25T09:54:17Z</dc:date>
    <item>
      <title>Converting Script To PDF (Error Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-script-to-pdf-error-message/m-p/1723141#M315460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a piece of code which will convert SAP&lt;/P&gt;&lt;P&gt;spool files into their PDF equivalent. However, it&lt;/P&gt;&lt;P&gt;keeps crashing when trying to convert a file which&lt;/P&gt;&lt;P&gt;contains no data. I get the error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spool request 16503 contains no SAPscript data&lt;/P&gt;&lt;P&gt;Message no. TD030&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me how I can trap this error no that&lt;/P&gt;&lt;P&gt;the user does not see this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 09:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-script-to-pdf-error-message/m-p/1723141#M315460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T09:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Script To PDF (Error Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-script-to-pdf-error-message/m-p/1723142#M315461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using any tables and assigning them to function modules with no error handling techniques, this might occur.&lt;/P&gt;&lt;P&gt;jus check the structure or table, where u load the data from spool is initial. then terminate the usage of the FMs.&lt;/P&gt;&lt;P&gt;some thing like :&lt;/P&gt;&lt;P&gt;if not it_itab is initial.&lt;/P&gt;&lt;P&gt;....continue your code........&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sandeep Josyula&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*Mark helpful answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 09:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-script-to-pdf-error-message/m-p/1723142#M315461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T09:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Script To PDF (Error Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-script-to-pdf-error-message/m-p/1723143#M315462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    check for table contents before passing to FM &lt;/P&gt;&lt;P&gt;    to convert spool to pDF by this way you can &lt;/P&gt;&lt;P&gt;    elimate the error message&lt;/P&gt;&lt;P&gt;  if not itab[] is initial.&lt;/P&gt;&lt;P&gt;     call function CONVERT_ABAPSPOOLJOB_2_PDF   &lt;/P&gt;&lt;P&gt;                 CONVERT_OTFSPOOLJOB_2_PDF    &lt;/P&gt;&lt;P&gt;                             &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   endif. &lt;/P&gt;&lt;P&gt; &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;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 09:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-script-to-pdf-error-message/m-p/1723143#M315462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T09:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Script To PDF (Error Message)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-script-to-pdf-error-message/m-p/1723144#M315463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys, but this is the problem, the internal&lt;/P&gt;&lt;P&gt;table is not empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the error message appears when the spool file&lt;/P&gt;&lt;P&gt;is not a SAPscript. How can I check this before trying&lt;/P&gt;&lt;P&gt;to convert?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 09:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-script-to-pdf-error-message/m-p/1723144#M315463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T09:54:17Z</dc:date>
    </item>
  </channel>
</rss>

