Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Working with directories

Former Member
0 Kudos

Hello!

How can I check: Directory(with subdirectories) empty or not? Are there any files inside or only directories?

Thanks

1 ACCEPTED SOLUTION

former_member181995
Active Contributor
0 Kudos

Use Fm to read directory RZL_READ_DIR if file_tbl returns any file than its not empty else empty.

Amit.

3 REPLIES 3

former_member181995
Active Contributor
0 Kudos

Use Fm to read directory RZL_READ_DIR if file_tbl returns any file than its not empty else empty.

Amit.

Former Member
0 Kudos

hi,

plz check transaction "AL11".

reg,

Former Member
0 Kudos

Hi,

Please use the below function modules to check. These may help you.

1) RZL_READ_DIR_GLOBAL

2) CD_READ_RGDIR

3) TMP_GUI_READ_DIRECTORY

Thanks,

Ravi Kanth.