Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: list of file from application server

$
0
0

hi,

 

You can use:

 

DATA: it_file_dir     TYPE STANDARD TABLE OF epsfili,

           v_path         TYPE EPSDIRNAM VALUE '/usr/sap/'.

 

CALL FUNCTION 'ZEPS_GET_DIRECTORY_LISTING'

         EXPORTING

           dir_name               = v_path

         TABLES

           dir_list               = it_dir

         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.


I think the best way to select only the file list from SAP application server.


Regards,


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>