Skip to Content
2
Jul 15, 2016 at 09:19 PM

Directory listing from application server, any BAPI or "released" function

176 Views

Dear all,

We are trying to get a list of the files located in certain directory. The directory itself is located in the application server.

We tried module function " EPS_GET_DIRECTORY_LISTING" but it has 2 problems:

- it is not released

- it requires authorizations for objects related to Change and Transport System (off course, it is not desirable assigning these authorizations to business

users)


Using a system command to get the list does not seem a good idea neither (somehow this "solution" go against the isolation of application layer and OS layer).


Using the internal functions employed by AL11 (CALL 'C_DIR_READ_START', CALL 'C_DIR_READ_FINISH' and CALL 'C_DIR_READ_NEXT') could be even worst.


Anybody knows about a RELEASED function or BAPI intended to get this list ?


I agree with the comment from Alejandro Bindi at this thread:


"To me is unbelievable that still SAP didn't provide a properly released general purpose f.m. without this limitations for this so common requirement."


Thanks in advance,


Pedro Restrepo