Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Checking the existence of a file b4 creating a file by the same name

Hi All,

I hav a scenario where I hav to check for the existence of a file by the same name (<b>XXXFile</b> say). If i don't hav any file by the name <b>XXXFile</b>, then i hav to create a file by the name <b>XXXFile</b> at that location. If it already exists, then i hav to wait till it gets deleted (takes hardly 1 min to get deleted).

Can any one tell me :

How to do this without using operating system command?

And using operating system command?

Any help wud be appreciated.

Thnx in Adv


Former Member
Not what you were looking for? View more on this topic or Ask a question