<?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: To avoid Read error during pc upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-avoid-read-error-during-pc-upload/m-p/8024213#M1609182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it myself. &lt;/P&gt;&lt;P&gt;I used method METHOD cl_gui_frontend_services=&amp;gt;file_exist&lt;/P&gt;&lt;P&gt;to check in my program if the file/path exists then only proceed else exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thast how it resolved my issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2011 09:59:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-28T09:59:21Z</dc:date>
    <item>
      <title>To avoid Read error during pc upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-avoid-read-error-during-pc-upload/m-p/8024212#M1609181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a program to upload attachments from my PC to the General Tasklist(IA06). I am using FM SO_DOCUMENT_REPOSITORY_MANAGER for attaching the documents. I give one input file(excel) to my programs selection screen which has 4 columns group,counter,title and path(for containing the attachment). My program also displays the output but only for erroneous records incase the attachment did not upload for any task list. However , incase the input file has wrong path for attachments it gives error pop up 'Read error during pc upload '. This comes after execution of FM SO_DOCUMENT_REPOSITORY_MANAGER. And the FM's subrc becomes 0. so it doesn't actually behaves as an error and hence my program can not show this record in erroneous records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how can I avoid this pop up and handle this as an error in my program after this FM SO_DOCUMENT_REPOSITORY_MANAGER is called. Or is there any other FM which could be useful. &lt;/P&gt;&lt;P&gt;Please suggest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: MK18774 on Jul 28, 2011 9:06 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 06:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-avoid-read-error-during-pc-upload/m-p/8024212#M1609181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T06:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: To avoid Read error during pc upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-avoid-read-error-during-pc-upload/m-p/8024213#M1609182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it myself. &lt;/P&gt;&lt;P&gt;I used method METHOD cl_gui_frontend_services=&amp;gt;file_exist&lt;/P&gt;&lt;P&gt;to check in my program if the file/path exists then only proceed else exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thast how it resolved my issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-avoid-read-error-during-pc-upload/m-p/8024213#M1609182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T09:59:21Z</dc:date>
    </item>
  </channel>
</rss>

