Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Recognizing new file to trigger event

Former Member
0 Likes
610

Is it possible to trigger an event in SAP once a file is posted in a certain folder? This event will then be used to trigger a background batch job.

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
525

This event is best being triggered from outside SAP using the "sapevt" command. Whatever process copies the file can probably call a shell script (or similar) containing that command after a successful copy.

Alternative is a polling job in SAP that runs every x minutes and checks for new files.

Thomas

Is it possible to trigger an event in SAP once a file is posted in a certain folder? This event will then be used to trigger a background batch job.

1 REPLY 1
Read only

ThomasZloch
Active Contributor
0 Likes
526

This event is best being triggered from outside SAP using the "sapevt" command. Whatever process copies the file can probably call a shell script (or similar) containing that command after a successful copy.

Alternative is a polling job in SAP that runs every x minutes and checks for new files.

Thomas