<?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/1033866#M84648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai raj, &lt;/P&gt;&lt;P&gt;let me tell u clearly, i have to download the file in application server. first i am verifying it is saved properly or not in the presentation server... after that i gonna move the file to application server. the file should be saved in text (tab delimited) file. i am able to get the file saved in text format but the tab delimited part cannot be solved by me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx for ur valuable suggestion and time....one and all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2005 13:32:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-11T13:32:09Z</dc:date>
    <item>
      <title>open dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033857#M84639</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;   i am doing a program which has to save the text file in the application server. can u tell me how to locate the file after it is been saved to the server. so that i can check whether it is saved correctly or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 05:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033857#M84639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T05:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033858#M84640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goto transaction &amp;lt;b&amp;gt;AL11&amp;lt;/b&amp;gt; then choose the file path u gave example &lt;/P&gt;&lt;P&gt;interface/...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can go and check like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also sample code for downloading to unix &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: v_filepht LIKE FILENAME-FILEINTERN, "Physical file for p_fnam2

* Open the file in application server
  OPEN DATASET v_filepht FOR OUTPUT IN TEXT MODE.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE s185 WITH v_filepht.           " File opening error
    LEAVE LIST-PROCESSING.

  ENDIF.

   LOOP AT i_logfile INTO w_logfile.
    TRANSFER w_logfile TO v_filepht.
    CLEAR w_logfile.

  ENDLOOP.

   IF sy-subrc = 0.
    WRITE:/ text-055, v_filepht, text-056. " File successfully created
  ELSE.
    WRITE:/ text-057, v_filepht.           " Error creating file
  ENDIF.

 * Closing the file

  CLOSE DATASET v_filepht.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 05:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033858#M84640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T05:27: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/1033859#M84641</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;fm EPS_GET_DIRECTORY_LISTING &lt;/P&gt;&lt;P&gt;or fm EPS_GET_FILE_ATTRIBUTES &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 05:29:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033859#M84641</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-10-10T05:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033860#M84642</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;first of all i am trying to print the values in presentation server. i have to save the values in a .txt file. i been able to get the values in a text file but i am not able to get the tabs. and also the titles should be aligned. can somebody help me in this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 10:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033860#M84642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T10:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033861#M84643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ateeq&lt;/P&gt;&lt;P&gt;to find a file on applicatoin server (the server it self) you can use some function module eg.&lt;/P&gt;&lt;P&gt;F4_DXFILENAME_TOPRECURSION&lt;/P&gt;&lt;P&gt;F4_FILENAME_SERVER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye enzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 12:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033861#M84643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T12:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033862#M84644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;do you need to save the file in txt format?&lt;/P&gt;&lt;P&gt;can you use a Excel format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, you can use the function module XXL_SIMPLE_API to export the data in data sheet, in this way you don't care about title, and layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye enzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2005 12:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033862#M84644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-10T12:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033863#M84645</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;   i have to strictly download the file in '.txt' format. i am able to get the file saved. i need to save it as cols and rows. please suggest me if u know.... thanx for ur valuable time and suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ateeq K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2005 12:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033863#M84645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-11T12:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033864#M84646</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 can save your file as CSV format using ; to separate the field of cols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2005 12:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033864#M84646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-11T12:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033865#M84647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me understand your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have a internal table which you want to store it in application server and when you read it back download it to presentation server it should be openable in excel right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also you wanted to download it in presentation server only with .txt extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes just try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: temp type string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab .&lt;/P&gt;&lt;P&gt;clear temp .&lt;/P&gt;&lt;P&gt;concatenate itab-field1 CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB&lt;/P&gt;&lt;P&gt;itab-field2 &lt;/P&gt;&lt;P&gt;CL_ABAP_CHAR_UTILITIES=&amp;gt;HORIZONTAL_TAB&lt;/P&gt;&lt;P&gt;itab-field3 into temp .&lt;/P&gt;&lt;P&gt;concatenate temp CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF into temp .&lt;/P&gt;&lt;P&gt;" now transfer tem instead of the itab work area to dataset&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you read this and download it using gui_download you can download it as .txt file but still be able to open it in excel with proper coloumn row formatting. (what i have done is created excel text tab delimited file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2005 12:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033865#M84647</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-10-11T12:34: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/1033866#M84648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai raj, &lt;/P&gt;&lt;P&gt;let me tell u clearly, i have to download the file in application server. first i am verifying it is saved properly or not in the presentation server... after that i gonna move the file to application server. the file should be saved in text (tab delimited) file. i am able to get the file saved in text format but the tab delimited part cannot be solved by me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx for ur valuable suggestion and time....one and all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2005 13:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033866#M84648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-11T13:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: open dataset</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033867#M84649</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 can upload the file, can't you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I don't understand which is your true problem: you can't write a file with the right tab or you can't interpret the tab when you're reading the file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2005 13:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-dataset/m-p/1033867#M84649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-11T13:48:59Z</dc:date>
    </item>
  </channel>
</rss>

