Get the contents of a Application Server directory

后端 未结 5 2035
醉话见心
醉话见心 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 13:04

    After reading the answers of Chris Carrthers and tomdemuyt I would say:

    1) Use RZL_READ_DIR_LOCAL if you need simple list of filenames.

    2) EPS_GET_DIRECTORY_LISTING is more powerfull - it can also list subdirectories.

    Thanks You both!

    With best Regards Niki Galanov

提交回复
热议问题