Get the contents of a Application Server directory

后端 未结 5 2037
醉话见心
醉话见心 2020-12-09 12:37

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

5条回答
  •  执念已碎
    2020-12-09 12:57

    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.

提交回复
热议问题