<?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: archivobject_get_table output into pdf in application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/734071#M34706</link>
    <description>&lt;P&gt;could you try to convert it to 255 raw type before transfer to application server,like this:&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;CL_RMPS_GENERAL_FUNCTIONS=&amp;gt;CONVERT_1024_TO_255( ).&lt;/P&gt;
  &lt;P&gt;you may read dataset right after transfer to application server and download by gui_dowload to check if your uploaded file really uploaded succesful or not.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jul 2018 00:34:24 GMT</pubDate>
    <dc:creator>DoanManhQuynh</dc:creator>
    <dc:date>2018-07-31T00:34:24Z</dc:date>
    <item>
      <title>archivobject_get_table output into pdf in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/734068#M34703</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I have used ARCHIVOBJECT_GET_TABLE to retrieve the data into two output tables i.e IT_ARCHIVOBJECT and IT_BINARCHIVOBJECT.&lt;/P&gt;
  &lt;P&gt;OPEN DATASET is used to write the pdf file into application server for the IT_BINARCHIVOBJECT.&lt;/P&gt;
  &lt;P&gt;The file is successfully saved in the application server.&lt;/P&gt;
  &lt;P&gt;When i try to download the pdf file manually and read, the file is not getting opened in the local machine (after downloading).&lt;/P&gt;
  &lt;P&gt;If the same internal table (IT_BINARCHIVOBJECT) is passed into gui_download and the file is successfully downloaded in the local and the file is readable if we open.&lt;/P&gt;
  &lt;P&gt;BUT, why the pdf is getting corrupted when i download it from application server?&lt;/P&gt;
  &lt;P&gt;Did i miss anything before writing the file into application server?&lt;/P&gt;
  &lt;P&gt;Please help..&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Pavan&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 15:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/734068#M34703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-07-30T15:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: archivobject_get_table output into pdf in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/734069#M34704</link>
      <description>&lt;P&gt;because either your "DATASET code" or the way you get the file from the application server is buggy.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 16:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/734069#M34704</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2018-07-30T16:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: archivobject_get_table output into pdf in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/734070#M34705</link>
      <description>&lt;P&gt;Hi Sandra,&lt;/P&gt;
  &lt;P&gt;I have used the statement like this in my code.&lt;/P&gt;
  &lt;P&gt;OPEN DATASET p_path FOR OUTPUT IN BINARY MODE.&lt;/P&gt;
  &lt;P&gt;The variable p_path is having application server with filename with .pdf extension.&lt;/P&gt;
  &lt;P&gt;When we see the AL11 destination folder, the pdf file will be seen with it's name.&lt;/P&gt;
  &lt;P&gt;If the same file is downloaded into local machine by transaction CG3Y, the file can not be opened with the following error.&lt;/P&gt;
  &lt;P&gt;Adobe Acrobat reader can not open file &amp;lt;filename&amp;gt;..... &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 16:43:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/734070#M34705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-07-30T16:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: archivobject_get_table output into pdf in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/734071#M34706</link>
      <description>&lt;P&gt;could you try to convert it to 255 raw type before transfer to application server,like this:&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;CL_RMPS_GENERAL_FUNCTIONS=&amp;gt;CONVERT_1024_TO_255( ).&lt;/P&gt;
  &lt;P&gt;you may read dataset right after transfer to application server and download by gui_dowload to check if your uploaded file really uploaded succesful or not.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 00:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/734071#M34706</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2018-07-31T00:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: archivobject_get_table output into pdf in application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/14010069#M2038442</link>
      <description>&lt;P&gt;I also have this issue and I have resolved. Thanks&amp;nbsp; Quynh&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 06:46:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archivobject-get-table-output-into-pdf-in-application-server/m-p/14010069#M2038442</guid>
      <dc:creator>QuanPham</dc:creator>
      <dc:date>2025-02-07T06:46:25Z</dc:date>
    </item>
  </channel>
</rss>

