Skip to Content

FTP IDocs to EDI Subsystem

Hi,

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2006 at 02:56 PM

    Hi Gajendra,

    May be you can create two UNIX directories. One in which the IDOC is written and the other where you can copy the IDOC and then run the shell script on the other directory.

    Alternatively you can trigger some UNIX event which will then trigger the Shell script daemon. This way you can have some control on the files.

    Cheers

    VJ

    Hi,

    I am not much aware of the UNIX commands so you need to check. In our org we have similar process but we take a backup of the files to other directory and then run the shell script in the new directory.

    VJ

    Message was edited by: Vijayendra Rao

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 01, 2008 at 08:19 PM

    Resolved Myself.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.