I need to get a listing of a server-side directory inside SAP. How do I achieve this in ABAP? Are there any built-in SAP functions I can call?
Ideally I want a funct
the answer is calling function module EPS_GET_DIRECTORY_LISTING. DIR_NAME -> Name of directory FILE_MASK -> Pass '*' to get all files.
Note: This does not deal with really large file names (80 characters+), it truncates the name.