<?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 How to read the contentsof a file? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-contentsof-a-file/m-p/6114229#M1362792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some attachments uploaded into a transaction code - where in by clicking a button, a pop up will appear and I can attach a pdf or word or excel orany thing - but mostly we use pdf and word docs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to retrieve these attachments and store them in the local directory or amy mapped folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the task is to store these on the application server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To achieve this, I used func mod SO_REPLI_DOCUMENT_READ, which gives the contents of the file in the internal table objcont - as a numbered format with the folder info also included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I used OPEN DATASET to create a PDF file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I transfer the contents of the internal table objcont to the file, subrc is 0 but the file is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise how to achive this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2009 02:41:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-02T02:41:08Z</dc:date>
    <item>
      <title>How to read the contentsof a file?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-contentsof-a-file/m-p/6114229#M1362792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some attachments uploaded into a transaction code - where in by clicking a button, a pop up will appear and I can attach a pdf or word or excel orany thing - but mostly we use pdf and word docs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to retrieve these attachments and store them in the local directory or amy mapped folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the task is to store these on the application server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To achieve this, I used func mod SO_REPLI_DOCUMENT_READ, which gives the contents of the file in the internal table objcont - as a numbered format with the folder info also included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I used OPEN DATASET to create a PDF file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I transfer the contents of the internal table objcont to the file, subrc is 0 but the file is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise how to achive this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 02:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-contentsof-a-file/m-p/6114229#M1362792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-02T02:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the contentsof a file?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-contentsof-a-file/m-p/6114230#M1362793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved on my own&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 19:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-read-the-contentsof-a-file/m-p/6114230#M1362793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-21T19:54:27Z</dc:date>
    </item>
  </channel>
</rss>

