<?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: Regarding Dataset in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-dataset/m-p/4772123#M1118530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Can you please tell me whether we can use DATASET statemnt for checking for a file in background whthether it exists or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Yes you can use the DATASET statement in background. In fact we use DATASET when we have&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;problems storing file on the frontend.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You can use OPEN DATASET statement and depending upon the SY-SUBRC value you will&lt;/EM&gt; &lt;EM&gt;understand whether the file exists or not.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In cae the file does not exixts then how can i create a file and if the file exixts then i want to add some ros in the file.how can i do this?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To create a file use OPEN DATASET..... FOR INPUT.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To add lines to the dataset USE OPEN DATASET ..... FOR APPENDING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Is there any way by which i can change the file name using dataset statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I doubt whether you can change the file name. As far as I know the answer is NO.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2008 04:33:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-18T04:33:26Z</dc:date>
    <item>
      <title>Regarding Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-dataset/m-p/4772121#M1118528</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;1) Can you please tell me whether we can use DATASET statemnt for checking for a file in background whthether it exists or not.&lt;/P&gt;&lt;P&gt;2) In cae the file does not exixts then how can i create a file and if the file exixts then i want to add some ros in the file.how can i do this?.&lt;/P&gt;&lt;P&gt;3) Is there any way by which i can change the file name using dataset statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to do all the things in background ,nothing is going to be done in fore ground&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;waiting for your replies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 04:21:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-dataset/m-p/4772121#M1118528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T04:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-dataset/m-p/4772122#M1118529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everything is possible which you asked here........and this also possible that you are doing R&amp;amp;D on dataset without reading its F1 help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 04:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-dataset/m-p/4772122#M1118529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T04:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-dataset/m-p/4772123#M1118530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Can you please tell me whether we can use DATASET statemnt for checking for a file in background whthether it exists or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Yes you can use the DATASET statement in background. In fact we use DATASET when we have&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;problems storing file on the frontend.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You can use OPEN DATASET statement and depending upon the SY-SUBRC value you will&lt;/EM&gt; &lt;EM&gt;understand whether the file exists or not.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) In cae the file does not exixts then how can i create a file and if the file exixts then i want to add some ros in the file.how can i do this?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To create a file use OPEN DATASET..... FOR INPUT.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To add lines to the dataset USE OPEN DATASET ..... FOR APPENDING&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Is there any way by which i can change the file name using dataset statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I doubt whether you can change the file name. As far as I know the answer is NO.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 04:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-dataset/m-p/4772123#M1118530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T04:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-dataset/m-p/4772124#M1118531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please let me know the codes b which i can do all this,i have read the help file but i dnt think i got much from it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you can please help me ,it will be a great help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 04:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-dataset/m-p/4772124#M1118531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-18T04:33:45Z</dc:date>
    </item>
  </channel>
</rss>

