Skip to Content

Picking up a file as soon as it is kept in the folder on the server

Hi Guys,

Is there a way that I can pick up a file as soon as it is placed in a folder..

I do not want to schedule a background program to keep on checking for files

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2011 at 02:29 PM

    Hello hema,

    You can schedule a FTP JOB or install a FTP server in your SAP application server .

    Another option do a folder Mounting the the Operating system level. Folder that you are mounting will be an another mechine / server. But SAP program can do open dataset and can write the file directlt to that folder where you that file to write.

    You can take help from BASIS for this functionality.

    Hope this answers your question.

    Thanks,

    Greetson

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 30, 2011 at 03:19 PM

    i did not get this reply..

    can anyone suggest something

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Hema,

      You could try with the below option,

      1) Create a Batch file(DOS) that will trigger the SAP EXE -> SAPEVT.EXE.

      2) Then schedule it with the windows scheduler(for every 30 seconds or whatever is the frequecy).

      3) Create an event in SM62, this will be called by the batch file that you have created above.

      4) Create a background job which will be started on the triggering of the above event.

      So, once a file is dropped in the folder, the batch file will trigger the event and the event will start the background job that will read this file.

      Regards,

      Chen

  • author's profile photo Former Member
    Former Member
    Posted on Jun 30, 2011 at 03:51 PM

    WE have processes that raise an event, with that firing off a program. We also have situations where the arrival of a file triggers a process that calls an FM in SAP, supplying a file name....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 30, 2011 at 04:28 PM

    Where is the file? On app server or local PC?

    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.