<?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 Unix command question on TAB content in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unix-command-question-on-tab-content/m-p/3622951#M872804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We found the following ABAP statemenet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: our_unix_path_and_file_name(64) TYPE c,
           v_unixcmd(255) TYPE c,
           result(255) TYPE c OCCURS 100 WITH HEADER LINE.

CONCATENATE 'ls -al' our_unix_path_and_file_name INTO v_unixcmd SEPARATED BY space.

CALL 'SYSTEM' ID 'COMMAND' FIELD v_unixcmd
                ID 'TAB'     FIELD result-*sys*.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is: is result an internal table? if it's an internal table, then why it's defined as type c?  And also what is included in this result after calling this UNIX command? it will list all the file content?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 2, 2008 12:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2008 16:44:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-02T16:44:21Z</dc:date>
    <item>
      <title>Unix command question on TAB content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unix-command-question-on-tab-content/m-p/3622951#M872804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We found the following ABAP statemenet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: our_unix_path_and_file_name(64) TYPE c,
           v_unixcmd(255) TYPE c,
           result(255) TYPE c OCCURS 100 WITH HEADER LINE.

CONCATENATE 'ls -al' our_unix_path_and_file_name INTO v_unixcmd SEPARATED BY space.

CALL 'SYSTEM' ID 'COMMAND' FIELD v_unixcmd
                ID 'TAB'     FIELD result-*sys*.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is: is result an internal table? if it's an internal table, then why it's defined as type c?  And also what is included in this result after calling this UNIX command? it will list all the file content?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 2, 2008 12:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 16:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unix-command-question-on-tab-content/m-p/3622951#M872804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T16:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unix command question on TAB content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unix-command-question-on-tab-content/m-p/3622952#M872805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes result is an internal table with lines of 255 chars and an initl allocation for 100 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It  will contain the output of the ls - al command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good way to check is to set a breakpoint in the code and then use the debugger to see what result looks like.&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;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 16:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unix-command-question-on-tab-content/m-p/3622952#M872805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T16:51:59Z</dc:date>
    </item>
  </channel>
</rss>

