<?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: Problem in open data set in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741594#M1458690</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;There is a basic difference between GUI upload and OPEN Dataset.&lt;/P&gt;&lt;P&gt;GUI uploads uploads file from presentation server into SAP. But Open dataset uploads from application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U seem to be trying to use open dataset for a file on ur desktop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Mar 2010 09:04:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-23T09:04:18Z</dc:date>
    <item>
      <title>Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741592#M1458688</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 have file which i can read from GUI_UPLOAD but we need to read it &lt;/P&gt;&lt;P&gt;on OPEN DATASET for that i use the following code but i get in mess &lt;/P&gt;&lt;P&gt;No such file or directory &lt;/P&gt;&lt;P&gt;What i miss here since when i try to open it from start-&amp;gt;run it's work and &lt;/P&gt;&lt;P&gt;also in GUI_UPLAOD but not in open data set &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   OPEN DATASET lv_path_file FOR INPUT IGNORING CONVERSION ERRORS&lt;/P&gt;&lt;P&gt;    IN TEXT MODE ENCODING DEFAULT MESSAGE mess .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 08:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741592#M1458688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T08:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741593#M1458689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR INPUT is to read a already existing file in the application server. You will have to use FOR OUTPUT if you are creating the file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
OPEN DATASET lv_path_file FOR OUTPUT IGNORING CONVERSION ERRORS
IN TEXT MODE ENCODING DEFAULT MESSAGE mess .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:02:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741593#M1458689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T09:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741594#M1458690</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;There is a basic difference between GUI upload and OPEN Dataset.&lt;/P&gt;&lt;P&gt;GUI uploads uploads file from presentation server into SAP. But Open dataset uploads from application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U seem to be trying to use open dataset for a file on ur desktop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741594#M1458690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T09:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741595#M1458691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- GUI_UPLOAD load a file from presentation server (PC, windows, eg: C:\)&lt;/P&gt;&lt;P&gt;- OPEN DATASET load a file from application server (see transactions AL11, FILE, platform dependant)&lt;/P&gt;&lt;P&gt;Where is your file stored ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741595#M1458691</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-23T09:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741596#M1458692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Vikranth ReddY ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the file is already exist so any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741596#M1458692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T09:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741597#M1458693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rajat ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i drop it to server ,&lt;/P&gt;&lt;P&gt;when the file was on the desktop i use gui upload and it work fine .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alex Dean on Mar 23, 2010 10:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741597#M1458693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T09:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741598#M1458694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought you were trying to create a file after using GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the file already exists, make sure you are passing the correct file path from AL11 also check if you are able to view the file through AL11.  Also what is the value of SY_SUBRC after the open dataset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:25:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741598#M1458694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T09:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741599#M1458695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Raymond ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Create file in transaction file and i use 'FILE_GET_NAME' FM&lt;/P&gt;&lt;P&gt;to read the file from the location but now the problem is that the read&lt;/P&gt;&lt;P&gt;dataset I  getting subrc 4 and the file contain data so what can be the reason &lt;/P&gt;&lt;P&gt;in this case ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET lv_path_file FOR INPUT IGNORING CONVERSION ERRORS
  IN text  MODE ENCODING DEFAULT MESSAGE mess .

   DO.
      READ DATASET lv_path_file INTO ls_file.
      IF sy-subrc = 0.
        APPEND ls_file TO  lt_file .
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741599#M1458695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T09:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741600#M1458696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Vikranth ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Create file in transction FILE and i use 'FILE_GET_NAME' FM&lt;/P&gt;&lt;P&gt;to read the file from the location but now the problem is that the read&lt;/P&gt;&lt;P&gt;dataset i getting subrc 4 and the file contain data so what can be the reason &lt;/P&gt;&lt;P&gt;in this case ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET lv_path_file FOR INPUT IGNORING CONVERSION ERRORS
  IN text  MODE ENCODING DEFAULT MESSAGE mess .

   DO.
      READ DATASET lv_path_file INTO ls_file.
      IF sy-subrc = 0.
        APPEND ls_file TO  lt_file .
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:40:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741600#M1458696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T09:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741601#M1458697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check authority (SU53 or SE16 on table SPTH) - Are you able to see the data from AL11, not only the file name in the list ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 4 is an EOF condition, check the linefeed default value in parameter abap/NTfmode (or add a [linefeed |http://help.sap.com/abapdocu_70/en/ABAPOPEN_DATASET_LINEFEED.htm]option to the OPEN DATASET)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741601#M1458697</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-23T09:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741602#M1458698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check whether the FM is returing logical file name or physical file name.&lt;/P&gt;&lt;P&gt;For OPEN DATASET, you need to specify the complete path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 11:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741602#M1458698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T11:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741603#M1458699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the FM-  FILE_GET_NAME return ?&lt;/P&gt;&lt;P&gt;Cross check before running the program using the file-name returned in earlier step by going to transaction AL11 (logical file paths for application server) and see if a file actually exists.&lt;/P&gt;&lt;P&gt;Plus the statement - OPEN DATASET &amp;lt;file&amp;gt; , needs not only the file directory path, but the complete file name,&lt;/P&gt;&lt;P&gt;i.e. say eg;- directory is TMP, in that a file by name "test.txt".&lt;/P&gt;&lt;P&gt;then ur filename value for OPEN DATASET should be "/tmp/test.txt".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try again this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dedeepya C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 12:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741603#M1458699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T12:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741604#M1458700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Raymond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not see the file in AL11 ,&lt;/P&gt;&lt;P&gt;now  i get sy-subrc = 0 after open data set but &lt;/P&gt;&lt;P&gt;the problem is that when i do read it's not opening (sy-subrc = 4 like below )  .any idea want could be the reason ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ DATASET lv_path_file INTO ls_file.
      IF sy-subrc = 0.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 16:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741604#M1458700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T16:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741605#M1458701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI dedeepya ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it return the file path ( the full file path) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 16:34:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741605#M1458701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T16:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741606#M1458702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I am not see the file in AL11 ,&lt;/P&gt;&lt;P&gt;&amp;gt; now  i get sy-subrc = 0 after open data set but &lt;/P&gt;&lt;P&gt;&amp;gt; the problem is that when i do read it's not opening (sy-subrc = 4 like below )  .any idea want could be the reason ?&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt;      &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;READ DATASET lv_path_file INTO ls_file.
&amp;gt;       IF sy-subrc = 0.&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you cannot see the file in the app server directory how do you expect to READ it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 16:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741606#M1458702</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-23T16:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741607#M1458703</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;Did you check autohorizations? For server application SAP uses other than your username.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Maria João Rocha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 17:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741607#M1458703</guid>
      <dc:creator>MariaJooRocha</dc:creator>
      <dc:date>2010-03-23T17:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741608#M1458704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Suhas ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the file is in server and i create entry in TR . file &lt;/P&gt;&lt;P&gt;when I do open data set i get subrc = 0, &lt;/P&gt;&lt;P&gt;i guess  if it dont find the  file the i get subrc 8 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bu the read is not work well do you have any idea ?&lt;/P&gt;&lt;P&gt;p.s. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you say that if the file is not exist in AL11 i cant read it so i need to create entry there &lt;/P&gt;&lt;P&gt;and dont use TR.FILE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 17:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741608#M1458704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T17:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741609#M1458705</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;I dont think that this relate to authorisation since it's not fail in open data set ,&lt;/P&gt;&lt;P&gt;i get subrc = 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 17:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741609#M1458705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T17:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741610#M1458706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are doing in FILE is basically creating logical filename &amp;amp; filepath. When you do so you donot create a physical file with its contents in the app server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 4 for READ DATASET implies that End Of File is reached &amp;amp; there are no contents in the file left to be read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/abapdocu_70/en/ABAPREAD_DATASET.htm|http://help.sap.com/abapdocu_70/en/ABAPREAD_DATASET.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have uploaded an empty file in the app server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Try uploading the file to the app server using CG3Z trxn or CACS_FILE_COPY trxn &amp;amp; check if the READ DATASET stmt is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Mar 23, 2010 11:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 18:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741610#M1458706</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-03-23T18:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in open data set</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741611#M1458707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is your ls_file declared, try changing it into a variable of type string or use a field symbol and try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Mar 2010 04:01:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-open-data-set/m-p/6741611#M1458707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-24T04:01:10Z</dc:date>
    </item>
  </channel>
</rss>

