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: 

How to check th file is empty or not in the process folder in AL11

0 Kudos

1) how to check file is empty or not in the process folder(AL11 path)

2) file is empty then delete the file in process folder.(AL11)

3)file is not empty move file from process folder to archive folder.(AL11)

6 REPLIES 6

matt
Active Contributor

Is this the specification of a program you must right, or a homework question or an interview question?

What solutions have you tried?

Sandra_Rossi
Active Contributor

Interview questions are made to know if you are able to find the answers by yourself (in the Web, without asking other people to answer for you). Seems you failed. If you really didn't find any answer in the Web, you probably got some hints, so you can probably elaborate some precise questions which are not answered in the Web, or difficult to find, and explaining what you have deduced by yourself.

0 Kudos

This is my requirement.

0 Kudos

This is my requirement please give any logic about this requirement.

matt
Active Contributor
0 Kudos

We know it is your requirement.

But is it:

  • An interview question you require an answer for?
  • A homework question you require an answer for?
  • A business requirement you've been asked to meet?

And what have you tried?

Sandra_Rossi
Active Contributor

I tried to find answers for you in the Web.

1) No obvious answer for the search below, so I think the easiest solution for a beginner would be to read the file and check if it's empty.

how to check file is empty in folder AL11 site:sap.com
2) For the second question I found many relevant answers, so no need that we provide again the same answers.
delete file in AL11 site:sap.com

3) For the third question I found again many relevant answers, so no need that we provide again the same answers.

move file to another folder in AL11 site:sap.com