<?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 Issues with SAPSCRIPT &amp; PDF creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-sapscript-pdf-creation/m-p/1472867#M222044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Requirement: When a particular output type of a billing document is processed, an email is to be generated with PDF attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a custom program and SAPscript.&lt;/P&gt;&lt;P&gt;But I am facing two major issues here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When processing the output type via RSNAST00, the data gets reflected in the SAPscript. But when the same output type is processed via transaction VF31, no data is passed to the script and the output appears as blank for the fields.&lt;/P&gt;&lt;P&gt;The fields referenced in the script is with the dictionary structure VBRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The output is converted into PDF using the function CONVERT_OTF. Currently I have one logo in the Script which needs to be replaced with a better one and when that is done, seventh the window size is much bigger, the generated PDF does not open and displays the error 'There was an error opening the document. The file is damaged and could not be repaired.'&lt;/P&gt;&lt;P&gt;If I pass the same internal table to the function GUI_DOWNLOAD and save the file to local PC, the file opens neatly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide with your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2006 19:16:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-25T19:16:28Z</dc:date>
    <item>
      <title>Issues with SAPSCRIPT &amp; PDF creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-sapscript-pdf-creation/m-p/1472867#M222044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Requirement: When a particular output type of a billing document is processed, an email is to be generated with PDF attachments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a custom program and SAPscript.&lt;/P&gt;&lt;P&gt;But I am facing two major issues here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. When processing the output type via RSNAST00, the data gets reflected in the SAPscript. But when the same output type is processed via transaction VF31, no data is passed to the script and the output appears as blank for the fields.&lt;/P&gt;&lt;P&gt;The fields referenced in the script is with the dictionary structure VBRP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The output is converted into PDF using the function CONVERT_OTF. Currently I have one logo in the Script which needs to be replaced with a better one and when that is done, seventh the window size is much bigger, the generated PDF does not open and displays the error 'There was an error opening the document. The file is damaged and could not be repaired.'&lt;/P&gt;&lt;P&gt;If I pass the same internal table to the function GUI_DOWNLOAD and save the file to local PC, the file opens neatly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide with your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 19:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-sapscript-pdf-creation/m-p/1472867#M222044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T19:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with SAPSCRIPT &amp; PDF creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-sapscript-pdf-creation/m-p/1472868#M222045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the processing mode you select in VF31 correct?&lt;/P&gt;&lt;P&gt;Also, did you debug and see the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 20:47:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-sapscript-pdf-creation/m-p/1472868#M222045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T20:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with SAPSCRIPT &amp; PDF creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-sapscript-pdf-creation/m-p/1472869#M222046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raj.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the processing mode was correct, The same thing works OK through RSNAST00 program while I encounter error through VF31 transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 21:35:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-sapscript-pdf-creation/m-p/1472869#M222046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T21:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with SAPSCRIPT &amp; PDF creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-sapscript-pdf-creation/m-p/1472870#M222047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the print program copy of sap standard program? if not, do you have TABLES NAST declared in ur program and use NAST-OBJKY as the doc number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 21:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-sapscript-pdf-creation/m-p/1472870#M222047</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-07-25T21:44:23Z</dc:date>
    </item>
  </channel>
</rss>

