<?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: Using Unix command in ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-unix-command-in-abap/m-p/2048355#M421977</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;PRE&gt;&lt;CODE&gt;
DATA: L_DIRNAME LIKE EPSF-EPSDIRNAM,
      L_FILEMASK LIKE EPSF-EPSFILNAM.
 
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
    EXPORTING
      dir_name                  = l_dirname
      file_mask                 = l_filemask
* IMPORTING
*   DIR_NAME                    =
*   FILE_COUNTER                =
*   ERROR_COUNTER               =
    TABLES
      dir_list                  = pi_filelist
 EXCEPTIONS
   invalid_eps_subdir           = 1
   sapgparam_failed             = 2
   build_directory_failed       = 3
   no_authorization             = 4
   read_directory_failed        = 5
   too_many_read_errors         = 6
   empty_directory_list         = 7
   OTHERS                       = 8.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Mar 2007 15:31:33 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2007-03-17T15:31:33Z</dc:date>
    <item>
      <title>Using Unix command in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-unix-command-in-abap/m-p/2048354#M421976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using " Call 'SYSTEM' id 'COMMAND' field UnixCommand id 'TAB' field itFiles-&lt;STRONG&gt;SYS&lt;/STRONG&gt;"  to read number of files in folder, it works fine if number of line are around 200 but if its more then that it doesn't any file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  UnixCommand = 'ls -ld'.&lt;/P&gt;&lt;P&gt;  UnixCommand+7(45) = /abap/.&lt;/P&gt;&lt;P&gt;  call 'SYSTEM' id 'COMMAND' field UnixCommand&lt;/P&gt;&lt;P&gt;                id 'TAB' field itFiles-&lt;STRONG&gt;SYS&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2007 07:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-unix-command-in-abap/m-p/2048354#M421976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-17T07:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unix command in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-unix-command-in-abap/m-p/2048355#M421977</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;PRE&gt;&lt;CODE&gt;
DATA: L_DIRNAME LIKE EPSF-EPSDIRNAM,
      L_FILEMASK LIKE EPSF-EPSFILNAM.
 
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
    EXPORTING
      dir_name                  = l_dirname
      file_mask                 = l_filemask
* IMPORTING
*   DIR_NAME                    =
*   FILE_COUNTER                =
*   ERROR_COUNTER               =
    TABLES
      dir_list                  = pi_filelist
 EXCEPTIONS
   invalid_eps_subdir           = 1
   sapgparam_failed             = 2
   build_directory_failed       = 3
   no_authorization             = 4
   read_directory_failed        = 5
   too_many_read_errors         = 6
   empty_directory_list         = 7
   OTHERS                       = 8.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2007 15:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-unix-command-in-abap/m-p/2048355#M421977</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-17T15:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unix command in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-unix-command-in-abap/m-p/2048356#M421978</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 also use FM RZL_READ_DIR_LOCAL to get the files for the given directory..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Mar 2007 15:37:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-unix-command-in-abap/m-p/2048356#M421978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-17T15:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using Unix command in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-unix-command-in-abap/m-p/2048357#M421979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Atul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 07:26:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-unix-command-in-abap/m-p/2048357#M421979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-20T07:26:39Z</dc:date>
    </item>
  </channel>
</rss>

