<?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: OPENDATA SET creating file error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211612#M1377739</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;How are you declaring the variable path? Also check if you have appropriate authorizatoin for creating a file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 07:48:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-08T07:48:31Z</dc:date>
    <item>
      <title>OPENDATA SET creating file error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211611#M1377738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;i am working on creating a text file in Application server using OPNDATASET. i have codes as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;path = /user/sap/data/txt&lt;/P&gt;&lt;P&gt;OPEN DATASET path FOR OUTPUT IN text MODE   .&lt;/P&gt;&lt;P&gt;loop at t_cmex.&lt;/P&gt;&lt;P&gt;transfer t_cmex to path.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;close dataset path.&lt;/P&gt;&lt;P&gt;but when the open data statment executes its gving sy-subrc = 8 and not creating the file.&lt;/P&gt;&lt;P&gt;plz help me with the same.&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 07:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211611#M1377738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-08T07:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: OPENDATA SET creating file error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211612#M1377739</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;How are you declaring the variable path? Also check if you have appropriate authorizatoin for creating a file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 07:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211612#M1377739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-08T07:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: OPENDATA SET creating file error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211613#M1377740</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;Your filepath seems to be incomplete, I suggest you to set your path with an explicit file extension such as;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;path = /user/sap/data/test.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And make sure that necessary authorizations have been granted to write on that filepath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ozcan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 07:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211613#M1377740</guid>
      <dc:creator>former_member848108</dc:creator>
      <dc:date>2009-10-08T07:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: OPENDATA SET creating file error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211614#M1377741</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;data:   V_PHYFIL_CSV like V_EXCEL_STRING value&lt;/P&gt;&lt;P&gt;'&lt;BR /&gt;Sapbwgrp\rice\IN\inv\BI_Cycle_Count.csv'.&lt;/P&gt;&lt;P&gt;    OPEN DATASET v_phyfil_csv FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this is working at my end, check out for the file path.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 08:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211614#M1377741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-08T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: OPENDATA SET creating file error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211615#M1377742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi Mahesh, 
You can try like below. At least you can come to know what causing the problem.
&lt;PRE&gt;&lt;CODE&gt;
DATA : msg TYPE string.
OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT MESSAGE msg.
IF sy-subrc NE 0.
  WRITE msg.
ELSE.
  "Your code
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 10:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211615#M1377742</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-10-08T10:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: OPENDATA SET creating file error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211616#M1377743</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;The file path is case sensitive. Declare it as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : input type cffile-filename  obligatory default  '/usr/sap/work/BPFILES.txt'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 10:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211616#M1377743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-08T10:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: OPENDATA SET creating file error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211617#M1377744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at tcmex.&lt;/P&gt;&lt;P&gt;concatenate tcmex-field1&lt;/P&gt;&lt;P&gt;                     tcmex-field2  &lt;/P&gt;&lt;P&gt;                     tcmex-field3                              &lt;/P&gt;&lt;P&gt;             into v_string separated&lt;/P&gt;&lt;P&gt;             by cl_abap_char_utilities=&amp;gt;horizontal_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    transfer v_string to path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 11:48:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/opendata-set-creating-file-error/m-p/6211617#M1377744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-08T11:48:03Z</dc:date>
    </item>
  </channel>
</rss>

