<?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 Strange Error ! For Reading Application Server File in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-error-for-reading-application-server-file/m-p/2391977#M532025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting very strange error while compliling my code. As I am reading a text file for input from Application server for further processing. But my system is giving me an error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the file and the path is not yet configured on the application server but i believe &lt;/P&gt;&lt;P&gt;it has to allow me to compile the program and when i execute it then it will give an error as I have tracked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pasted the code below for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===============================&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty_file,&lt;/P&gt;&lt;P&gt;         line(1055) TYPE c,&lt;/P&gt;&lt;P&gt;          end of ty_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : gs_file type ty_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : g_file4 TYPE string VALUE '\usr\sap\CISCO\SP\CISCO_SP_CHG.TXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET g_file4  IN TEXT MODE FOR INPUT&lt;/P&gt;&lt;P&gt;                         ENCODING DEFAULT&lt;/P&gt;&lt;P&gt;                         WITH SMART LINEFEED.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e012.&lt;/P&gt;&lt;P&gt;    LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR : gs_file.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    READ g_file4 INTO gs_file.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND gs_file into gt_cust_tmp.&lt;/P&gt;&lt;P&gt;    clear gs_file.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLOSE DATASET g_file4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR i am getting&lt;/P&gt;&lt;P&gt;Unable to interpret g_file4. Possible cause of error "Incorrect Spelling or Comma error".&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;pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jun 2007 07:34:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-18T07:34:18Z</dc:date>
    <item>
      <title>Strange Error ! For Reading Application Server File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-error-for-reading-application-server-file/m-p/2391977#M532025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting very strange error while compliling my code. As I am reading a text file for input from Application server for further processing. But my system is giving me an error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the file and the path is not yet configured on the application server but i believe &lt;/P&gt;&lt;P&gt;it has to allow me to compile the program and when i execute it then it will give an error as I have tracked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pasted the code below for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===============================&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty_file,&lt;/P&gt;&lt;P&gt;         line(1055) TYPE c,&lt;/P&gt;&lt;P&gt;          end of ty_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : gs_file type ty_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : g_file4 TYPE string VALUE '\usr\sap\CISCO\SP\CISCO_SP_CHG.TXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET g_file4  IN TEXT MODE FOR INPUT&lt;/P&gt;&lt;P&gt;                         ENCODING DEFAULT&lt;/P&gt;&lt;P&gt;                         WITH SMART LINEFEED.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e012.&lt;/P&gt;&lt;P&gt;    LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR : gs_file.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;    READ g_file4 INTO gs_file.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      EXIT.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    APPEND gs_file into gt_cust_tmp.&lt;/P&gt;&lt;P&gt;    clear gs_file.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLOSE DATASET g_file4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR i am getting&lt;/P&gt;&lt;P&gt;Unable to interpret g_file4. Possible cause of error "Incorrect Spelling or Comma error".&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;pradeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2007 07:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-error-for-reading-application-server-file/m-p/2391977#M532025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-18T07:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Error ! For Reading Application Server File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-error-for-reading-application-server-file/m-p/2391978#M532026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TYPES : BEGIN OF ty_file,&lt;/P&gt;&lt;P&gt;line(1055) TYPE c,&lt;/P&gt;&lt;P&gt;end of ty_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : gs_file type ty_file.&lt;/P&gt;&lt;P&gt;data gt_cust_tmp type table of ty_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : g_file4 TYPE string VALUE '\usr\sap\CISCO\SP\CISCO_SP_CHG.TXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET g_file4 IN TEXT MODE FOR INPUT&lt;/P&gt;&lt;P&gt;ENCODING DEFAULT&lt;/P&gt;&lt;P&gt;WITH SMART LINEFEED.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;MESSAGE e012.&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR : gs_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;READ dataset g_file4 INTO gs_file.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;APPEND gs_file to gt_cust_tmp.&lt;/P&gt;&lt;P&gt;clear gs_file.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET g_file4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this coding. in the read statement dataset is missing.&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 03:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-error-for-reading-application-server-file/m-p/2391978#M532026</guid>
      <dc:creator>former_member219399</dc:creator>
      <dc:date>2007-06-21T03:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Error ! For Reading Application Server File</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/strange-error-for-reading-application-server-file/m-p/2391979#M532027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ensure that you are using the correct case and that it doesnt get converted automatically to uppercase since UNIX is case sensitive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, im not sure if \ or / is used in the filepath&lt;/P&gt;&lt;P&gt;Run transaction CG3Y to find out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 03:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/strange-error-for-reading-application-server-file/m-p/2391979#M532027</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2007-06-21T03:44:23Z</dc:date>
    </item>
  </channel>
</rss>

