<?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: Open Dataset - Invalid Argument in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-invalid-argument/m-p/1755804#M327461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check with basis if you are authorized for that directors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Dec 2006 12:42:15 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2006-12-08T12:42:15Z</dc:date>
    <item>
      <title>Open Dataset - Invalid Argument</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-invalid-argument/m-p/1755803#M327460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having the following issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to copy a file from one network directory to another network directory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using gui_upload/gui_download i have no problem when the file does not contain a large amount of data but if the file contains a large amount of data, i'm using the "open dataset" sentence and there is where i'm having the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting an &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;"Invalid Argument"&lt;/P&gt; message when i try to create a file in the network directory. &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;.............&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET p_filed IN TEXT MODE ENCODING UTF-8 FOR OUTPUT MESSAGE msg.
    IF sy-subrc &amp;lt;&amp;gt; 0.  "&amp;lt;- here Sy-subrc value is 8.
      CONCATENATE 'Error: ' msg INTO msg.
      MESSAGE e208(00) WITH msg. "&amp;lt;- here msg = 'Error: Invalid Argument'
    ENDIF.
    DO.
      READ DATASET p_fileo INTO line.
      IF sy-subrc &amp;lt;&amp;gt; 0.
        EXIT.
      ENDIF.
      TRANSFER line TO p_filed.
    ENDDO.
    CLOSE DATASET p_fileo.
    CLOSE DATASET p_filed.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the moment of the open dataset for output, p_filed = +&lt;/P&gt;&lt;P&gt;FsurbDataurbshareProyectoorionTermobarrancas-ConstrucciónValuaciones de Obra5300000030.xls+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using another directory the "open dataset" works perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be happening ? What can i do to solve this issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think is an authorization problem, because gui_download/gui_upload works fine ( with a file with a small amount of data )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate your help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 12:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-invalid-argument/m-p/1755803#M327460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T12:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset - Invalid Argument</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-invalid-argument/m-p/1755804#M327461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check with basis if you are authorized for that directors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 12:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-invalid-argument/m-p/1755804#M327461</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-12-08T12:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset - Invalid Argument</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-invalid-argument/m-p/1755805#M327462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- with the gui_download is the authority of your nValuaciones de Obra5300000030.xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2006 12:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-invalid-argument/m-p/1755805#M327462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-08T12:43:26Z</dc:date>
    </item>
  </channel>
</rss>

