06-29-2011 3:03 PM
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
06-29-2011 3: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
06-30-2011 4:19 PM
06-30-2011 7:10 PM
Hello hema,
I will explain in more detail.
Option 1:-
You can schedule a thirt party FTP tool JOB (not SAP JOB) like install a FTP server in your SAP application server .
Option 2:-
Another option is do a folder Mounting( This is an BASIS activity in the SAP Application Server OS level activity) in the SAP 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
07-01-2011 5:57 AM
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
06-30-2011 4: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....
06-30-2011 5:28 PM