<?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 text file open in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644789#M609071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: &amp;lt;b&amp;gt;DATEI TYPE STRING&amp;lt;/b&amp;gt; value 'C:\TEST.XLS'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DOCUMENT = DATEI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take your on value for DATEI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2007 13:06:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-10T13:06:21Z</dc:date>
    <item>
      <title>Regarding text file open</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644787#M609069</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;   I can able to save comma delimited TEXT file in specified path but at the same time i want to open that automatically. For XCEL sheet I able to do using following function modules but not for TEX file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please help me...thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REGISTRY_GET'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        key     = 'protocol\StdFileEditing\Server'&lt;/P&gt;&lt;P&gt;        section = 'ExcelWorkSheet'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        value   = excel_command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dw_file1 = file path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_EXECUTE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        commandline    = dw_file1&lt;/P&gt;&lt;P&gt;        program        = excel_command&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        frontend_error = 1&lt;/P&gt;&lt;P&gt;        no_batch       = 2&lt;/P&gt;&lt;P&gt;        prog_not_found = 3&lt;/P&gt;&lt;P&gt;        illegal_option = 4&lt;/P&gt;&lt;P&gt;        OTHERS         = 5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 10:33:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644787#M609069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T10:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding text file open</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644788#M609070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IN WS_EXECUTE, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass the filepath in CommandLine and pass "EXCEL" to program. It will do the trick for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 12:57:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644788#M609070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T12:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding text file open</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644789#M609071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: &amp;lt;b&amp;gt;DATEI TYPE STRING&amp;lt;/b&amp;gt; value 'C:\TEST.XLS'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD CL_GUI_FRONTEND_SERVICES=&amp;gt;EXECUTE&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      DOCUMENT = DATEI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take your on value for DATEI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 13:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644789#M609071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T13:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding text file open</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644790#M609072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Eg. there is a file&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  d:\abc.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  and now u want to open directly with excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Just copy paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_RUN'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;   COMMAND          = 'EXCEL'&lt;/P&gt;&lt;P&gt;   PARAMETER        = 'D:\ABC.TXT'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CD               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURNCODE       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&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>Fri, 10 Aug 2007 13:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644790#M609072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T13:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding text file open</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644791#M609073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ...I want to open TXT format file ....I used following FM's to open Xcel sheet...but  i don't know what are the values should pass for "key" and "section"&lt;/P&gt;&lt;P&gt;in the FM "REGISTRY_GET" to open TXT format file. &lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'REGISTRY_GET'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        key     = 'protocol\StdFileEditing\Server'&lt;/P&gt;&lt;P&gt;        section = 'ExcelSheet'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        value   = excel_command.&lt;/P&gt;&lt;P&gt;    CONCATENATE '"' dw_file1 '"' INTO dw_file1.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'WS_EXECUTE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        commandline    = dw_file1&lt;/P&gt;&lt;P&gt;        program        = excel_command&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        frontend_error = 1&lt;/P&gt;&lt;P&gt;        no_batch       = 2&lt;/P&gt;&lt;P&gt;        prog_not_found = 3&lt;/P&gt;&lt;P&gt;        illegal_option = 4&lt;/P&gt;&lt;P&gt;        OTHERS         = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to open TXT format file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 13:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644791#M609073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T13:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding text file open</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644792#M609074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ...I want to open TXT format file ....I used following FM's to open Xcel sheet...but i don't know what are the values should pass for "key" and "section"&lt;/P&gt;&lt;P&gt;in the FM "REGISTRY_GET" to open TXT format file. &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REGISTRY_GET'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;key = 'protocol\StdFileEditing\Server'&lt;/P&gt;&lt;P&gt;section = 'ExcelSheet'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;value = excel_command.&lt;/P&gt;&lt;P&gt;CONCATENATE '"' dw_file1 '"' INTO dw_file1.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_EXECUTE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;commandline = dw_file1&lt;/P&gt;&lt;P&gt;program = excel_command&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;frontend_error = 1&lt;/P&gt;&lt;P&gt;no_batch = 2&lt;/P&gt;&lt;P&gt;prog_not_found = 3&lt;/P&gt;&lt;P&gt;illegal_option = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how to open TXT format file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 13:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-text-file-open/m-p/2644792#M609074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T13:12:05Z</dc:date>
    </item>
  </channel>
</rss>

