We have a requirement where we need to FTP IDocs saved in UNIX directory (file port)in SAP to EDI subsytem. For this we are using a UNIX shell script. There will be multiple jobs scheduled in background to generate IDocs and write to file port. Once the IDocs are created they will be FTPed using the shell script.
The problem here is there is a possibility when Script is running simultaneously some IDocs are being created. In this case the IDocs which have been partially written might also get FTPed to subsystem. How can we resolve this issue?
Any help in this regard is highly appreciated. I promise to reward helpful answers.
Message was edited by: Gajendra Bhatt