Waiting for a FlatFile to load once it exists
Need to wait for a flat file to be on a share drive so it can be loaded?
The following program can be integrated in your process chain. It will check if the file is there and once it has been created it will get loaded.
Should the file not arrive in x amount of time you can trigger an email informing the responsible person that the file is missing. This can be customized with a variant.
Here is how you built the process chain: At the ABAP programm with returncode. It will wait in this case for two files to be on a specific drive.
Once there the IP will load them. If it is not there after x wait time it will send an email to the responsible person.
Create the Program ZBW_CHECK_FILE with the ABAP attached.
Create your variant.
Add the file directory and filename. The Wait sequence determines how many iterations the programm will do.
Sequence of wait time in minutes between each try for the file.
Use the program attached to this document in your process chain.
Helpful doc..
thanks Suman!
Very useful Doc. Thanks for making and sharing Martin.
Thanks
Thanks and you are welcome
thanks a lot for sharing this Martin.
you're welcome
Thanks for sharing useful information. Good Job Martin.
Srikanth.
thanks
Thanks for sharing the document Martin.Very Useful doc..
you're welcome hope you can use it..
glad it is useful
Good one Martin 🙂 . I like these kinds of solutions.
Benedict
thanks!
Great Job Martin !!!!
thanks 🙂
reallu super
tnx!
Wow... Simply the Great
thanks for the comments
Great !! Thanks for share
thanks!
Really value added document! thanks for sharing.
you're welcome hope you can use it
Thanks for sharing
you're welcome
Valuable document..!! Thank You
thanks for commenting on it hope you can use it..
Good document..!
thnx!
Good Document Martin..thanks
Thanks for your comment
veru helpful...
Thanks for sharing..:)
good hope you can use it..
Good one, thanks for sharing.
Thanks for you comment glad you like it
Helpful document...Nicely presented.
thanks I appreciate it
valuable Documents...Great efforts..
Thanks for sharing ur hard work will surely be helpful for us...:)
hi prema
thanks for your comments glad you like it..
Nice content, thanks for sharing!
thanks you're welcome...
We can use the same as template every time its needed and can approach
Martin Grobwhenever you need clarification 😀
I'm around if you have a question on that 🙂
Martin
Good document,thanks for sharing with us 🙂 🙂 🙂 🙂
Regards,
Giri
thanks you're welcome
Hi,
Nice document.
Nice Document Martin.
Thanks for Sharing with us..
Regards,
Abdullah
Really Nice document 🙂
Thanks Martin !!
you're welcome
Thanks for sharing. Valuable.
I have a doubt here :
1. What is the frequency of checking the file at the application layer and how.
2. Where do we need to maintain the wait time for the same.
Thanks
Hi Kamal
Thanks for your feedback.. Have a look at the last screenshot when you create the variant you have two parameters The Wait sequence determines how many iterations the programm will do and Sequence of wait time in minutes between each try for the file.
hope that clarifies
Martin
Nice Document...,Keep it up... 🙂
thanks. I try 🙂
Nice document
Useful Document
Thanks for sharing wonderful blog.
Thanks for sharing Martin.. 🙂
Regards,
Poorna
Very helpful, thanks for sharing.
Thanks for sharing the doc. We need to create table ZRSPC_REP_STATUS, can you please elaborate on that.
Hi Martin,
What varient should I put if I want the program to keep iterating until it finds a file.the wait time between each iteration could be every 10 minutes.?
should be 3600 seconds
Hi Martin,
I can't find the program attached to this document. Could you please share the program.
Thank you very much.
Praveen