<?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 P_FILE FOR INPUT IN BINARY MODE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681598#M886598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi newbie...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See...jst incase u receive only the path and that will be stored in some variable right...So before you giv that file name widut&lt;/P&gt;&lt;P&gt;the extension.....u can concatenate a variable l_ext which holds .dat to the variable which holds the file path...So ur final variable l_file path contains = "/path/file.dat"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;Navin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2008 10:32:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-18T10:32:32Z</dc:date>
    <item>
      <title>OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681588#M886588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a question for this piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET P_FILE FOR INPUT IN BINARY MODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value in P_FILE = /usr/sap/tmp/file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get sy-subrc 8&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i put value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value in P_FILE = /usr/sap/tmp/file.dat the sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this an error in code or when we do the text we must put the .dat extension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because the unit test sript said to run the test without the .dat extension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 06:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681588#M886588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T06:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681589#M886589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use full name, includin extension (all case sensitive).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 06:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681589#M886589</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-18T06:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681590#M886590</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;You must enter the file name with extension, else it wont work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember , its case sensitive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 06:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681590#M886590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T06:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681591#M886591</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;You will need to add extension, because Open dataset...in binary mode will read data as a stream..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 06:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681591#M886591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T06:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681592#M886592</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;&lt;/P&gt;&lt;P&gt;  without the extension you can not open the file.Because file is in binary mode you have to give .dat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you open in tecxt mode give .txt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward if useful....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 06:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681592#M886592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T06:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681593#M886593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what if i remove the IN BINARY MODE in code, will it accept without the .dat enven though in unix the full name is file.dat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET P_FILE FOR INPUT IN BINARY MODE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 07:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681593#M886593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T07:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681594#M886594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;haii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is in open dataset file name is case sensitive&lt;/P&gt;&lt;P&gt;so while defining parameter for file name add   LOWER CASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter : P_FILE(30) type c LOWER CASE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;sarath p&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 07:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681594#M886594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T07:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681595#M886595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Newbie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u pass the file path it is necessary to have an extension,&lt;/P&gt;&lt;P&gt;So u will hav to provide the file path which has an extension like .dat, .txt etc.... so that it knows wat is the file type ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly u use binary mode to read the info byte wise...this is defualt mode for open data set....&lt;/P&gt;&lt;P&gt;Suppose ur requirement is to read data i.e the entire string then u need to use the TExt mode...It will read the entire string till it encounters space or a delimter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;navin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 07:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681595#M886595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T07:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681596#M886596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi newbie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you can add the extension yourself if you want. Just check the string in P_FILE and add the ".dat" if it is not there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gr.&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 08:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681596#M886596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T08:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681597#M886597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i know that in the selection screen i can add the ".dat" myself but because i have receive a template from the funtional to execute the programm without the .dat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i do for the programm to accept only "/path/file" instead of "/path/file.dat"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 10:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681597#M886597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: OPEN DATASET P_FILE FOR INPUT IN BINARY MODE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681598#M886598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi newbie...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See...jst incase u receive only the path and that will be stored in some variable right...So before you giv that file name widut&lt;/P&gt;&lt;P&gt;the extension.....u can concatenate a variable l_ext which holds .dat to the variable which holds the file path...So ur final variable l_file path contains = "/path/file.dat"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;Navin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 10:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset-p-file-for-input-in-binary-mode/m-p/3681598#M886598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T10:32:32Z</dc:date>
    </item>
  </channel>
</rss>

