<?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 move pdf file into application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-pdf-file-into-application-server/m-p/2810265#M656912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAP Gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want your valuable help in solving my problem. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   i tried to create PDF file in application server and its creating as &lt;/P&gt;&lt;P&gt;PDF file in Application server..but i am unable to see the content in text , &lt;/P&gt;&lt;P&gt;instead it is displaying in binary content...but when i tried to create &lt;/P&gt;&lt;P&gt;in presentation server i am able to see it as text in PDF file.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please let me know whats wrong in my work and how to create a PDF file &lt;/P&gt;&lt;P&gt;in Application server with text content &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards, &lt;/P&gt;&lt;P&gt;Gowri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2007 10:32:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-21T10:32:01Z</dc:date>
    <item>
      <title>move pdf file into application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-pdf-file-into-application-server/m-p/2810265#M656912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAP Gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want your valuable help in solving my problem. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   i tried to create PDF file in application server and its creating as &lt;/P&gt;&lt;P&gt;PDF file in Application server..but i am unable to see the content in text , &lt;/P&gt;&lt;P&gt;instead it is displaying in binary content...but when i tried to create &lt;/P&gt;&lt;P&gt;in presentation server i am able to see it as text in PDF file.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please let me know whats wrong in my work and how to create a PDF file &lt;/P&gt;&lt;P&gt;in Application server with text content &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards, &lt;/P&gt;&lt;P&gt;Gowri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 10:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-pdf-file-into-application-server/m-p/2810265#M656912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T10:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: move pdf file into application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-pdf-file-into-application-server/m-p/2810266#M656913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gowri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this example....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ztest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;field(256),&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;data: dsn(100) value '/usr/sap/xfr/FIS/testpdf',&lt;/P&gt;&lt;P&gt;length like sy-tabix,&lt;/P&gt;&lt;P&gt;lengthn like sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;filename = 'c:\temp\test.pdf'&lt;/P&gt;&lt;P&gt;filetype = 'BIN'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;filelength = length&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;data_tab = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset dsn for output in binary mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;transfer itab-field to dsn.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;close dataset dsn.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;refresh itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*- To crosscheck if it went well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset dsn for input in binary mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;read dataset dsn into itab-field.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;filename = 'c:\temp\testn.pdf'&lt;/P&gt;&lt;P&gt;filetype = 'BIN'&lt;/P&gt;&lt;P&gt;bin_filesize = length&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;filelength = lengthn&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;data_tab = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the TCode&lt;/P&gt;&lt;P&gt;CG3Z or CG3Y&lt;/P&gt;&lt;P&gt;for downloading to Application Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reward If helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 10:34:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-pdf-file-into-application-server/m-p/2810266#M656913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T10:34:47Z</dc:date>
    </item>
  </channel>
</rss>

