<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146593#M452842</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;try this..it will be useful in app server only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'c:\temp' &amp;lt;b&amp;gt;'\XYZ.xml'&amp;lt;/b&amp;gt; INTO filein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;path = c:\temp\xyz.xml.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2007 06:44:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-17T06:44:30Z</dc:date>
    <item>
      <title>Open Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146592#M452841</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;We have a typical problem currently, When we used OPEN DATASET to write a file in the local C: drive in a particular folder the file is not gettting created into that folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below we have pasted the sample code used to write the file in the particular folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : filein(128) TYPE C.&lt;/P&gt;&lt;P&gt;CONCATENATE 'c:\temp' 'XYZ.xml' INTO filein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN DATASET filein FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      LOOP AT IT_XML_OUT INTO WA_XML_TABLE.&lt;/P&gt;&lt;P&gt;        TRANSFER WA_XML_TABLE TO filein.&lt;/P&gt;&lt;P&gt;        CLEAR WA_XML_TABLE.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CLOSE DATASET filein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE E008(Z01).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are not getting any error message while processing the loop, but the file is not created in that specific folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this due to any Unicode Problem or any other problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is to 1st write the file in C drive and then write this same file into the application server into a specific folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help and Suggestions will be much Appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146592#M452841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T06:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146593#M452842</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;try this..it will be useful in app server only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'c:\temp' &amp;lt;b&amp;gt;'\XYZ.xml'&amp;lt;/b&amp;gt; INTO filein.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;path = c:\temp\xyz.xml.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146593#M452842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T06:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146594#M452843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. OPEN Dataset &lt;/P&gt;&lt;P&gt;   is for working with files on APPLICATION SERVER&lt;/P&gt;&lt;P&gt;  (AND NOT FRONT-END MACHINE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For local machine,&lt;/P&gt;&lt;P&gt;  use &lt;/P&gt;&lt;P&gt;GUI_DOWNLOAD FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reagrds,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146594#M452843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T06:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146595#M452844</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;To download to presentation server use GUI_DOWNLOAD. and then use the OPEN DATASET and then it will get uploaded in to the application server...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers,.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:47:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146595#M452844</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-04-17T06:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146596#M452845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   u cannot save files to ur local drives using open n close dataset use gui_download instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open n close dataset places the data in application layer n not presentation layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kiran kumar k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146596#M452845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T06:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146597#M452846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit Mittal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is we have to create the file in the local folder and after that 1ly we have to upolad that copy into the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And moreover this report is to be run in background, and if we use GUI DOWNLOAD we cant schedule this report in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if i am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other possible way to overcome this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146597#M452846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T06:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146598#M452847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Open dataset is used to  enable files to be processed on the application server using ABAP statements. i  think it will not  work on local files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 06:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146598#M452847</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2007-04-17T06:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146599#M452848</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;Can we use GUI Download before Open Dataset in a report program and still can that report be scheduled in a background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there any alternative method of downloading the file to local and then copy that file to application server and this tht 2 in a background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help and Suggestions will be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 07:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146599#M452848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T07:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Open Dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146600#M452849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If the program is supposed to run in background,&lt;/P&gt;&lt;P&gt;    then i don't see much possibility of putting a file&lt;/P&gt;&lt;P&gt;    on front-end machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; (Bcos in background, there is no front-end machine linked to session)&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 07:24:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/2146600#M452849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T07:24:55Z</dc:date>
    </item>
  </channel>
</rss>

